axelson

axelson

Scenic Core Team

by @jola

Can you write a performant string processing scripts in Elixir? This talk attempts to answer that question while incrementally optimizing a simple implementation of a script, introducing many interesting parts of Elixir on the way, including ETS, iolists, compiled binary patterns, and concurrency. With a little bit of knowledge, we end up with a 10x speedup over the original implementation, and Elixir becomes a viable and performant scripting language, and this also carries over into most data processing tasks.

But what are the risks and trade-offs when optimizing, and how do you do it in a productive way?

And here’s a link to the forum post related to the talk: Erlang/Elixir string performance - can this be improved? - #39 by jola

View all threads tagged with performance
View all elixirconf2019 talks

First 2 of 2 Posts Switch mode

AstonJ

AstonJ

Great talk @jola!

It was fantastic following the journey seeing it get down to 7 seconds - second only to C at 4 seconds! Well done :023:

Also thank you for the reminder of Joe’s quote:

:orange_heart:

sanswork

sanswork

Agreed, one of my favourites so far. I really enjoyed the incremental nature of the improvements, super fun and educational.

— All posts loaded —

Where Next? Top

Trending in Talks Top

ElixirConf
Mise en Place for Ecto: Organizing Domain Complexity w/Business Rules-Nicholas Henry|ElixirConf 2025 Comments welcome! Vi...
New
ElixirConf
Elixir’s Configuration Layers: A Visual Journey - Stephanie Lane | ElixirConf US 2025 Comments welcome! View the <span cl...
New
ElixirConf
Leaving a BEAM cluster (basically) unattended for 2 years - Yuri Oliveira | ElixirConf US 2025 Comments welcome! View the...
New
ElixirConf
Introducing Elixir Observer - Juan Manuel Azambuja | ElixirConf US 2025 Comments welcome! View the <span class="hashtag-i...
New
ElixirConf
You can build an AI agent - Dennis Beatty | ElixirConf US 2025 Comments welcome! View the <span class="hashtag-icon-place...
New
ElixirConf
Beyond Safe Migrations: Better Practices for Ecto + PostgreSQL - Joe Harrow | ElixirConf US 2025 Comments welcome! View t...
New
CodeSync
Elevating Phoenix with OpenRiak - Robert Carbone | Code BEAM Europe 2025 Comments welcome! View the <span class="hashtag-...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge &amp; Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New

We're in Beta

About us Mission Statement