I have the need to run code every 5 ms that is time-critical.
I looked at https://docs.cycling74.com/max7/vignettes/jstaskobject
But it clearly says : "the function runs in a low-priority thread. Therefore you should avoid using a Task function in a time-critical operation."
Could node 4 live be a solution in that case?
What is the thread priority of the Node.js thread run by max msp?
I also don't want to compile C nor Java.
I am not looking for a solution that is "real time". Just a solution where I'm not stuck in a low-priority thread.