The discussion revolves around an error encountered while trying to install Discourse on a Raspberry Pi with ARM architecture. spaceone encountered an exec format error and sought help. sam explained that ARM is not currently supported due to compatibility issues with libv8 and mini racer. spaceone suggested adding a check in the installation process to prevent setup on incompatible hardware.
codinghorror agreed that a simple check could be implemented, acknowledging a future for ARM on servers. Despite upgrading to a 64-bit ARMv8 machine, space1 still encountered the same error.
Regarding timelines for ARM support, codinghorror estimated it would happen within the next 10 years, while sam predicted it would be sooner, likely within 3 years, driven by the adoption of ARM in Macs and the need to support dev environments on those machines.
# ./discourse-setup
…
Building app
standard_init_linux.go:211: exec user process caused "exec format error"
Your Docker installation is not working correctly
See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam
I tried installing discourse on a raspberrypi with two different docker version:
# docker --version # (from debian buster)
Docker version 18.09.1, build 4c52b90
# docker --version # (installed via discouse installation script)
Docker version 19.03.12, build 48a6621
# arch
armv7l
Likely a lot prior to that, we will get stuff working on arm properly once Apple finish the transition to the A14 or A15 on laptops and desktops.
We want to support dev environments on Macs and Macs are poised to be the absolute fastest single core computers out there now that the latest iPhone is scoring 200 on speedometer.
My estimate is that within 3 years Discourse will work fine on arm dev environments.