5 ms·
I'm charmed by projects like this, thanks for sharing. What I want to see is a program like this, with very simple assembly/object code, and very fast compilat
by samatman 4y ago
I'm charmed by projects like this, thanks for sharing.
What I want to see is a program like this, with very simple assembly/object code, and very fast compilation, and uses DynASM to build the executable in-memory.
Then use a tracing JIT to make it fast.
Having good, tiny, reference C compilers is a prerequisite for that, so I'm always happy to see work in that field.
- samsquire 4y agoI am interested in this too. I would do different tradeoffs. I am more interested in optional garbage collection, the parallelism and async story in the language such as threading and coroutines or both together. I suspect combining garbage collection, exceptions, closures, tail call optimisation, parallelism, JIT compilation and coroutines is difficult to do orthogonally. On eatonphil's discord someone recently shared this link: This is a framework for building high performance language runtimes https://github.com/eclipse/omr https://github.com/eclipse/omr I am currently implementing a programming language and compiler and interpreter in my multiversion-concurrency-control repository. https://github.com/samsquire/multiversion-concurrency-control https://github.com/samsquire/multiversion-concurrency-contro... I am doing codegen that is interpreted by my imaginary interpreter. My assembly has primitives for thread safe multithreading.
- foonathan 4y agoI'm currently writing an interpreter for C, I plan on adding a JIT at some point as well: https://github.com/foonathan/clauf https://github.com/foonathan/clauf