Re: [Factor-talk] Threaded Code?

2017-02-15 Thread Björn Lindqvist
Yes, you are right! But the Wikipedia article talks about many different techniques. It talks about storing subroutine addresses into arrays and having the system execute code by calling each of those addresses in turn, like a byte-code interpreter. That's not what Factor does because indirectly

Re: [Factor-talk] Threaded Code?

2017-01-31 Thread Levi Pearson
https://concatenative.org/wiki/view/Factor/Non-optimizing%20compiler Apparently the JIT for the interactive non-optimizing compiler generates subroutine threaded code with some inlining. I wouldn't call it a compiler optimization; maybe an interpreter optimization or a simple compiling

[Factor-talk] Threaded Code?

2017-01-31 Thread Alexander Ilin
Hello! Does Factor use threaded code in any way? https://en.wikipedia.org/wiki/Threaded_code ---=--- Александр -- Check out the vibrant tech community on one of the world's most engaging tech sites,