Rob Palmer

@robpalmer
565 Followers
243 Following
81 Posts
JavaScript Infrastructure & Tooling at Bloomberg. Co-chairing TC39. Likely to post about JS & software performance. Opinions are my own.

📢 A blog post by @littledan on contributions to Node from TechAtBloomberg

The article covers...

🔸 Performance: Code caching, startup snapshots, lazy loading
🔸 WinterCG: AsyncContext
🔸 Funding: Direct sponsorship & other models

https://www.nearform.com/blog/bloomberg-invests-in-node-js-shouldnt-you/

Bloomberg Invests in Node.js. Shouldn’t You? - NearForm

Read this blog post to discover how Bloomberg invests in Node.js and learn about the company’s talk at this year’s NodeConf EU.

NearForm Enterprise Software Solution Development
TS 5.3 will be 20% smaller than TS 5.2

These performance wins when capturing heap snapshots using the Memory tab in Chrome DevTools can range between 2x and 100x depending on the use-case 🔥

You can benefit from this improved debugging performance today in Chromium 115 or Node 20.5 which was published one week ago 🎉

Luckily TechAtBloomberg have a decade-long collaboration with Igalia that means we can call on the best folk in the industry to solve these problems for all of us 🤝

José Dapena took the ball and scored two major wins to reduce heap capture times via better hashing and caching 👍

The story began when Ashley Claymore was investigating a memory leak. Taking the heap snapshot took 10 minutes 😯

He knew something was not right and passed the ball to our performance team. Jason Williams investigated further using the Windows Performance Analyzer 🕵️

📣 Debugging memory problems in Chrome DevTools is now super fast ⚡

José Dapena has made heap snapshots *much* quicker based on investigations by Jason Williams & Ashley Claymore and funding from TechAtBloomberg 🎉

🧵

https://v8.dev/blog/speeding-up-v8-heap-snapshots

Speeding up V8 heap snapshots · V8

This post about V8 heap snapshots presents some performance problems found by Bloomberg engineers, and how we fixed them to make JavaScript memory analysis faster than ever.

JavaScript mixes in regular 'small but helpful' features while the big things like Temporal, Type Annotations and Intl Message Format get defined and built out, Justin Ridgewell @vercel told me in my new look at what's over the horizon for ECMAScript. I talk to @robpalmer and @littledan about how JavaScript gets developed in TC39, what Type Annotations bring from TypeScript without changing what JavaScript is and what the future directions for the language might look like https://thenewstack.io/whats-next-for-javascript-new-features-to-look-forward-to/
What's Next for JavaScript: New Features to Look Forward to

Useful types and modern tools to make internationalizing your sites and web apps easier, plus hints at what might come later for JavaScript.

The New Stack

How does Code Caching work for Chromium's V8 JavaScript compiler?

Deep dive by Leszek Swirski on how repeat views not only leverage the browser cache for the network response, but also the compiler bytecode. It even includes a limited amount of state snapshot if the initial execution appears deterministic (eg save runtime execution logic for defining and exporting functions).

Good reason to keep library code definitions simple.

https://v8.dev/blog/code-caching-for-devs

#webperf #v8 #spidermonkey #chromium

Code caching for JavaScript developers · V8

(Byte)code caching reduces the start-up time of commonly visited websites by caching the result of JavaScript parsing + compilation.

Now in @rollupjs v3.24.0, `#__NO_SIDE_EFFECTS__` annotation is supported to mark function declarations as side-effects free. You might not need to add `#__PURE__` to every call anymore, while providing more optimized bundles!

Thanks a lot to @lukastaegert's great support and fast release!

https://github.com/rollup/rollup/pull/5024

feat: support `#__NO_SIDE_EFFECTS__` annotation for function declaration by antfu · Pull Request #5024 · rollup/rollup

This PR contains: bugfix feature refactor documentation other Are tests included? yes (bugfixes and features will not be merged without tests) no Breaking Changes? yes (breaking change...

GitHub

"News from WWDC23:
WebKit Features in Safari 17 beta" https://webkit.org/blog/14205/news-from-wwdc23-webkit-features-in-safari-17-beta/

Genuinely impressed with all the stuff landing in Safari lately. The pace has been kind of unbelievable.

News from WWDC23: WebKit Features in Safari 17 beta

It’s been a fantastic year for WebKit.

WebKit