News for hackers. Stuff that matters.
Re:QuickJS JavaScript Engine by duxup on Friday July 12, 2019 @10:24AM (#20420951)
Thank you for your example!

Does the the application basically pass data to a user script (the user knows JS so it is useful for them?), and then the JS returns the data after processed?

Amusingly I asked the question and remembered that I actually worked on (supported) a hardware product that did this to some extent. It was a disaster as the scripting language would eat memory / cpu and crash the box ;)

Re:QuickJS JavaScript Engine by CamperBob2 on Friday July 12, 2019 @03:32PM (#20423670)
Correct, the application acquires data from hardware and allows the user to access it from their own JavaScript code. This is useful for automated test, report generation, debugging, things like that. Crashing is bad for customer relations. :) V8 has performed well in that regard, no complaints there. I just don't see why it has to be so massive.