why
Hi,
I’m trying to decide on an OTP version for a new project.
Would you say OTP26 is a good choice at this point? By that I mean supported broadly in the eco system and with limited head scratching “why does x -which used to work so well for me in the past- no longer work”?
Thank you!
Trending in Discussions
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
New
Hey there,
It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Quite interesting article Google brought me. Didn’t find any mentions about it here.
What do you think in general? Would you use togethe...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Since we have deprecated our Erlang sections (as we have dedicated Erlang Forums now) let’s add this thread for those who’d like to post ...
New
What IDE or editor are you using for Elixir development?
Personally, I use Zed, and I really like it, but sometimes I wish there were a ...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #hex
- #security










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
wmnnd
If you are starting a new project, you might as well start with the latest versions of OTP and Elixir, because it’s unlikely that in the future we’ll move back to older versions of OTP
JeyHey
It seems the FreeBSD package of Erlang only supports OTP 25. Maybe there are some issue to be fixed.
D4no0
I would recommend to use
rtxorasdfto manage elixir/erlang versions to avoid having problems with dependencies, OTP-26 is present there.dimitarvp
I remember some issues in the very first few patch releases but nobody is mentioning them lately so I am pretty sure that installing OTP 26.1 is safe nowadays.
why
Thank you all for the thoughts
I ended up going with OTP 24, as it turned out that is the version of the official package for Ubuntu 22.04.
I was trying to go a bit more ‘up to date’, but Erlang Solutions’ pre-built packages seem to have certificate problems (at least for me). I try to avoid asdf, etc, as I like to stay close to the source of things, where possible. Building from source would be a viable alternative, though.
Installing Elixir was a bit more complicated, as the official Elixir package on Ubuntu 22.04 is 1.12, which is too low for Phoenix. So I used the official pre-compiled packages from the Elixir Github releases page. Unzip, add to path, done.
It would be so nice (and a great developer experience), if the Elixir package on Ubuntu was at least the version Phoenix needs… But it’s probably not trivial to get an official Ubuntu package updated…
adamu
The official docker erlang image hasn’t been manually updated (as is required for every release) to the latest OTP version yet. The hexpm images are fine as always though.
dimitarvp
That’s exactly what
asdfandrtxdo (I recommendrtx). They build from source.There’s no need to be conservative about using version managers. They fill a much-needed niche.
nallwhy
This is a part of my Dockerfile. You can find the URLs of the sources codes.
dimitarvp
Or you can use HexPM’s Docker image.
why
Thanks for the Docker tips!
Re asdf: Maybe it’s silly, but I’m always a bit worried that somebody might be able to slip a commit in that does something naughty. I say this based on what I see in the npm world…