3 ms·
Sounds interesting. Can you elaborate?
by dunefox 4y ago
Sounds interesting. Can you elaborate?
- dreamcompiler 4y agoBasic idea is to divide the problem into two parts: The Fast and Dumb part and the Slow and Smart part. You can write the F&D part in assembler or C and implement it as a hard real time process. You can write the S&S part as a Lisp process that only has soft real time constraints. The two processes have to communicate somehow, e.g. message passing etc. As long as the F&D process is simple enough and of bounded length, it can continue to operate even if the Lisp process is delayed by GC. Not every real time problem can be subdivided in this way, but for those that can, Lisp can work well.