タグ

ブックマーク / v8.dev (2)

  • V8 release v8.0 · V8

    If pointer compression piqued your interest, be on the lookout for a full blog post with more details. Optimizing higher-order builtins #We recently removed a limitation within TurboFan’s optimization pipeline that prevented aggressive optimizations of higher-order builtins. const charCodeAt = Function.prototype.call.bind(String.prototype.charCodeAt); charCodeAt(string, 8);So far, the call to char

    nilab
    nilab 2019/12/20
    "It’s finally here. Every V8 release, every six weeks when we branch as part of our release process, the question comes up about what will happen when V8 hits version 8. Will we have a party? Will we ship a new compiler? Will we skip versions 8 and 9 and just stay at an eternal V8 version X?"
  • Public and private class fields  |  Web  |  Google Developers

    Show navigation Several proposals expand the existing JavaScript class syntax with new functionality. This article explains the new public class fields syntax in V8 v7.2 and Chrome 72, as well as the upcoming private class fields syntax. Here’s a code example that creates an instance of a class named IncreasingCounter: const counter = new IncreasingCounter(); counter.value; // logs 'Getting the cu

    nilab
    nilab 2019/05/04
    「The new private fields syntax is similar to public fields, except you mark the field as being private by using #.」
  • 1