Hacker News new | past | comments | ask | show | jobs | submit login

Beautiful site! I've been watching Gleam and I think it will be my preferred Beam language.

https://tour.gleam.run/ How does Gleam run in the browser?




Looks like it's using the WebAssembly build of the compiler which compiles to JavaScript:

https://github.com/gleam-lang/language-tour/blob/6d69cee90a3...

Although currently it's running v0.34.1 and not v1.0.0 (there doesn't seem to be a v1.0.0 wasm build yet): https://github.com/gleam-lang/language-tour/blob/6d69cee90a3...


> How does Gleam run in the browser?

There was some detail in its announcement in January: https://gleam.run/news/gleams-new-interactive-language-tour/


Links says "Gleam compiles to either Erlang or JavaScript" which I didn't realize. Neat!




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: