Talk 18:00

How to Describe Robust NIFs

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.