Menu

Elixir v1.20 released: now a gradually typed language
📰
0

Elixir v1.20 released: now a gradually typed language

#elixir-lang#type#elixir#system#dynamic#types
Reading 0:00
15s threshold

In 2022, we announced the effort to add set-theoretic types to Elixir . In June 2023, we published an award winning paper on Elixir’s type system design and said our work was transitioning from research to development . With Elixir v1.20, we have completed our first development milestone which is to perform type inference and gradually type check every Elixir program, without introducing type annotations. This means Elixir increasingly reports dead code and verified bugs : typing violations that are guaranteed to fail at runtime if executed. Elixir can find verified bugs in existing programs efficiently, without introducing developer overhead, and with an extremely low false positives rate. In this announcement, we will break down the type system goals, what the dynamic() type means in Elixir, and how it finds verified bugs . In particular, our implementation performs well in the “If T: Benchmark for Type Narrowing” benchmark.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More