4 ms·
So, what stack would/do you use/recommend? Elixir + Go + ???
by mountaineer22 10y ago
So, what stack would/do you use/recommend? Elixir + Go + ???
- dvcrn 10y agoI would almost always use Elixir these days, the advantages are just that good. I don't see anything python or ruby can give me in a server context that Elixir doesn't bring. If I need to go for speed or write a CLI tool, then I'd probably pick Go. For frontend work, clojurescript. So Elixir+CLJS for almost all web-based apps (or, you know, react native).
- 59nadir 10y agoThere's no need to involve Go in that stack if you're building on Elixir. If you absolutely need interop with something else it'd be better to go with something more focused (either on speed, correctness or something else, as Go doesn't really focus on much of anything, except design-wise) and use it through ports or the like, from the BEAM. Go as an addition to a BEAM app won't add anything as it mostly does nothing much better than the BEAM and what it does better will be better handled by other languages. Some people would attempt to make a case for it being able to spawn threads, etc., but its scheduling makes in inherently as incompatible with the BEAM as any other language, so it's not a reasonable point to make.