Closed zettelmuseum closed 4 years ago
I did a quick test with QuickJS and if I remember right it didn't compile with DJGPP. I'm planing to migrate to Duktape (for now). But before doing this I have some more testing on my list. This still includes QuickJS.
See here for some benchmarks: https://twitter.com/dec_hl/status/1203440011678552067
Oh, and when I tried QuickJS (not on DOS though) it was slower than Duktape: https://twitter.com/dec_hl/status/1202292770834137096
I tried some more scripts, some were much faster in quickjs, but quite a few were faster in duktape. So I think I was too enthusiastic (maybe because Fabrice Bellard is a legend. I'm using his tiny c compiler in dosbox and it's incredibly fast.)
For now Duktape is my favorite because I already ported my other project (jSH) successfully to it.
I benchmarked Duktape again (Linux and DOS) and (after some speed improvements over MUjS) I did a full port of DOjS to Duktape. Sadly this port turned out slower than the current. See my Twitter for a very short summary... https://twitter.com/dec_hl/status/1260943621030887428
Are you familiar with QuickJS?
https://bellard.org/quickjs/ https://bellard.org/quickjs/bench.html
Looks like is much faster and much more standards compliant than mujs/duktape. No idea how well it would work in DJGPP, though. Will have a closer look some time..