Reputation
2,163
Next privilege 2,500 Rep.
Create tag synonyms
Badges
6 13 30
Impact
~108k people reached

  • 0 posts edited
  • 2 helpful flags
  • 88 votes cast
Dec
21
comment Using a “strong” type system in the real world, say, for large-scale web-apps?
I am probably one of the "Haskell" guys who hate types the most (so much I wrote my own version of Haskell without types, after all) - but for different reasons most people do. When it comes to software engineering, I, too, have that feeling that, when GHC is happy, your program just works. Haskell-like type systems are the ultimate tool not only for detecting humanish mistakes in programming, but for keeping huge codebases under your control. (I always remember Giovanni's justification to Mewtwo's armors whenever I have to fix type erros.)
Nov
18
awarded  Stellar Question
Nov
15
awarded  Popular Question
Oct
6
awarded  Notable Question
Sep
13
awarded  Popular Question
May
22
awarded  Popular Question
May
18
awarded  Yearling
Mar
11
asked What is the relationship between “flux” and pure functional reactive programming?
Feb
24
awarded  Popular Question
Feb
4
awarded  Popular Question
Dec
31
comment What is the correct way to publish a runtime? Should it be a singleton?
Same issue, sending a pointer to a struct or making it singleton... not sure what is better for C, now.
Dec
31
comment What is the correct way to publish a runtime? Should it be a singleton?
Hmm, fair enough. I guess that is a good approach. I might ask the question again in C, though, since there is a C backend and closures aren't available there.
Dec
31
comment What is the correct way to publish a runtime? Should it be a singleton?
Yes I guess that can be done.
Dec
31
comment What is the correct way to publish a runtime? Should it be a singleton?
If I get the idea correctly, as the "runtime" is hidden inside a closure, then the functions generated after the first one will not be able to access the same "runtime". That is, if I call "eval" on your code twice, it creates two runtimes.
Dec
31
comment What is the correct way to publish a runtime? Should it be a singleton?
It is a considerable slowdown when you have things such as "runtime.write(a,b)" inside a inner loop that runs a million times. JQuery accessors are never used in such inner loops, but for a compiled code, that would happen anytime you have a nested loop.
Dec
31
comment What is the correct way to publish a runtime? Should it be a singleton?
The problem is that functions can be compiled during the program execution. In this case it wouldn't work. I'm sorry, I didn't predict your answer!
Dec
31
asked What is the correct way to publish a runtime? Should it be a singleton?
Sep
16
awarded  Popular Question
Sep
2
comment Why aren't we building and using parallel processors *meant* for general computation?
Maybe not an average consumer, but I'm programming a computing server for a specific application and the benefit of having an actual parallel computer I could program into would be immeasurable.
Sep
2
asked Why aren't we building and using parallel processors *meant* for general computation?