
Bun.js with Jarred Sumner - JSJ 584
JavaScript Jabber
00:00
How to Implement Zig in JavaScript
The bindings layer of like, how do you efficiently and also more safely generate code between zig and JavaScript? It's very complicated. The rest of the world uses UTF-8 for the most part, unless you're Windows or Java. But JavaScript strings can either be Latin one orUTF-16. So then, when you're, so you have to constantly do these string conversions back and forth.
Transcript
Play full episode