I run LinuxCNC on a Raspberry Pi 4, and it works wonders. LinuxCNC is installed with a realtime Linux kernel; it'll run just as realtime as DOS.
I think this forum post pointed me in the right direction: https://www.forum.linuxcnc.org/18-computer/36879-raspberry-p...