@Preston_Bannister Linux is indeed a lot of good things, but a real time OS is not one of them. processor affinity gives you a lot of power but very little on deterministic timing, unless you do very low level stuff. learnt that the hard way when working on SnabbSwitch, even on modern Xeon systems you have to disable interrupts and keep all memory allocations to the setup phase.
embedded systems like arduino, openRT, mbed, and such can guarantee microsecond latency, precisely because there’s not any other stuff around besides your application.
and honestly, when a 16Mhz, 8 bit chip like arduino can do a mostly good work with so many 3d printers, a dual core, 160Mhz, 32bit chip are much more than enough, and you can have 5 of them for less money and space than a single Raspberry 3.