ElixirConf 2019: Lighting Talk - IOLists are Awesome - Dennis Beatty

by @dnsbty

Quick summary:

Dennis shows how to use ANSI escape codes and explains how the iolist datastructure gives you increased performance.

His original blog post covering building IO.ANSI: https://dennisbeatty.com/2019/03/12/cool-clis-in-elixir-part-2-with-io-ansi.html
Linked article on IO lists: https://www.bignerdranch.com/blog/elixir-and-io-lists-part-1-building-output-efficiently/

View all threads tagged with #iolist
View all #elixirconf2019 talks

2 Likes

As a side-note I’d highly recommend both his IO.ANSI blog posts and the Big Nerd Ranch article on IO lists. @dnsbty will you be doing an updated post on switching your IO.ANSI code to use IO lists? I think that would be neat, also it would be good to cover that to get the best performance improvements you need to re-use bindings instead of creating new ones by generating a new string (even though the strings may be identical in content).

1 Like

The ElixirConf 2016 talk that the Big Nerd Ranch article is based on is awesome: https://www.youtube.com/watch?v=zZxBL-lV9uA

2 Likes

Thanks for sharing, Jason! I have a post on IO.ANSI and IO lists in the pipeline, but I have a bunch of other posts in line in front of it, so it may be a while before I release it.

1 Like