• [^] # Re: Surprise

    Posté par (site web personnel) . En réponse au journal Lisaac: sorti de la 0.39beta. Évalué à 2.

    Si le code est natif, tu fais ce que tu veux. Tu es obligé d'avoir une VM pour gérer tout ce qui est sécurité.

    Pour la partie compilé, j'aime beaucoup comment il rende le code "rapide" : il change le langage !


    The other major performance improvement added to JScript .NET is the introduction of Option Fast. This option tells the compiler to enforce certain rules that allow additionally optimizations, at the cost of some reduced functionality. When Option Fast is enabled, the following JScript behavior is activated:

    * You must declare all variables.
    * You cannot assign values to, or redefine, functions.
    * You cannot assign to, or delete, predefined properties of the built-in JScript objects.
    * You cannot add expando properties to the built-in objects.
    * You must supply the correct number of arguments to function calls.
    * The arguments property is not available within function calls.

    The new Option Fast feature helps you write faster code, but it does change the behavior of the language—so just adding Option Fast to an existing JScript program may result in one or more compiler errors. Nevertheless, with some small changes to your program, you should see some significant performance improvements.


    Il n'y a pas de phase d'interprétation, uniquement de la compilation.

    Je veux bien une source. Car cela m'étonnerait qu'un .NET soit entièrement compilé avant utilisation, ce qui aurait des startup time catastrophique (ou des performances catastrophiques).

    "La première sécurité est la liberté"