Re:Modern Websites in a Raspberry Pi Zero with WebAssembly
by angelmm on Thursday September 01, 2022 @02:45AM
(#32672857)
Developer here :)
Exactly, that was the main challenge for this project. We tested different popular runtimes, but none of them could target ARMv6. In the end, we used Wazero, a full runtime implemented in Go.
However, this comes with its own limitations as most of the performance optimizations are not available for 32-bit architectures. In fact, we compared the performance on a Pi Zero 2 using a 32-bit and 64-bit operating system. The different is quite relevant: 6s vs 190ms.
Exactly, that was the main challenge for this project. We tested different popular runtimes, but none of them could target ARMv6. In the end, we used Wazero, a full runtime implemented in Go.
However, this comes with its own limitations as most of the performance optimizations are not available for 32-bit architectures. In fact, we compared the performance on a Pi Zero 2 using a 32-bit and 64-bit operating system. The different is quite relevant: 6s vs 190ms.