axelson
Scenic Core Team
ElixirConf 2017 - Well Behaved Native Implemented Functions for Elixir - @potatosalad
Native Implemented Functions (NIFs) are a powerful way to call native functions written in C, C++, Rust, Haskell, and more! However, special attention must be given to avoid destabilizing the Erlang VM. We’ll review examples of misbehaving NIFs and how to measure their negative effects on the Erlang VM scheduler. We’ll then explore patterns for well-behaved NIFs, including: timeslice reductions, dirty schedulers, I/O events, and threads. We’ll also explore the new features introduced in Erlang/OTP 20 and take a look at future plans for the NIF.
Audience: Intermediate-Advanced
All talks are available in the Elixir Conf 2017 Talks List or via the elixirconf2017 tag
Trending in Talks
Keynote: What Comes Next - Chris McCord | ElixirConf US 2026
https://www.youtube.com/watch?v=wR9O_MiwZ-8
Comments welcome! View the <s...
New
Update from the Nerves Core Team - Jon Carstens | ElixirConf US 2026
https://www.youtube.com/watch?v=7VbPvlKxF9k
Comments welcome! Vie...
New
Union of the Snake - Parker Selbert & Shannon Selbert | ElixirConf EU 2026
https://www.youtube.com/watch?v=hRa8ACrTVDs
Comments we...
New
Update from the Erlang Ecosystem Foundation - Dan Janowski | ElixirConf US 2026
Comments welcome! View the <span class="h...
New
Hologram: Building Local-First Apps in Pure Elixir | Bart Blast
https://www.youtube.com/watch?v=jdg_UrLp0bU
Comments welcome! View the...
New
Bringing LiveView to the Client with Popcorn - Franciszek Kubis | ElixirConf EU 2026
https://www.youtube.com/watch?v=dZYrPTdCVeo
Comme...
New
Nerves, NIFs, and Snake - Gus Workman | ElixirConf EU 2026
https://www.youtube.com/watch?v=oTuoPu4pYVs
Comments welcome! View the <spa...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Hi everyone :waving_hand:
I’ve been working on PhiaUI, an open-source UI component library for Phoenix LiveView, and I wanted to share i...
New
On November 23, 2026, an unauthorized third party exploited a vulnerability in hex.pm (CVE-2026-129514, CVSS 10.0) that let them run comm...
New
@hugobarauna, Dr. Dimitrios Koutmos (my brother) and I (Alex Koutmos) have been hard at work on writing a book on how you can use Elixir ...
New
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
- #code-sync
- #exunit
- #discussion
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #ai
- #authentication
- #elixirconf-us
- #umbrella
- #full-time-contract
- #blog-post
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-eu
- #distillery
- #security
- #processes
- #api
- #forms
- #hex










Showing Posts 1 to 1- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
JEG2
This is a talk I’m going to rewatch anytime I need to interface with lower level code. This is hardcore and handy!