Erlang/OTP 28 Highlights
a year ago
- #OTP28
- #Programming
- #Erlang
- Erlang/OTP 28 introduces priority messages, allowing urgent messages to skip the queue.
- Comprehensions in Erlang/OTP 28 now support strict generators and zip generators for better expressiveness and safety.
- The compiler in Erlang/OTP 28 provides smarter error suggestions, helping to identify and fix typos more easily.
- Shell improvements include lazy reads from stdin, raw and cooked modes for noshell, and fun Name/Arity syntax.
- A new erlang:hibernate/0 function reduces memory footprint for processes with long idle times.
- Warnings are now issued for the use of old-style catch, encouraging the use of try...catch...end.
- Floating point literals now support any base, similar to integers, for precise representation.
- The re module has been updated to use PCRE2, offering stricter syntax validation and better Unicode support.
- TLS 1.3 performance has been optimized, resulting in a 15%-25% speed-up for data transmission.
- Nominal types have been introduced to Dialyzer, preventing accidental misuse of types with the same structure.
- A new Emacs Erlang mode using treesitter is under development, offering improved string and documentation handling.