This is Twey's TypePad Profile.
Join TypePad and start following Twey's activity
Twey
Recent Activity
No, Javascript does not use multiple threads, and so programming ‘concurrency’ in Javascript is greatly simplified — your ‘other thread’ is guaranteed to run only when no other code is running, so you don't have to worry about it executing after a check, or halfway through a statement, or during an assignment, or part-way through a procedure.
I think the general consensus is simply that imperative programming is fundamentally the wrong paradigm for dealing with concurrent applications. Functional (and semi-functional — Erlang) languages are making leaps and bounds in this area (such as Erlang's actor model, or Haskell's STM), while ‘traditional’ imperative languages seem to have reached a local maximum. Concurrency in these models does still require some thought, but overall I would say that there are a lot less opportunities for horrible bugs to slip in.
Threading, Concurrency, and the Most Powerful Psychokinetic Explosive in the Universe
Back when I was writing for Tech Report, I had an epiphany: the future of CPU development had to be multiple cores on the same die. Even in 2001, a simple extrapolation of transistor counts versus time bore this out: what the heck are they going to do with those millions of transistors they can...
Subscribe to Twey’s Recent Activity
