3 ms·
Just waiting for the day when someone launches a js version then the whole world is gonna be coding on erlang vm I think.
by andrewvijay 11y ago
Just waiting for the day when someone launches a js version then the whole world is gonna be coding on erlang vm I think.
- sjtgraham 11y agoI doubt it. IMO Erlang is fundamentally a different model of programming than JS and what about mutability and things such as pattern matching? It quickly becomes apparent that it would not be much like JS if it was to take advantage of all of Erlang's best bits.
- vdaniuk 11y agoElixirscript is a thing though and it's being actively developed https://github.com/bryanjos/elixirscript https://github.com/bryanjos/elixirscript
- andrewvijay 11y agoIt's a good one to know about. Thanks!
- koder2016 11y agoExactly, Erlang is a DSL for distributed applications. There is not much point to use it for anything else.
- tazjin 11y agoErlang and related languages are applicable for most long-running applications. The amount of people who actually use true distributed Erlang is probably small, because you get many of the benefits either way.
- seiji 11y agoErlang is a DSL for weeding out smart programmers from drone programmers.
- andrewvijay 11y agoConst keyword for mutability and I have no idea about pattern matching. Just the js syntax would be great I guess. And special keywords to match what misses or misbehaves . Just a try. Won't be bad!
- rvirding 11y agoThere have been "hints" that why don't I implement JS on top of erlang as well. Would love to try, and some of the problems have been solved in my luerl implementation, but the main problem is time, the lack of it.
- andrewvijay 11y agoJust give it a try and I think even if it's a limited subset of js it's still worth the try. If I can code in js on erlang vm for making distributed apps then it's going to be fun. Plus noobs like me get to know some stuff! Just ignore the naysayers and go for it! :D