2 ms·
MNesia is basically a built-in, inasmuch as I'm not sure you can find an Erlang install anywhere that doesn't have it (barring somebody going in and specificall
by jerf 15y ago
MNesia is basically a built-in, inasmuch as I'm not sure you can find an Erlang install anywhere that doesn't have it (barring somebody going in and specifically plinking it). It ships in the open source release. (OTP application just means that it conforms to the OTP interfaces, so for instance you can "application:start(mnesia)", or depend on it in other OTP applications such as ones you've authored, etc.) Riak is legitimately a third party library, but does provide an existence proof that the specific problem chosen to highlight Erlang's weaknesses does still seem to work.
That said, the author has a point. But by privileging actors as much as it does, Erlang gets a lot of great stuff out of it that have no effective competition in other languages, OTP in particular. Haskell may offer every sensible concurrency construct under the sun, but you don't get OTP to speak of. (Some efforts are underway, but they are new and I'd be surprised if they are stable yet.) Erlang is definitely niche, but it fits that niche very well and the niche is larger than it may initially appear... but it certainly isn't the best choice for all purposes. Nothing is, and nothing can be. The argument is a bit klunky but the point is still ultimately correct.