3 ms·
I don't disagree with you on running games on the BEAM (although slow is a little too far imo), but in this case what they're doing is using Elixir to connect c
by ravi-delia 5y ago
I don't disagree with you on running games on the BEAM (although slow is a little too far imo), but in this case what they're doing is using Elixir to connect clients with the server. The actual physics simulation and such isn't running on Elixir.
edit: I just read through the article, and it doesn't seem to say one way or the other. 99% sure they aren't running any kind of physics engine on the BEAM, but there isn't anything specific
- Thaxll 5y agoThe article is no clear on what the server is actually doing, for example just replicating state between players through that hub or it's doing simulation. Either way they had to re-implement Racknet which is annoying because from now on everytime they add / change something in the network layer they won't be able to re-use the client code in the server. I'm curious on why they did not go with C++.
- Zababa 5y agoAnswered here: https://news.ycombinator.com/item?id=28000050 https://news.ycombinator.com/item?id=28000050 "Despite being way more familiar with C++, I can't imagine going from zero to production in 6 months (or even 2 years) if we'd tried to do this in C++"
- s3cur3 5y agoThis post on our dev blog gives some detail on the language decision here: https://developer.x-plane.com/2021/01/have-you-heard-the-good-news-about-elixir/ https://developer.x-plane.com/2021/01/have-you-heard-the-goo...