News for hackers. Stuff that matters.
Re:Jsc: My New Best Friend by slmjkdbtl on Wednesday August 25, 2021 @09:32PM (#28309498)
For embedding JS is there a reason to use Apple JavascriptCore over other libs like quickjs?
Re:Jsc: My New Best Friend by jitl on Wednesday August 25, 2021 @10:20PM (#28309838)
QuickJs is quite slow compared to JIT engines when you’ll have a long running workload. The major advantage of QuickJS is simplicity - its trivial to compile with Emscripten [for example](https://jake.tl/projects/quickjs-emscripten), but if performance is a concern then I’d stick to the JIT engines.