Latest #compiler Threads 
In my project, I have a compile-time code that can generate some warning depending on some circumstances.
To show the warning I do IO.wa...
New
I need to be able to get the Erlang AST which the Elixir compiler generates. So my question is:
Is it possible to get the Elixir compile...
New
Hi,
I’m in the process of upgrading from Elixir 1.17.x to Elixir 1.19.x. I’ve noticed that running mix loadpaths now compiles the entire...
New
Compilation time for our project degraded from ~26 seconds to ~32 seconds (~23% slower) :disappointed_face:.
Did anyone else compare com...
New
I’m working on a small library that, when use-ed in a client project, reads some external files and compiles those files into Elixir func...
New
Hi all,
I’m trying to get up to speed with elixir and have just stumbled across a compiler warning that I find a bit puzzling. I was won...
New
It appears that structures created with the %Struct{...} syntax do not share the key tuple.
Compare:
iex> Enum.map(1..1000, &%UR...
New
Today I encountered an issue.
After updating Elixir from version 1.17.3 to 1.18.3, the compilation time of my project increased dramatic...
New
If you paste the whole code from
defimpl Inspect, for: Map do
# ...
end
into an Elixir shell, you will get “undefined function color/3”...
New
When running Dialyzer in CI, we use the --format github option. This formats errors like:
::warning file=lib/file.ex,line=19,title=no_re...
New
This Week's Trending
This Month's Trending
This Year's Trending
I have quite a few files in my project that have many function heads(100s to 1000s). I don’t think these can easily be replaced with anot...
New
Compilation time for our project degraded from ~26 seconds to ~32 seconds (~23% slower) :disappointed_face:.
Did anyone else compare com...
New
I need to be able to get the Erlang AST which the Elixir compiler generates. So my question is:
Is it possible to get the Elixir compile...
New
Hi,
I’m in the process of upgrading from Elixir 1.17.x to Elixir 1.19.x. I’ve noticed that running mix loadpaths now compiles the entire...
New
I’m working on a small library that, when use-ed in a client project, reads some external files and compiles those files into Elixir func...
New
In my project, I have a compile-time code that can generate some warning depending on some circumstances.
To show the warning I do IO.wa...
New
Hi all,
I’m trying to get up to speed with elixir and have just stumbled across a compiler warning that I find a bit puzzling. I was won...
New
Last Three Year's Trending
Hey guys,
I just installed Elixir 1.10 on my Arch Linux and I am starting to learn this nice language.
I am experiencing some problems ...
New
Can Elixir code detect whether it is executing at compile time? I would like to write something like the following macro:
defmacro foo()...
New
I generally enable warnings_as_errors in order to have the compiler fail hard in situations like invoking non-existing remote functions. ...
New
I am trying to hook into the @doc deprecated: "message" annotation using __on_definition__.
defmodule ExampleCompiler do
def __on_defi...
New
I’d like to get compiler warnings as errors in my tests, because in my experience, such warnings quite often uncover real bugs.
What I’v...
New
Hello :wave:
I was working on upgrading one of our apps to 1.17 this morning and came across the compiler warning.
pattern matching on ...
New
Hi,
In trying to upgrade from Elixir 1.14 to 1.15, I’m getting an error whenever I try to compile Elixir files under OEL7 (which I reali...
New
I am trying to understand why transitive compile-time dependency is there, and what’s a good strategy to remove it. The mix app for examp...
New
In this case, considering we don’t have any overlapping function names, is it worth it to use only as a means of asserting that we’re onl...
New
Elixir 1.17 changelog states:
At the moment, Elixir developers will interact with set-theoretic types only through warnings found by th...
New
Hi! I’m continuing my battle (1, 2) against transitive compile-time dependencies on a large code base :slight_smile:
This time I am faci...
New
The following code results in a warning that is difficult for me to understand:
defmodule Mod do
def hello(name) do
map = Map.new(...
New
It’s come up a few times recently how the following code snippets are equivalent when compiled:
def Foo do
def foo do
String.capit...
New
It appears that structures created with the %Struct{...} syntax do not share the key tuple.
Compare:
iex> Enum.map(1..1000, &%UR...
New
When running Dialyzer in CI, we use the --format github option. This formats errors like:
::warning file=lib/file.ex,line=19,title=no_re...
New
Trending Over Three Years
Credo is smart enough to check for (something like) this:
assert length(the_list) == 0
with this response:
Checking if an enum is empt...
New
Hey everyone!
I’m working on optimising our build pipeline. I have a flow that looks like:
– compile
– dialyzer, test etc
These are e...
New
TLDR: :compile_time_purge_level and dependency compilation are your friends.
Moments ago I published my first Elixir package on hex! Wh...
New
I was using asdf to install the latest Apple Silicon compiled versions of Erlang and Elixir to use on a Phoenix project that employs the ...
New
When calling Code.compile_quoted which recompiles existing module I constantly get this warning:
warning: redefining module TheModule (c...
New
In my mix.exs I used to be able to call other Modules in order to fetch some configurations for my application-env configuration. Somehow...
New
Greetings fellow alchemists !
I have started to write an open-source interpreter in Elixir (https://github.com/nicolasdilley/dwarf-inter...
New
Hi, I would like to make in the near future a programming language like https://vlang.io/
I think Elixir is an excellent candidate for t...
New
Background
We are currently testing a module with 10 millions functions. This is an automatically generated module that we (pesky humans)...
New
Hi,
I’m trying to track down why my testing experience is such a pain because there’s always many files being compiled… I’ve used the in...
New
Elixir’s new version has a new compiler check specified here: link
After upgrading Elixir, now I receive a lot of these compiler warning...
New
I noticed that while compiling an application, ParallelCompiler will compile multiple modules in parallel, as long as the dependencies be...
New
defmodule Benchmark do
def main do
module_function = Foo.main
_ = module_function
end
def run(params) do
number_of_trials = En...
New
Hey guys, continuing from my other thread I’m still building and exploring some compile-time stuff that Elixir can provide.
Right now I’...
New
I need this for statistical reasons and "all" is a very loose term. It's OK if I don't find absolutely all places, though I'd like it if ...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #ash-questions
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #discussion
- #javascript
- #elixirconf
- #library
- #oban-questions
- #dialyzer
- #docker
- #onsite
- #authentication
- #podcasts
- #full-time-contract
- #umbrella
- #code-sync
- #ecto-query
- #phoenix_html
- #iex
- #graphql
- #genstage
- #elixir-ls
- #nerves-questions
- #podcasts-by-brainlid
- #supervisor
- #websockets
- #distillery
- #advent-of-code
- #blog-post
- #livebook-questions
- #processes
- #forms
- #api
- #metaprogramming







