3 ms·
On his point about payment gateways possibly being better for Rust I currently work in a system with a <10s SLA for a payment flow and boring old Java works fin
by bestinterest 6y ago
On his point about payment gateways possibly being better for Rust I currently work in a system with a <10s SLA for a payment flow and boring old Java works fine with the whole Kafka/OpenShift/Microservice craze setup. And this setup runs through a bunch of microservices and talks to external API's.
And even the real time messaging stuff? It probably depends on how real time you need, e.g WhatsApp is heavy on Elixir I believe and is the better choice for real time messaging due to its amazing actor concurrency model.
Rust is a niche language for most programming domains imo but when you have a use case it really shines. But it also is such an attractive language because it brings out the engineer in all of us.
The addicting process of optimizing every bit of code when in reality you probably should of just spun up a Rails app for your service and scaled horizontally eating your sadness of the performance engineer within yourself over the business logic that needs to get done yesterday.
- kuresov 6y agoFYI I believe WhatsApp was written in Erlang (Elixir uses the BEAM VM as well), but it was rewritten in C++ after Facebook bought it.
- bcrosby95 6y agoNot true. Facebook Chat was written in Erlang and re-written in C++. This seems to confuse a lot of people. And in fact, Facebook is working on a statically typed version of Erlang. https://elixirforum.com/t/facebook-is-writing-a-new-statically-typed-language-to-run-on-the-beam/29829/34 https://elixirforum.com/t/facebook-is-writing-a-new-statical...
- jariel 6y agoI think it brings out the OCD in all of us, because we're apt to believe that the 'hard correctness' is somehow a thing of value. We climbed the mountain and believe that's what 'makes it better' but it may very well be irrelevant. As you say, Java is so often actually 'better' in the big picture.