4 ms·
Sorry, I don't check HN often. As we discussed on Twitter & IRC: It's just an OS sandbox currently. pdfium previously worked with NaCl, with a non-V8 JS VM (wo
by jfbastien 12y ago
Sorry, I don't check HN often. As we discussed on Twitter & IRC:
It's just an OS sandbox currently. pdfium previously worked with NaCl, with a non-V8 JS VM (work done by Bill Budge). V8-on-NaCl used to work, I think it may have bitrotted since then, but it used NaCl's dyncode modify API to do PIC. The GC moves code too, so extra page permissions need to be changed when that's done, but I think that's the extent of code modification that needs to be handled for a JS JIT to work on NaCl (on top of the sandboxing).