How to Describe Robust NIFs by Susumu Yamazaki | ElixirConf EU 2023

Conference: ElixirConf EU 2023

Year: 2023

✨This talk was recorded at ElixirConf EU 2023. If you're curious about our upcoming event, check https://elixirconf.eu ✨ This talk shows three points to describe robust NIFs: Appropriately set a conditional branch where each function call may return an uncertain value. Perform error handling according to general conventions. Make assertions that specify implicit preconditions and raise exceptions for Supervisor to handle. This talk also shows how to improve performance even with such robustness and fault tolerance and build NIFs for various platforms.