SuperCollider 4: First Thoughts

Hello,

I’ve been working for a while now on a drop-in replacement for sclang called Hadron. Hadron is a complete rewrite for sclang and is designed as a JIT compiler.

I originally started it over a year ago mainly as a way to teach myself more about compilers by working on a non-trivial project. I took a long break due to personal reasons, but have recently been working on it consistently. I’ve been having a lot of fun defining the basic architecture and building (and re-building) some of the fundamental components of the compiler.

I’m not ready to accept contributions to either the design or code, but as the project has started to take shape it’s made me wonder if it could be useful to the SC community. A friend called my attention to this thread (I normally lurk on Discord and Slack and only rarely browse this forum), and I thought it might be time to say hello.

My plan is to work on Hadron independently until enough of the design is established and the test infrastructure is in place that I could invite contributions from other folks. I would estimate this will take another 6 months of work at least. If you have questions about Hadron I would first invite you to read through some of the requirements and other documentation in the docs/ directory in the Hadron repository. That’s the best place to track the development of the project as well. I have limited time to respond to online communications here so apologies in advance if there’s a long delay in responses.

My goal of communicating about Hadron now is mostly to reduce the chances of duplicate effort. If you’ve been working in secret on a JIT compiler replacement for sclang please do get in touch, perhaps we can join forces!

Cheers!

8 Likes