Ask HN: Are you satisfied with Elixir or do you regret choosing Elixir?
I think that it would be helpful if you provided examples about those things, good and bad. As it is it&#x27;s mostly &quot;erlang&#x27;s&quot; bad - perhaps if you offer the counterparts to what would be a better pick we could have a discussion - and then perhaps see how far the tree of dependencies goes on each side? And also what you would loose by picking up those solutions?<p>Just taking on some random stuff:<p>&gt; Trivial pattern matching is replaced by this, and to be honest, non-trivial pattern matching is probably a code smell if not an antipattern; if you&#x27;re reaching three levels down into a data structure<p>If the data structure is being accessed in a module to deal with it specifically then that is part of the knowledge of the module. And you can&#x27;t escape that with or without pattern matching, since you&#x27;ll have to codify those things in code anyway, be it long chains of ifs, switches, or whatever, you&#x27;ll always have to write the code with the same level of knowledge about the data structure to express the same conditions?<p>&gt; Modern Erlang performance is meh;<p>This I&#x27;m not sure. I&#x27;ve seen libs written in elixir beat libs written in C++ and they had to start a VM to be run. Obviously there will be plenty of stuff that a low level language can do more efficiently and faster I don&#x27;t think anyone disagrees with that - but I think sometimes people sell erlang and elixir&#x27;s speed short.<p>&gt; but the entire gen_server set up, with its initialization phase and its three proscribed ways to call it and the need for an explicit &quot;gen_server&quot; module type are largely the creation of Erlang in the first place<p>I haven&#x27;t seen any language with the concept of an independent program, that has a synchronous interface (mailbox), but can be modelled entirely asynchronously, and can&#x27;t block whatever running loop. (and I read your other reply and thread).
There&#x27;s also a reason why some things have a particular way of being set up inside the beam, and that&#x27;s mostly related to the guarantees it provides and with the fact that processes are transparent across nodes. If you take out the impossible to block scheduling and network transparency you&#x27;ll be of course able to spin up something similar to a GenServer without the same &quot;ritual&quot; - but it no longer has anything to do with the former perhaps except its API?<p>&gt; A modern message bus like Kafka or the dozen other choices doesn&#x27;t impose an implementation language on you, nor does it impose that implementation language being the only one.<p>Given that you can have any socket, tcp or not, and easily handle it, this doesn&#x27;t seem to be a fair point. On kafka or any other message bus the implementation language will be that of the sources and sinks communicating with kafka? Or you just write kafka and the other programs wake up as insects in a bed?<p>&gt; Mnesia, a clustered DB was a neat idea, but in 2021 is so poorly featured and unreliable it doesn&#x27;t even qualify as one anymore; nobody in their right mind would bring up an Erlang cluster just to back some other language&#x27;s code to Mnesia as a database<p>I haven&#x27;t used mnesia at scale and indeed heard people complaining about it, more than once so there&#x27;s probably some issues there - having said that, in terms of similar db&#x27;s (KV based and not SQL,etc) even db&#x27;s like MongoDB and such need expensive and usually paid managing solutions right? And can still loose data unless you really cover your redundancy?<p>&gt; But in 2021, you can do not just &quot;better&quot; than Erlang for all of them, you can do much better.<p>Could you tell us succinctly how? As a, usually, solo developer I would be really interested in knowing, and I&#x27;m not asking sarcastically.<p>I also don&#x27;t understand how it&#x27;s difficult to integrate Erlang with other things, it basically has a standard lib very accommodating of sockets and inter process communication through STDIN&#x2F;OUT, with effective monitoring on top.