Earlier quoted context omitted.
If all you need in js/wasm is the functional layer of the language, that could be easy. If you want to add processes, that could be very hard. If you also want the supervisors, that's difficult but probably not has much as adding Erlang style processes.
What's stopping a compile of Erlang to JS via LLVM and Emscripten and just taking the expected performance hit?
Elixir v1.4.0 released
11–20 of 61 posts
Re: Elixir v1.4.0 released
#12Just lost interest. I thought Elixir was supposed to learn from Ruby.
Re: Elixir v1.4.0 released
#13> [Kernel] Deprecate support for making private functions overridable. Overridable functions must always be public as they must be contracts Just lost interest. I thought Elixir was supposed to learn from Ruby.
Edit: Not a shallow dig, but I had lots of fun using a 3rd party library that had locked down a lot of methods which prevented some sales driven features...
Re: Elixir v1.4.0 released
#14Great idea, having to track down a merge conflict that may have been committed can be a drag.
Re: Elixir v1.4.0 released
#15I'm not talking about concurrency, etc. Just raw computational speed.
Re: Elixir v1.4.0 released
#16Will Erlang/Elixir ever be able to attain the raw performance speed of Go? I'm not talking about concurrency, etc. Just raw computational speed.
Re: Elixir v1.4.0 released
#17Link to the official announcement: http://elixir-lang.org/blog/2017/01/05/elixir-v1-4-0-release...
Re: Elixir v1.4.0 released
#18Will Erlang/Elixir ever be able to attain the raw performance speed of Go? I'm not talking about concurrency, etc. Just raw computational speed.
Add in the supervision tree structure and you end up trading "super fast" for "very fast, consistent and runs forever"
Re: Elixir v1.4.0 released
#19> [Kernel] Deprecate support for making private functions overridable. Overridable functions must always be public as they must be contracts Just lost interest. I thought Elixir was supposed to learn from Ruby.
Professionally I've never seen a private function/method that had a purpose or benefit from being private.
Re: Elixir v1.4.0 released
#20Will Erlang/Elixir ever be able to attain the raw performance speed of Go? I'm not talking about concurrency, etc. Just raw computational speed.
The trade off is that a runaway process can't compromise everything else. The inherent performance difference comes from prescheduling vs cooperative scheduling. Prescheduling is slightly slower in exchange for consistency in the face of bad behavior. Add in the supervision tree structure and you end up trading "super fast" for "very fast, consistent and runs forever"
[1] http://www.erlang-factory.com/static/upload/media/1402914329...