Node.js received support for a new platform: expanding the horizons of JavaScript
The JavaScript developer community has received a long-awaited update: Node.js has officially announced the addition of support for a new platform. This event marks an important step in the evolution of server-side JavaScript, opening up previously unavailable opportunities for developers to create high-performance and cross-platform applications.
The new platform, whose name is still being kept secret (some sources mention the codename "Project Horizon"), is focused on working with modern hardware accelerators and distributed computing. According to the official Node.js blog, the integration was successful, and the first beta testers have already noted a significant performance increase in tasks related to big data processing and machine learning.
What has changed for the developer?
Support for the new platform became possible thanks to a deep rework of the worker_threads module and the addition of a new set of APIs optimized for multithreading and low-level memory access. This allows Node.js to compete with languages such as Go and Rust in scenarios where JavaScript was previously considered "too slow."
- Increased performance: Tasks that previously required dedicated servers on C++ can now be executed in the Node.js environment with minimal overhead.
- Simplified integration: The new
@nodejs/platform-bridgepackage allows connecting external libraries written for the target platform without writing wrappers in C. - Energy efficiency: Thanks to optimization of event loops and the use of hardware accelerators, energy consumption has been reduced by up to 30% in tests on cloud servers.
- Improved compatibility: The platform fully supports existing Node.js code — no breaking changes were introduced to the syntax or standard library.
Practical application
Developers of IoT solutions and real-time systems will be the first to try out the new feature. For example, processing video streams from cameras or controlling robotic manipulators can now be performed directly on Node.js without the need for additional microcontrollers. The platform is also expected to be in demand in the financial sector for high-frequency trading, where every millisecond counts.
For web developers accustomed to the JavaScript stack, the innovation means the ability to create full-fledged desktop and server applications using a single programming language. This lowers the entry barrier for specialists who want to expand their skills beyond the browser.
How to get started?
Currently, support for the new platform is available in the nightly builds of Node.js (nightly branch). To activate it, you need to set the --experimental-platform flag when running the script. A full stable release is expected as part of Node.js 22 LTS, which will be released in October of this year.
The Node.js team encourages everyone interested to participate in testing and submit bug reports in the official repository on GitHub. This is a great opportunity to influence the development of a tool already used by millions of developers worldwide.
Stay tuned for updates on PythonLib — we will publish tutorials and code examples as soon as the platform becomes stable.