Adding Elixir to our Nextjs app (2022)
1–10 of 31 posts
Re: Adding Elixir to our Nextjs app (2022)
#2Re: Adding Elixir to our Nextjs app (2022)
#3Why not use Go? They have one of the best networking stacks among language standard libraries, excellent support for low latency soft real-time concurrent operations, and single binary deployment is trivial.
Re: Adding Elixir to our Nextjs app (2022)
#4Why not use Go? They have one of the best networking stacks among language standard libraries, excellent support for low latency soft real-time concurrent operations, and single binary deployment is trivial.
Not to mention how good Phoenix and Ecto are. I would never think about using Go if Elixir is a suitable option.
Re: Adding Elixir to our Nextjs app (2022)
#5Why not use Go? They have one of the best networking stacks among language standard libraries, excellent support for low latency soft real-time concurrent operations, and single binary deployment is trivial.
And the beam networking stack is quite good, which is unsurprising given it's been in slowly evolving use for 30 years now.
In go you just don't get stuff like "trivially cleaning up associated resources with zero lines of code when your socket gets early terminated by the client or a backhoe cuts the network in to the data center"
Re: Adding Elixir to our Nextjs app (2022)
#6Why not use Go? They have one of the best networking stacks among language standard libraries, excellent support for low latency soft real-time concurrent operations, and single binary deployment is trivial.
Re: Adding Elixir to our Nextjs app (2022)
#7Re: Adding Elixir to our Nextjs app (2022)
#8Why not use Go? They have one of the best networking stacks among language standard libraries, excellent support for low latency soft real-time concurrent operations, and single binary deployment is trivial.
For me personally (not OP): I find Elixir more ergonomic, the networking stuff is very solid, soft realtime is the whole reason it exists, and I don't need single binary deployment because everything is going to be running in a container in AWS anyway. Elixir also has Releases, which let you deploy a self-contained application more easily. But I think Go might let you cross-compile out of the box, which you can't do…
Re: Adding Elixir to our Nextjs app (2022)
#9Earlier quoted context omitted.
For me personally (not OP): I find Elixir more ergonomic, the networking stuff is very solid, soft realtime is the whole reason it exists, and I don't need single binary deployment because everything is going to be running in a container in AWS anyway. Elixir also has Releases, which let you deploy a self-contained application more easily. But I think Go might let you cross-compile out of the box, which you can't do…
Cross compilation is possible in elixir with burrito.
Re: Adding Elixir to our Nextjs app (2022)
#10Earlier quoted context omitted.
Cross compilation is possible in elixir with burrito.
I've never tried it but I think I've heard of it. Regardless, it's a third-party tool, so not at the same level of support as Go.