Hi everyone! So I finally took the dive and gave Nim a whirl, and I did so using my favorite music synthesizer system, SuperCollider. SC is basically a signal processing system that allows you to arrange a bunch of UGens, processing blocks written in C++, using a scripting language. It's very exciting because it's the most hackable and the most realtime of the music systems I am aware of.
It works really well! The Nim code is still unsafe and very gritty, but as a proof of concept, it does just fine. Notably, writing realtime SuperCollider UGens requires you to use a subset of C++, sticking to primitive data types and stack memory. Turning off the garbage collector with --gc=none works very well to warn about unsafe memory- and that's very neat because GC memory is exactly what you want to avoid when writing realtime code, so you get a compiler warning. The details are here: [https://github.com/carlocapocasa/scnim](https://github.com/carlocapocasa/scnim) Thanks for creating Nim! Carlo
