4 ms·
I wouldn't be too sure of that. Each language's ecosystem fosters certain ways of approaching and solving problems. For example, Erlang/OTP brings a lot to the
by reddit_clone 10y ago
I wouldn't be too sure of that. Each language's ecosystem fosters certain ways of approaching and solving problems.
For example, Erlang/OTP brings a lot to the table. Being functional, it would protect you against certain types of errors leaving you free to solve more complex problems. You pay for it with run time performance. String operations are slow etc.
C++ is very fast and very sharp. Not easy to get everything right. (Some sort Greenspun's rule would apply here I think. Substitute Erlang for Common Lisp).
- brightball 10y agoThat's pretty much why Couchbase was created if I recall. He wanted to substitute the parts that could be done faster in C and the benchmarks have proved out well if I recall.
- markpapadakis 10y agoI understand it is about tradeoffs, and that the benefits and limitations of every language(in terms of syntax and semantics, and its associated runtime/VM -- if any) definitely define to a large extent the final product's characteristics. I am only saying that Mongo is not unreliable because C++ was selected; it's unreliable because of architectural choices and lack of care which may or may not have been intentional.
- tormeh 10y agoCrudely put, my point was that the people who freely choose C, C++ and Javascript (and PHP etc.) are the kind of people who don't care much for quality. I understand if there are availability or historic (or even sometimes performance) reasons why someone chose a bad language, but if not I'm a bit prejudiced towards them. Erlang, in contrast to the aforementioned languages, is a language for people who plan to do things properly.