I read a topic somewhere about someone wondering why people were using js instead of java with max, even though java was hundreds of times faster.
(Oops, put it in the wrong category)
Hi Pvdn !!!
did u saw it ? http://cycling74.com/forums/topic.php?id=4492 . i had problems with huge amount of iterations , js even hanged my max :/ but with relaxed flow its working pretty well .
ive read somewhere (cant find the thread) that we should not rely on JS considering time sensitive operation ,there is small (but present) latency around 1 .. 5ms .
I’m only doing some minor stuff: reading/setting the states of ui-elements, creating objects, storing/reading some internal data, etc.
By the way, I did some quick reading and was wondering: do you even have access to the patcher using java as with js (i.e. can you create or look up objects for example?).
#1 . im using JS for a very very similar operations ,and im happy with JS untill now :)
#2. im pretty sure that you can do the same and even more :)
It’s worth mentioning that it also depends how you write your code. For instance, using global variable can be significantly slower than using local variable.
C74 RSS Feed | © Copyright Cycling '74