Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Doesn't Rollup already use quite a bit of rust[0]? It's actually why I had to abandon it for a project, where they didn't offer binaries for our build platform and I needed to bundle, like 2 ES6 javascript libraries so I just grabbed esbuild instead.
[0] https://github.com/rollup/rollup/tree/master/rust
Based on my experience in writing JS tooling (https://github.com/steelbrain/pundle / https://aneesiqbal.ai/2020-05-17-what-i-dont-like-about-node... ), even if rollup stayed in js and continued to use magic string, but somehow gained multi-core capabilities and cheaper memory operations, it may be able to somewhat compete with the rust tooling.
JS tooling is mostly single threaded. It is expensive to stringify a large AST and then parse it again over IPC v just transferring an object (which is not allowed by runtime). This cost incentives more things happening in the same thread, so there’s a limit to how fast you can be with JS