Elixir

Elixir

Elixir Core Team

Elixir v1.20.0-rc.6 released

Hi everyone, this release includes type inference across applications and is our last step before v1.20. Please give it a try!

Here are some things to try out:

  1. Before upgrading, run mix compile --profile time --force and see how long it takes
  2. Run mix compile --profile time --force after upgrading and report

Please report the times and your Elixir version for each.

If you have some additional seconds, please try the following changes to your mix.exs. Run mix compile --profile time --force and report your times for each scenario independently, only on -rc.6:

  1. elixirc_options: [infer_signatures: [:elixir]] (This makes it so we only use Elixir’s stdlib to infer signatures. I do not recommend it in practice but measuring it will help assess the impact of inference across apps)

  2. elixirc_options: [module_definition: :interpreted] (Interprete module definitions when compiling modules, does not impact produced .beam files, it is OK to use it in prod)

Full release notes here: Release v1.20.0-rc.6 · elixir-lang/elixir · GitHub

Thank you!

Most Liked

josevalim

josevalim

Creator of Elixir

Your application is much slower to compile, we can probably make it much faster. If you are willing to grant me access to debug it further, please reach out in private!

delitrem

delitrem

Hello. My application seems to compile forever with v1.20.0-rc.6 and Erlang 29.0 (everything is fine with the previous RC). Should I submit a new issue? Submitted a new issue.

josevalim

josevalim

Creator of Elixir

Correct! This has been fixed in the main and v1.20 branches!

Where Next?

Popular in News Top

Elixir
Release: https://github.com/elixir-lang/elixir/releases/tag/v1.9.1 1. Enhancements Mix [mix format] Print relative paths in --check-for...
New
Elixir
Release: Release v1.11.3 · elixir-lang/elixir · GitHub 1. Enhancements Elixir [Macro] Add Macro.unique_var/2 and Macro.generate_unique_...
New
josevalim
It is a maintenance release, so nothing out of the ordinary. Please see the release notes for more information: Release v1.5.3 · elixir-...
New
josevalim
See the release notes: https://github.com/elixir-ecto/ecto/releases/tag/2.2.0-rc.0 To try it in your projects: {:ecto, "~> 2.2.0-rc",...
New
Elixir
1. Enhancements Elixir [Code] Add Code.eval_quoted_with_env/4 with support for the :prune_binding option ExUnit [ExUnit.Case] Allow te...
New
Elixir
Official announcement: Elixir v1.16 released - The Elixir programming language 1. Enhancements EEx [EEx] Include relative file informat...
New
Elixir
Release: Release v1.11.0-rc.0 · elixir-lang/elixir · GitHub Over the last releases, the Elixir team has been focusing on the compiler, b...
New
josevalim
Official announcement: Elixir v1.4 released - The Elixir programming language
New
josevalim
Note: this is a language proposal so please keep the discussion on topic. If you want to talk about related behaviour but not strictly pa...
New
Elixir
1. Bug fixes Elixir [Code] Fix Code.quoted_to_algebra/2 for operator with :do key as operand [Kernel.ParallelCompiler] Do not crash para...
New

Other popular topics Top

New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
Nvim
Anybody knows a comprehensive comparison of Django and Phoenix, thanks for the help. Where are they similar? Where do they differ the m...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
boundedvariable
I am going through the kafka architecture. All the features what the kafka is providing are already in Erlang. I would like hear your opi...
New
marick
I had some trouble figuring out how to make many-to-many associations work. Once I got it working, I wrote a blog post. Because I’m a nov...
New

We're in Beta

About us Mission Statement