2009-09-08

Why I don't want lightweight threads in my programming language

  1. Integration with your virtual machine, be it Linux, the JVM, or Python, is integral to success. None of these platforms support lightweight threads, so you'll always be "foreign", and not "native" (cf. Erlang C nodes).
  2. Scheduling should be done in the OS. If your OS' scheduler sucks, make it better, instead of implementing your own scheduler.
  3. RAM/SSD storage means that we'll probably be CPU-bound in the future.
  4. Real programming languages let you implement your own concurrency models. Try that with Erlang.

1 comment:

Anson MacKeracher said...

"Scheduling should be done in the OS. If your OS' scheduler sucks, make it better, instead of implementing your own scheduler."

I could not agree more!