ancatrusca
New episode covering the full arc of Kip Cole’s 10-year localization and time work in Elixir - useful context for anyone using ex_cldr, Tempo, or building scheduling features.
Three things worth knowing:
Localized (the CLDR rewrite). ex_cldr grew to 28 packages with compile-time macro generation for locale dispatch. Above ~1,000 function clauses, BEAM optimization becomes quadratic at compile time. Moving to runtime storage fixed the performance penalty and allowed collapsing most of those 28 packages into one library that compiles faster and does more.
Tempo’s interval model. DateTime is an instant. Tempo models time as a half-open interval: [start, end). This eliminates the off-by-one bugs that appear when combining time ranges, makes “is this event during working hours” a set membership check, and reduces scheduling to set intersection. Kip’s framing: if you layer sets over intervals, almost every scheduling problem goes away.
Agenda. Announced in 2022, shipped this week. Scheduling as set intersection over free/busy interval collections. The episode covers the design in detail.
Unicode version 18 is also coming - 173,000 characters - and Kip discusses why Elixir’s UTF-8 string handling puts it ahead of most ecosystems for correct representation.
Trending in Podcasts
Other Trending Topics
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
- #code-sync
- #discussion
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #ai
- #elixirconf-us
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #blog-post
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #security
- #elixirconf-eu
- #processes
- #api
- #forms
- #hex









