assurance-tunnel
assurance-tunnel
assurance-tunnel
assurance-tunnel

[ANSWERED] JavaScript v8 - What Version?


  • Beta Platinum

    Hi there all,

    Just wondering or anyone knows what version of the v8 engine the JavaScript support of Izzy is built on ? This has to do with checking or an certain feature is supported in the v8 engine version that is implented in Izzy

    @DusX any idea ?



  • @juriaan

    7.0.276.20 - released on October 2018

    Best Wishes,
    Mark



  • @juriaan

    One other thing: with v8 being updated so rapidly, I'm not several versions behind. It's kind of impossible to realisitically keep up with this on our end, especially since the Javascript actor is necessarily complex to support v8. I'd like an opinion on how important it is to update this and how frequently you think it needs to happen.

    Best Wishes,
    Mark


  • Tech Staff

    I would like to be able to find the version inside Isadora. (like Juriaan mentioned, the version can help determine if certain JavaScript features are available).
    Perhaps the Actor text could display the version number?

    As for how regularly to update, this is hard. ECMAScript is still evolving and being to V8, (I'm not sure of the current status), so with each new build some nice features (like Classes) are being added.
    Generally these new features are just 'nicer' syntax, not really providing new capabilities (not in the JS core engine at least), so its not stopping any custom scripting from being created.
    It could, however, stop some libraries from being usable (I haven't personally run into this yet). But the larger issue with Libs is probably that most are now made for NodeJS, and can't always be ported to Isadora easily.



  • @dusx said:

    I would like to be able to find the version inside Isadora. (like Juriaan mentioned, the version can help determine if certain JavaScript features are available).Perhaps the Actor text could display the version number

    This could easily be in the actor's help text.

    Thanks for the thoughts about updating... it's good to understand what it is that they are actually updating.

    Best Wishes,
    Mark


  • Beta Platinum

    Hi there @mark

    I agree with @DusX would be awesome if we can have the version in the help text.


    Personally I would love to see an update to https://v8.dev/features/subsum... basically the feature allows future proof UTF-8 encoding for JSON strings. Something that happens quite often in the modern age. For example, directors that ask for UTF-8 encoded characters in strings that we have to recall. I believe that all other text features of Isadora already supports UTF-8 encoded strings.

    Other then that, I partly agree with DusX regarding the syntax comment, still UTF-8 features are missing to say one.