News for hackers. Stuff that matters.
Re:Ergo: Erlang-inspired event driven actor framework in Go by toast0 on Thursday September 12, 2024 @03:39PM (#41524674)
Yeah, NIFs are dynamically linked into the running VM, and generally speaking, if you load a binary library, you can do whatever, including crashing the VM.

BEAM has 4 ways to closely integrate with native code: NIFs, linked in ports, OS process ports (fork/ecommunicate over a pipe), and foreign nodes (C Nodes). You can also integrate through normal networking or pipes too. Everything has plusses and minusses.

There are no comments on this comment yet.