3 ms·
> The original NaCl was a 'validated subset' of native CPU machine code (e.g. actual x86 machine code with some instructions and instruction sequences disallowe
by xg15 5mo ago
> The original NaCl was a 'validated subset' of native CPU machine code (e.g. actual x86 machine code with some instructions and instruction sequences disallowed which would allow to escape the sandbox).
Out of curiosity, does that mean that NaCL (without P) only ran on x86? Or were there different subsets for different architectures?
- wmf 5mo agoI think the plan was to JIT x86 to other architectures.
- wffurr 5mo agoYou could compile NaCL code for x86_64, aarch64, and aarch32 as well. Chrome apps has a system similar to mobile apps where you would upload an app with all binaries and users would get the one for their system architecture.
- xg15 5mo agoAh, that makes sense. So users were effectively cross-compiling the NaCL binaries for multiple architectures.