Hey! I hope this is the right place, apols if not. From late last year to sorta mid this year I worked on an experimental language that compiles down to WASM. The result of that is a tiny compiler at about the same conceptual level as C. I even ported Doug Lee's malloc into it (but I will not lie, I have hardly tested the port at all so it probably has many bugs). It has you know generics and linker support and some other things, but honestly it's not much more than a toy.
I showed it to some people who asked me where I was going with it, and I didn't know; so I put together a whitepaper that I think describes where it should go, which is a much higher level language than C. Based on what I built, I am fairly sure that everything in the whitepaper is buildable right now, except that it relies on a garbage collector which the prototype does not (using malloc as it does).
So I am looking for feedback, really, primarily on the whitepaper here but if you are curious the full repo contains the thing I built, including the malloc port. (This was my first Rust project so the code is probably janky as heck - sorry if it grinds your gears). Thanks for taking the time to read this!
Last updated: Nov 22 2024 at 16:03 UTC