\kr file
The script file.k in the current OS directory is converted into a runtime program file.kr. Such programs are compiled and encoded K code, and may be loaded into both the developer and runtime versions of K (see Load). Note that unencoded scripts of the form file.k may not be loaded into runtime K.
from the K3 spec
I feel like the startup time of some of my scripts is problematic and was wondering if there was support for compiled k
To view this discussion on the web visit https://groups.google.com/d/msgid/kona-user/bfc71246-0247-40cf-bd08-6e94ad6a0aa8n%40googlegroups.com.
Our results show that both systems indeed reach performance close to Node.js/V8. Looking at interpreter only performance, our AST interpreters are on par with, or even slightly faster than their bytecode counterparts. After just-in-time compilation, the results are roughly on par. This means bytecode interpreters do not have their widely assumed performance advantage. However, we can confirm that bytecodes are more compact in memory than ASTs, which becomes relevant for larger applications. However, for smaller applications, we noticed that bytecode interpreters allocate more memory because boxing avoidance is not as applicable, and because the bytecode interpreter structure requires memory, e.g., for a reified stack.
You received this message because you are subscribed to a topic in the Google Groups "Kona Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kona-user/SvdW49SrgfI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kona-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kona-user/3593B0FA-7C18-486A-B893-5C90E764A69D%40iitbombay.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/kona-user/CABn7SNa_YNNSqk4YKJSMx7j81fnp1E3MCrfkQL%3D4q_t9wdB1ow%40mail.gmail.com.