|
|
|
|
|
by c-smile
465 days ago
|
|
Slightly orthogonal... In my Sciter, that uses QuickJS (no JIT), instead of JIT I've added C compiler. That means we can add not just JS modules but C modules too: import * as cmod from "./cmodule.c"
Such cmodule will be compiled and executed on the fly into native code. Idea is simple each language is good for specific tasks. JS is flexible and C is performant - just use right tool that is most optimal for a task.c-modules play two major roles: FFI and number crunching code execution. Sciter uses TCC compiler and runtime. In total size of QuickJS + TCC binary bundle 500k + 220k = 720k. For the comparison: V8 is of 40mb size. https://sciter.com/c-modules-in-sciter/
https://sciter.com/here-we-go/ |
|
> In almost 10 years, Sciter UI engine has become the secret weapon of success for some of the most prominent antivirus products on the market: Norton Antivirus and Internet Security, Comodo Internet Security, ESET Antivirus, BitDefender Antivirus, and others.
What an intriguingly specific niche of customer! How come all these different anti-virus companies decided to use your platform?