Hacker News new | ask | show | jobs
by cultofmetatron 302 days ago
built my startup in elixir. love it but nifs are one of the few ways you can crash the VM. I don't trust myseld to write a nif in production. no way I'd do it with AI in c. Thank god theres projects like rustler which can catch panics before it crashes the main VM.
1 comments

You could always use ports, or the external port drivers.
I'd say for 90% of times you'd want this, spin it off to a microservice over grpc or rabbitmq.