3 ms·
Actually, that is one of the Wasm key features: being a platform-independent binary not tied to any specific HW architecture. Translating x86_64 code to arm64
by gzurl 3y ago
Actually, that is one of the Wasm key features: being a platform-independent binary not tied to any specific HW architecture.
Translating x86_64 code to arm64 requires more CPU cycles than JITting Wasm into arm64 or x86_64.
Buy even more: in the use case covered in this article, the PHP interpreter won't change so it can be AoT compiled upon deployment to the target architecture. No JIT compilation needed :-)