axelson

axelson

Scenic Core Team

4) Lonestar ElixirConf 2018 - Let's Talk Process Dictionary - Greg Vaughn

Let’s Talk Process Dictionary - @gregvaughn

Well, the first rule of Fight Club, I mean: process dictionary is that we don’t talk about process dictionary. That’s wise because people new to functional algorithms and immutable data structures may use it as a crutch, however, once we’re comfortable with that background, we should no longer be afraid of it. There’s legitimate reasons when to use it and when not to use it, which we’ll discuss in this talk.

Audience: Intermediate, Advanced

All talks thread: 0) Lonestar ElixirConf 2018 Talks

Most Liked Switch mode

JEG2

JEG2

Author of Designing Elixir Systems with OTP

Of course this is right, of course, but I do feel like consciously dividing up pure and impure concerns in your Elixir programs is a powerful design tool. I have been hugely inspired by Gary Bernhardt’s Functional Core, Imperative Shell and @sasajuric’s To Spawn or not to Spawn.

We don’t get all the way to Elm’s side-effect free runtime, obviously, but knowing exactly where those lines our for your own code is a very powerful design strategy. I feel this is why you so heavily advocate—in the talk—for isolation of process dictionary code (preferably in one function).

I hear you though. Elixir’s not pure and it never will be. But I sure learned a ton about how to write Elixir code that I could manage by playing with pure languages.

AstonJ

AstonJ

Looks like a great talk Greg - and I love see references to things said on the forum :lol:

Last Post!

OvermindDL1

OvermindDL1

I personally consider the Process Dictionary the ‘Environment’ of a process in operating system terms, except it’s not inherited by children by default. :slight_smile:

Where Next?

Trending in Talks Top

bartblast
A year of Hologram releases in review (v0.5 through v0.8), then a deep dive into where it’s headed next: local-first. Most of it is a to...
New
ElixirConf
Mise en Place for Ecto: Organizing Domain Complexity w/Business Rules-Nicholas Henry|ElixirConf 2025 Comments welcome! Vi...
New
ElixirConf
Extending Elixir with WebAssembly Components - Chris Nelson| ElixirConf US 2025 Comments welcome! View the <span class="h...
New
ElixirConf
From Notebook to Production: Evolution of Elixir Projects - Emmanuel Pinault | ElixirConf US 2025 Comments welcome! View...
New
ElixirConf
You can build an AI agent - Dennis Beatty | ElixirConf US 2025 Comments welcome! View the <span class="hashtag-icon-place...
New
ElixirConf
Building Careers, Balancing Life: Stories from the Elixir World and Beyond | ElixirConf US 2025 Comments welcome! View th...
New
ElixirConf
Engineering Network Protocol Clients - Carlos Souza | ElixirConf US 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
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
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
akoutmos
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New

We're in Beta

About us Mission Statement