星期二 04 下午 四月 22o 2025
Handling V8's memory usage and GC
#575 — April 22, 2025
Together with
Optimizing Node Performance with V8 GC Optimization — Matteo recently ▶️ gave a talk at dotJS about Node’s memory usage and decided to write it up into a blog post too. Matteo notes that high memory usage doesn’t necessarily mean you have a memory leak, explains how V8’s garbage collector works, and how you can tune things specifically for your own use case.
Matteo Collina
🍜 Tonkotsu Is a Reimagined IDE for JavaScript & TypeScript Developers — We’ve built a new developer experience that makes you the tech lead for a team of AI agents. We just started our FREE early access program and want to hear directly from early adopters. Sign up today.
Tonkotsu sponsor
Microsoft Warns About Node.js’ Role in Modern Malware — Microsoft’s security team is observing a sharp increase in the use of Node.js to deliver malware and other malicious payloads. This post digs into a couple of examples and what’s going on behind the scenes.
Microsoft
Node v20.19.1 (LTS) Released — You know it’s a quiet week when a .1 release is feature-worthy news. Little here except dependency bumps, though, but it’s always good to see an update of what remains a popular Node version (though Node 22 ‘Jod’ should now be your LTS version of choice, ideally).
Ulises Gascón
📄 Dependency-Free Command-Line Apps Powered by Node’s Core Modules – How far can you get without pulling in external modules? Liran Tal
📄 Float16Array in JavaScript – Understanding the 16-bit floating point array type. Coming to Node soon. Trevor I. Lasn
📄 The Best Node.js Observability Tools in 2025 – A comparison of seven approaches. Lizz Parody (NodeSource)
📄 When to Use map()
vs. forEach()
Matt Smith
🛠 Code & Tools
🤖 node-mlx 0.4: Machine Learning Framework for Node.js — Based upon Apple’s MLX framework targeting Apple’s own chips, node-mlx brings its power into the Node world.
zcbenz
Repomix: Pack Your Codebase Into AI-Friendly Formats — Enter a GitHub URL and choose various settings for the output (XML, MD, etc). It’s Node.js-based and available to use in a library-like form for your own tooling creations too. GitHub repo.
Kazuki Yamada
⭐ pnpm 10.9 – The alternative, efficient package manager. It can now be used to install JSR packages.
WebStorm 2025.1 – JetBrains’ JavaScript IDE – fresh with big AI, Angular, monorepo, and Next.js enhancements.
node-base64-image 2.1 – Encode/decode images to/from Base64 strings or Buffer objects.
express-sse 1.0 – Express middleware for ‘quick’n’easy’ Server-Sent Events.
MongoDB Node.js Driver 6.16 – The latest official MongoDB driver.
Dax 0.43 – zx
-inspired cross-platform shell tools for Deno and Node.
Gitbeaker 42.4 – Comprehensive typed library for GitLab’s SDK.
Schedule 6.0 – Scheduling module for the NestJS framework.
Fastify 5.3.2 – The fast, low overhead Node web framework.
zx 8.5.3 – Google’s tool for better Node shell scripting.
📢 Elsewhere in JavaScript
A roundup of some other interesting stories in the broader JavaScript landscape, in case you’ve missed them:
The ‘Records and Tuples’ ECMAScript proposal has been withdrawn due to lack of consensus within TC39. A proposal for introducing enums to JavaScript has, however, been advanced.
Mozilla has enabled its Temporal implementation by default as of Firefox 139.
Hako is a new JavaScript engine forked from PrimJS and built atop QuickJS. Its main feature is that it compiles down to WebAssembly so you can run JavaScript within embedded environments, such as within apps written in non-JS languages.
🤖 Microsoft’s Burke Holland ▶️ shows off VS Code’s new ‘agent mode’ feature which really makes Copilot far more powerful and a fine alternative to dedicated AI-powered editors. I’ve been using it a lot recently and it’s worth a try if you’re bored of Cursor, etc.
Got a link for us? Reply and tell us. We can’t include everything but we’ll look at anything you send. Thanks!
Sponsorship: Email [kristina@cooperpress.com](mailto:kristina@cooperpress.com)
for details.
Published by Cooper Press Ltd.
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
#575 — April 22, 2025
Together with
Optimizing Node Performance with V8 GC Optimization — Matteo recently ▶️ gave a talk at dotJS about Node’s memory usage and decided to write it up into a blog post too. Matteo notes that high memory usage doesn’t necessarily mean you have a memory leak, explains how V8’s garbage collector works, and how you can tune things specifically for your own use case.
Matteo Collina
🍜 Tonkotsu Is a Reimagined IDE for JavaScript & TypeScript Developers — We’ve built a new developer experience that makes you the tech lead for a team of AI agents. We just started our FREE early access program and want to hear directly from early adopters. Sign up today.
Tonkotsu sponsor
Microsoft Warns About Node.js’ Role in Modern Malware — Microsoft’s security team is observing a sharp increase in the use of Node.js to deliver malware and other malicious payloads. This post digs into a couple of examples and what’s going on behind the scenes.
Microsoft
Node v20.19.1 (LTS) Released — You know it’s a quiet week when a .1 release is feature-worthy news. Little here except dependency bumps, though, but it’s always good to see an update of what remains a popular Node version (though Node 22 ‘Jod’ should now be your LTS version of choice, ideally).
Ulises Gascón
📄 Dependency-Free Command-Line Apps Powered by Node’s Core Modules – How far can you get without pulling in external modules? Liran Tal
📄 Float16Array in JavaScript – Understanding the 16-bit floating point array type. Coming to Node soon. Trevor I. Lasn
📄 The Best Node.js Observability Tools in 2025 – A comparison of seven approaches. Lizz Parody (NodeSource)
📄 When to Use map()
vs. forEach()
Matt Smith
🛠 Code & Tools
🤖 node-mlx 0.4: Machine Learning Framework for Node.js — Based upon Apple’s MLX framework targeting Apple’s own chips, node-mlx brings its power into the Node world.
zcbenz
Repomix: Pack Your Codebase Into AI-Friendly Formats — Enter a GitHub URL and choose various settings for the output (XML, MD, etc). It’s Node.js-based and available to use in a library-like form for your own tooling creations too. GitHub repo.
Kazuki Yamada
⭐ pnpm 10.9 – The alternative, efficient package manager. It can now be used to install JSR packages.
WebStorm 2025.1 – JetBrains’ JavaScript IDE – fresh with big AI, Angular, monorepo, and Next.js enhancements.
node-base64-image 2.1 – Encode/decode images to/from Base64 strings or Buffer objects.
express-sse 1.0 – Express middleware for ‘quick’n’easy’ Server-Sent Events.
MongoDB Node.js Driver 6.16 – The latest official MongoDB driver.
Dax 0.43 – zx
-inspired cross-platform shell tools for Deno and Node.
Gitbeaker 42.4 – Comprehensive typed library for GitLab’s SDK.
Schedule 6.0 – Scheduling module for the NestJS framework.
Fastify 5.3.2 – The fast, low overhead Node web framework.
zx 8.5.3 – Google’s tool for better Node shell scripting.
📢 Elsewhere in JavaScript
A roundup of some other interesting stories in the broader JavaScript landscape, in case you’ve missed them:
The ‘Records and Tuples’ ECMAScript proposal has been withdrawn due to lack of consensus within TC39. A proposal for introducing enums to JavaScript has, however, been advanced.
Mozilla has enabled its Temporal implementation by default as of Firefox 139.
Hako is a new JavaScript engine forked from PrimJS and built atop QuickJS. Its main feature is that it compiles down to WebAssembly so you can run JavaScript within embedded environments, such as within apps written in non-JS languages.
🤖 Microsoft’s Burke Holland ▶️ shows off VS Code’s new ‘agent mode’ feature which really makes Copilot far more powerful and a fine alternative to dedicated AI-powered editors. I’ve been using it a lot recently and it’s worth a try if you’re bored of Cursor, etc.
Got a link for us? Reply and tell us. We can’t include everything but we’ll look at anything you send. Thanks!
Sponsorship: Email [kristina@cooperpress.com](mailto:kristina@cooperpress.com)
for details.
Published by Cooper Press Ltd.
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
发布者