The WebRacket language is a subset of Racket that compiles to WebAssembly

github.com

58 points by mfru 4 days ago


publicdebates - 18 minutes ago

I read the WASM spec and became somewhat of an expert in it for the purpose of eventually designing a low-level language specifically for wasm, to be the most efficient and lowest-level language you could possibly have for wasm, and then gradually add high level concepts into it to make it more convenient. Kind of like building C on top of asm, and then gradually evolving it into C++. That project never came about though due to lack of community interest and time on my part, but I like seeing languages that take a fresh look at how to integrate with wasm using novel techniques to aim for maximal efficiency.

gcr - 19 minutes ago

Is there any shared lineage between this and Whalesong, a previous Racket->JS compiler?

Of course both projects have the same maintainer if I recall, Jens Axel Søgaard is a rockstar :)

noelwelsh - 2 hours ago

I love this. Racket is the future we were promised.

apitman - an hour ago

Hoot is another interesting one: https://spritely.institute/hoot/

KarenDaBass - 17 minutes ago

Is a (Web)Racket engineer a racketeer?

dfajgljsldkjag - 2 hours ago

It is interesting to see another language target WebAssembly especially one like Racket. The fact that it compiles to a subset of the language limits its utility right now. I think it is a neat proof of concept but it needs full language support.

titzer - 2 hours ago

I noticed the --expose-gc. Does this mean it's using the (now standardized) Wasm GC feature?