Arc Forumnew | comments | leaders | submitlogin
A self-hosting Scheme to WebAssembly compiler (github.com)
2 points by kinnard 1925 days ago | 1 comment


3 points by swiley 1922 days ago | link

I was a bit shocked when I saw this and wondered how they’d handled tail call optimization since there’s no nice way to do a computed jump in web assembly. It turns out it relies on the new tailcall extension to web assembly that isn’t enabled yet in most browsers.

Still this is pretty cool! A lot of languages have web assembly compilers but few seem to make self hosting a priority.

-----