Faster and easier-to-debug async functions and promises are coming to V8 v7.2 & Chrome 72!
@MayaLekova and @bmeurer shed some light on the recent @v8js improvements: https://v8.dev/blog/fast-async
New: JSBI, a pure-JavaScript BigInt implementation
JSBI makes it possible to use spec-compliant BigInt functionality *today*, in all browsers, without sacrificing compatibility.
https://github.com/GoogleChromeLabs/jsbi …
This page gives you an overview of all the #WebAssembly features that are currently being worked on in the CG:https://github.com/WebAssembly/proposals …
JavaScript array destructuring implicitly invokes the iteration protocol, which comes at a cost.
Now that this pattern is becoming more common (React Hooks, anyone?), @v8js is optimizing it to minimize the overhead.@bmeurer explains: https://bit.ly/array-destructuring-for-multi-value-returns …
What’s new in V8 v7.1? Embedded bytecode handlers, improved TurboFan escape analysis, postMessage(wasmModule), Intl.RelativeTimeFormat, and globalThis! https://v8.dev/blog/v8-release-71 …
In “WebAssembly disentangled”, Andreas Haas from the @v8js team explains the internal structure of a WebAssembly module and describes the purpose of its sections.
Video: https://www.youtube.com/watch?v=OekKui_QOpU …
Slides: https://speakerdeck.com/gahaas/webassembly-disentangled …
WebAssembly threads are now ready to try in Chrome 70, enabling multi-threaded web apps!
@alexanderdanilo explains: https://developers.google.com/web/updates/2018/10/wasm-threads …
The Intl.RelativeTimeFormat API enables localized formatting of relative times (e.g. “yesterday”, “42 seconds ago”, or “in 3 months”) without sacrificing performance.@mathias explains: https://developers.google.com/web/updates/2018/10/intl-relativetimeformat …
What’s new in V8 v7.0? WebAssembly threads, Symbol#description, and embedded built-ins on more platforms! https://v8.dev/blog/v8-release-70 …
In completely unrelated news, http://v8.dev is now open-source: https://github.com/v8/v8.dev
@leszekswirski’s presentation titled “@v8js code caching for JavaScript developers” is now available!
Video: https://skillsmatter.com/skillscasts/12178-code-caching-for-js-developers …
Slides: https://speakerdeck.com/leszekswirski/code-caching-for-js-developers …
The V8 project has a new website: https://v8.dev/
Just like V8 itself, we tried to make it fast and usable. Let us know what you think!
I gave another talk on code caching at Skills Matter, this time with a focus on JS developers: https://skillsmatter.com/skillscasts/12178-code-caching-for-js-developers …
DataViews are now as efficient as TypedArrays in @v8js v6.9, finally making DataViews a viable choice in performance-critical situations.
Here’s how we boosted DataView performance: https://v8project.blogspot.com/2018/09/dataview.html …
DataViews are now as efficient as TypedArrays in @v8js v6.9, finally making DataViews a viable choice in performance-critical situations.
Here’s how we boosted DataView performance: https://v8project.blogspot.com/2018/09/dataview.html …
Jest reduced their test runner time by 20% by switching from plain JavaScript objects to Maps where it made sense. https://github.com/facebook/jest/pull/6960 …
In general, don’t be afraid to use modern features! Focus on writing idiomatic code, and let JS engines worry about making it fast.
Happy 10th birthday to @v8js and @ChromiumDev!
Here’s an overview of how the @v8js project evolved during the last 10 years: https://v8project.blogspot.com/2018/09/10-years.html …
Happy 10th birthday to @v8js and @ChromiumDev!
Here’s an overview of how the @v8js project evolved during the last 10 years: https://v8project.blogspot.com/2018/09/10-years.html …
There are no more Tweets in this timeline.