4 ms·
Pleased to see this release, looking forward to getting JS compilation soon too. Exciting times.
by crowdhailer 5y ago
Pleased to see this release, looking forward to getting JS compilation soon too. Exciting times.
- lpil 5y agoAye, I am very much looking forward to that feature
- dsiegel2275 5y agoI wasn't tracking that JS compilation was an intended feature. Is there any documentation regarding a plan / expected timeline for that?
- lpil 5y agoNothing has been officially announced but it is something that is being worked on. There is a milestone for it on GitHub https://github.com/gleam-lang/gleam/milestone/17 https://github.com/gleam-lang/gleam/milestone/17 I expected we'll have an initial offering within the next half year.
- dsiegel2275 5y agoThat is amazing. Thank you!
- ergl 5y agoCurious, how are you planning to translate processes to the browser?
- lpil 5y agoWe likely will not attempt to port the Erlang concurrency model to the browser, at least not to start. Some Gleam users have been experimenting with an actor model library in JavaScript, this could be the basis of future research. More generally, Gleam doesn't have any concurrency primatives in the core language currently. We have a type safe OTP library, but it implemented in userland with a core of ~200 lines of Erlang rather than being built in to the compiler.