White house urges developers to avoid c & c++?

That would be great because Haskell GC, as expected, makes real-time audio just to achieve a hobbyist level.

This is something I’ve been curious about lately. (And maybe it should be split into its own thread?)

Back in 1996, real-time code that didn’t even call malloc was absolutely essential for real-time music performance.

…Is that still true today?

This chart is 4 years old and it indicates a roughly 10,000x transistor count compared to when SC was first released:

Anecdotally, I’ve written lots of didn’t-even-try-to-optimize Haskell code which plays music in real time without hiccups.

Could that scale up? I know in theory worst-case performance could cause xruns, but how much is this an actual worry?

(Note I’m not arguing we should rewrite SC in a garbage-collecting language! I’m just curious how limited by real time we still are as computer musicians.)

3 Likes