4 ms·
I'd also throw Erlang/Elixir out there. And I really wished Elm wasn't such a trainwreck of a project...
by zwnow 11mo ago
I'd also throw Erlang/Elixir out there. And I really wished Elm wasn't such a trainwreck of a project...
- matu3ba 11mo agoWhat is the most optimal Erlang/Elixir you can think of regarding standardized effect systems for recording non-determinism, replaying and reversible computing? How comparable are performance numbers of Erlang/Elixir with Java and wasm?
- zwnow 11mo agoI'd recommend asking the Elixir community about this as I didn't even understand your question. I am by no means a professional with Erlang/Elixir. I threw it out there because these language force you to think differently compared to common OOP languages.
- 59nadir 11mo agoNo need to include Elixir here; none of the important bits that will change how you view software come from Elixir, it's just a skin on top of Erlang (+ some standard library wrappers) and that's it.
- zwnow 11mo agoI'd argue more people use Elixir over Erlang at this point. Sure its just an abstraction on top of Erlang, but people learn through Elixir nowadays, not through Erlang.
- 59nadir 11mo agoIf you want to learn the actual mind changing aspects of the BEAM, clearly learning the simpler, smaller language with a more direct route to the juice is the way to go. Hence Erlang, not Elixir. I learned Elixir first back in 2015, and then learned Erlang, and have had the pleasure of using both in production. When all was said and done I really think Erlang was better, especially over a long enough time frame. As a general point I'd like to state that I don't think it really matters what "people" do when you're learning for yourself. In the grand scheme of things approximately no one uses the BEAM, but this doesn't mean that learning how to use it is somehow pointless.
- fuzztester 11mo ago>actual mind changing aspects of the BEAM What are those aspects? newb to this area.
- 59nadir 11mo agoA few key things: - Leaning on a pre-emptive scheduler to maintain order even in the presence of ridiculous amounts of threads ("processes" on the BEAM) running - Using supervision trees to specify how and when processes and their dependents should be restarted - Using `gen_server` processes as a standard template for how a thread should be running There's more to mine from using the BEAM, but I think the above are some of the most important aspects. The first two I've never found to be fully replicated anywhere other than in OTP/BEAM. You don't need them, but once you're bought into the BEAM they're incredibly nice to have.
- fuzztester 11mo agoThanks.