Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Update from the Elixir team - 2022
Andrea Leopardi
May 20, 2022
Programming
0
230
Update from the Elixir team - 2022
Andrea Leopardi
May 20, 2022
Tweet
Share
More Decks by Andrea Leopardi
See All by Andrea Leopardi
Testing Asynchronous OTP
whatyouhide
0
360
Elixir Sightseeing Tour
whatyouhide
0
200
Mint - Disrupting HTTP clients
whatyouhide
0
180
BEAM Architecture Handbook
whatyouhide
7
2.1k
The Evolution of a Language
whatyouhide
0
110
Elixir - functional, concurrent, distributed programming for the rest of us
whatyouhide
2
250
Papers we love: Elixir edition
whatyouhide
6
880
Update from the Elixir team - 2018
whatyouhide
3
4.3k
Property-based testing is a mindset
whatyouhide
0
110
Other Decks in Programming
See All in Programming
Improving Developer Experience Through Tools and Techniques 2022
krzysztofzablocki
0
320
GitHub Actions を導入した経緯
tamago3keran
1
420
VisualProgramming_GoogleHome_LINE
nearmugi
1
140
Vite でお手軽 Vue.js の環境構築
azuki
1
170
GitHubのユーザー名を変更した後のあれこれ
tahia910
0
120
Android スキルセットをフル活用して始めるスマートテレビアプリ開発
satsukies
0
190
GoogleI/O2022 LT報告会資料
shinsukefujita1126
0
210
個人開発でReact Native + Expo製アプリを作った話
ryonakae
1
440
Meet Swift Regex
usamik26
0
240
開発速度を5倍早くするVSCodeの拡張機能を作った
purp1eeeee
2
130
Git・Git-Flowについて
nerusan_main
0
400
"What's new in Swift"の要約 / swift_5_7_summary
uhooi
1
220
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
16
8.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
238
11k
How GitHub (no longer) Works
holman
296
140k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
4
500
A Modern Web Designer's Workflow
chriscoyier
689
180k
The World Runs on Bad Software
bkeepers
PRO
57
5.3k
The Mythical Team-Month
searls
209
39k
4 Signs Your Business is Dying
shpigford
169
20k
Git: the NoSQL Database
bkeepers
PRO
415
59k
Designing on Purpose - Digital PM Summit 2013
jponch
106
5.6k
Large-scale JavaScript Application Architecture
addyosmani
499
110k
For a Future-Friendly Web
brad_frost
166
7.4k
Transcript
Elixir Update from the core team May 2022
Andrea Leopardi @whatyouhide Elixir core team, engineer for
Recap Every 6 months (May, Nov) Non-breaking versions (1.x)
1.13
1.13 December 2021 Focused on developer experience
1.13 Semantic recompilation mix xref improvements Code.Fragment Formatter plugins
1.13 defmodule MixMarkdownFormatter do @behaviour Mix.Tasks.Format def features(_opts) do [sigils:
[:M], extensions: [".md", ".markdown"]] end def format(contents, opts) do # ... end end
1.13 # In .formatter.exs [ plugins: [MixMarkdownFormatter], inputs: [...] ]
None
1.14
June 2022 Requires OTP 23+ 1.14
PartitionSupervisor 1.14
Application supervisor Bottleneck process 1.14
Application supervisor Bottleneck process 1.14 PartitionSupervisor Bottleneck process Bottleneck process
children = [ {PartitionSupervisor, child_spec: {ErrorReporter, []}, name: Reporters} ]
1.14
def report_error(err) do ErrorReporter.report( {:via, PartitionSupervisor, {Reporters, self()}}, err )
end 1.14
Slicing with steps 1.14
1.14 1..10//2
1.14 Enum.slice(~w(a b c d e f g h), 1..4//2)
#=> ["b", "d"]
Expression-based inspection 1.14
1.14 IO.inspect(Version.parse!("1.0.0")) #=> #Version<1.0.0> Before:
1.14 IO.inspect(Version.parse!("1.0.0")) #=> Version.parse!("1.0.0") Now:
1.14 Version Version.Requirement MapSet Date.Range
1.14 __repr__ Python's
Improved errors in binary construction* 1.14 *thanks Erlang!
1.14 In OTP 25 (part of EEP 54)
1.14 int = 1 bin = "foo" int <> bin
** (ArgumentError) argument error
1.14 int = 1 bin = "foo" int <> bin
** (ArgumentError) construction of binary failed: segment 1 of type 'binary': expected a binary but got: 1
elixir-lang.org @whatyouhide