I have a crazy question - does anyone think it would be possible to put the bun JS runtime (written in Zig) in a NIF via Zigler.
If that’s possible could you run JS files without needing Node on the machine?
I have a crazy question - does anyone think it would be possible to put the bun JS runtime (written in Zig) in a NIF via Zigler.
If that’s possible could you run JS files without needing Node on the machine?
My motto is: you never know until you try it in production. So my advice is to put it in your company’s most critical application as a test.
I saw that Bun was experiencing Segmentation faults in some video.
So you will doom your Beam instance.
bun.js is AFAIK only available as standalone executable and not as a library, so I don’t think that’s possible. Best you can do is writing a port, as you can do with any executable