6 ms·
Nice use case about Elixir! You should definitely write about it, I'm getting sick of the "We used Elixir/Phoenix/LiveView" articles out there. MMOs are one fie
by linkdd 3y ago
Nice use case about Elixir! You should definitely write about it, I'm getting sick of the "We used Elixir/Phoenix/LiveView" articles out there. MMOs are one field where Erlang/Elixir can shine a lot due to their concurrency model, their fault tolerance, and especially no-downtime upgrades thanks to hot code reloading (very attractive to upgrade the server without disconnecting people).
- pdimitar 3y agoI've been meaning to write a StarCraft 1 AI bot and put in the 24/7 SSCAIT tournament on Twitch but... never enough time. Elixir seems like the perfect fit, though it's unclear whether it can handle the computations when things get hectic.
- linkdd 3y agoFor performance intensive tasks, you could rely on Rust NIFs, there is this great project: https://github.com/rusterlium/rustler https://github.com/rusterlium/rustler My last project with Elixir was using Elixir merely as an orchestrator of static binaries (developed in golang) which were talking in JSON via stdin/stdout.
- pdimitar 3y agoYep I've used Rustler with great success. And yep Elixir is an amazing orchestrator. But when the time comes I'll gauge whether I can't get most of the benefits with async Rust.
- machiaweliczny 3y agoElixir has nx project for numerical computing
- pdimitar 3y agoAh, but I have zero interest in AI. I just want a good algorithm. :)