search
HomeWeb Front-endJS TutorialWhat is Evan You doing by creating VoidZero, and what are the issues with JS toolchains?

Hi there, my name is Fupeng Wang.

I am a senior full-stack engineer, and author of a 17.5k open-source project, PMP. Now I am developing a Notion-style knowledge base
HuashuiAI including AI writing and collaboration, using React Nextjs and Supabase.

Evan You and VoidZero

Two months ago, Vue and Vite author Evan You announced the establishment of VoiceZero company and received millions of dollars in investment.

VoidZero will be based on Vite and develop two major tools, Rolldown and Oxc, to unify the front-end JS toolchain. Resolve issues such as fragmentation, incompatibility, and low efficiency.

The VoidZero core tool is developed in Rust language, with high running efficiency and fast speed.

What is Evan You doing by creating VoidZero, and what are the issues with JS toolchains?

What are the issues with JS toolchains

The JS toolchain mainly includes processes such as semantic analysis, transformer, linter, transformer, minifier, bounder, etc.

How are we currently using these types of tools? What tools are currently available? What is the relationship between them? Are they really inefficient and fragmented? Let's introduce them one by one below.

What is Evan You doing by creating VoidZero, and what are the issues with JS toolchains?

Note that their relationship is somewhat chaotic, with some being able to compile and package, and having a lot of overlapping functions, so there is no need to forcefully classify and compare them.

JS runtime

The so-called runtime refers to the runtime environment of a language. If there is no runtime, then a language is just a string or string file that cannot be parsed and run.

  • Nodejs is the most common JS runtime, which is stable, mature, and has a very rich ecosystem.
  • Deno is a JS runtime developed in recent years, focusing on TS support and network security. It received a $20M investment in the first two years and recently released Deno 2.0, which is currently developing rapidly
  • Bun JS runtime, Focus on performance and all-in-one
// Nodejs Deno 或 Bun,都是写 JS 代码
const server = Bun.serve({
  port: 3000,
  fetch(request) {
    return new Response("Welcome to Bun!");
  },
});

console.log(`Listening on localhost:${server.port}`);

Note: The JS runtime is not a part of the JS toolchain, it is just the most basic capability, but understanding these tools and terms can help distinguish them from the JS toolchain. You may not have used it, but you need to know its existence and what it does.

Parser/Compiler

Web front-end development needs to consider compatibility with various browsers, as modern browsers are not yet able to directly run TS JSX and the latest ES code.

So, we need to convert TS JSX ES and other code in the development environment into JS code that can be executed by the browser, usually ES5.

What is Evan You doing by creating VoidZero, and what are the issues with JS toolchains?

Babel was one of the first to do this job, developed using JS, with a rich ecosystem and plugins, and has long been integrated into packaging tools such as webpack rollup.

But Babel is developed in JS, so its running efficiency is relatively low. Moreover, Babel requires manual configuration when compiling TS JSX, which is quite cumbersome.

SWC is a JS compiler developed in Rust language, which is 20-70 times faster than Babel (on different CPUs), and natively supports TS and JSX syntax, aiming to replace Babel. Vite uses SWC internally.

Rspack is developed using the Rust language, but it is not just a JS compiler. It is a comprehensive packaging tool with high efficiency.

Like Rspack, ESBullid is developed using the Go language and is a comprehensive packaging tool that includes a JS compiler, making it highly efficient.

What is Evan You doing by creating VoidZero, and what are the issues with JS toolchains?

Linter & Formatter

The commonly used ones in this section are ESLint and Prettier, but there are also some confusion in their usage

  • There are many configuration standards for ESLint (such as Recommended, Airbnb, Google, StandardJS, etc.), and everyone may use them differently. Different projects may also have different configurations
  • ESLint and Prettier have some duplicated functions, making it difficult to choose when using them, and there may be duplicate configurations

What is Evan You doing by creating VoidZero, and what are the issues with JS toolchains?

Minifier

UglifyJS was one of the first used to compress JS code, and now its download volume is also very large.

Terser is developed based on the UglifyJS source code, supporting ES6 new syntax and optimizing tree shaking.

However, new tools such as SWC and esbulid now also support JS code compression, and their execution efficiency is higher. After all, Rust or Go inherently have much higher execution efficiency than JS.

Boundler

Packagers are the ones we most frequently come into contact with, such as Webpack Vite and Parcel. The latter may not be commonly used, but it is also a well-established tool.

Vite uses SWC as an interpreter, which is highly efficient. Use esbulid for packaging in the development environment, and rollup for packaging in the production environment.

Meanwhile, esbulid (developed in Go language, as introduced earlier) and rollup can also be used separately as packaging tools, and many third-party JS plugins are packaged using rollup.

Turbopack is a JS packaging tool developed by Vercel using Rust for Next.js projects, and can also be used independently.

Rspack is a JS packaging tool developed using Rust (along with a JS compiler), which can replace webpack and is very fast.

What is Evan You doing by creating VoidZero, and what are the issues with JS toolchains?

SWC is also developing its own packaging tool swcpack - with so many, do you think it's messy? Is it fragmented?

What is Evan You doing by creating VoidZero, and what are the issues with JS toolchains?

Why use Rust

You may be curious, why do so many tools need to be developed in Rust language? There are two main points

  • Rust is a compiled language that can be compiled into native code and run directly, with performance comparable to C
  • Rust memory management is safer, while C memory management is more prone to bugs

The End

Looking back at three issues with JS toolchains

  • Fragmentation: This is too obvious, there are a lot of repetitive tools in various fields, especially boulders
  • Incompatibility: Old tools have compatibility with new syntax, especially TS JSX, and require excessive configuration
  • Low efficiency: This is also very obvious. In the tool field, JS cannot do as well as Rust, and it is only a matter of time before it is eliminated (don't panic: this is only the tool field, and the application field is still JS and TS)

So, Vue author Evan You has a sharp eye, looks very accurately, and can directly point to problems. Moreover, he has a strong advantage and grip in this part, which is Vite. Vite now has a large number of users and can serve as a good entry point.

When web frameworks such as Vue and single tools such as Vite encounter bottlenecks in their development, Evan can break out of this circle, discover higher-level problems, and be able to execute them on the ground. This is something we should learn from.

Finally, with so much investment, VoidZero needs a return on investment. How will it be commercialized in the future? It's impossible to charge Vite directly, so how can we make money?

Follow me, I will analyze in detail in the next section. This will be more valuable than technology and code.

By the way, I am looking for an international job opportunity, if you have a chance, welcome to connect me on my Github profile.

The above is the detailed content of What is Evan You doing by creating VoidZero, and what are the issues with JS toolchains?. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
JavaScript Applications: From Front-End to Back-EndJavaScript Applications: From Front-End to Back-EndMay 04, 2025 am 12:12 AM

JavaScript can be used for front-end and back-end development. The front-end enhances the user experience through DOM operations, and the back-end handles server tasks through Node.js. 1. Front-end example: Change the content of the web page text. 2. Backend example: Create a Node.js server.

Python vs. JavaScript: Which Language Should You Learn?Python vs. JavaScript: Which Language Should You Learn?May 03, 2025 am 12:10 AM

Choosing Python or JavaScript should be based on career development, learning curve and ecosystem: 1) Career development: Python is suitable for data science and back-end development, while JavaScript is suitable for front-end and full-stack development. 2) Learning curve: Python syntax is concise and suitable for beginners; JavaScript syntax is flexible. 3) Ecosystem: Python has rich scientific computing libraries, and JavaScript has a powerful front-end framework.

JavaScript Frameworks: Powering Modern Web DevelopmentJavaScript Frameworks: Powering Modern Web DevelopmentMay 02, 2025 am 12:04 AM

The power of the JavaScript framework lies in simplifying development, improving user experience and application performance. When choosing a framework, consider: 1. Project size and complexity, 2. Team experience, 3. Ecosystem and community support.

The Relationship Between JavaScript, C  , and BrowsersThe Relationship Between JavaScript, C , and BrowsersMay 01, 2025 am 12:06 AM

Introduction I know you may find it strange, what exactly does JavaScript, C and browser have to do? They seem to be unrelated, but in fact, they play a very important role in modern web development. Today we will discuss the close connection between these three. Through this article, you will learn how JavaScript runs in the browser, the role of C in the browser engine, and how they work together to drive rendering and interaction of web pages. We all know the relationship between JavaScript and browser. JavaScript is the core language of front-end development. It runs directly in the browser, making web pages vivid and interesting. Have you ever wondered why JavaScr

Node.js Streams with TypeScriptNode.js Streams with TypeScriptApr 30, 2025 am 08:22 AM

Node.js excels at efficient I/O, largely thanks to streams. Streams process data incrementally, avoiding memory overload—ideal for large files, network tasks, and real-time applications. Combining streams with TypeScript's type safety creates a powe

Python vs. JavaScript: Performance and Efficiency ConsiderationsPython vs. JavaScript: Performance and Efficiency ConsiderationsApr 30, 2025 am 12:08 AM

The differences in performance and efficiency between Python and JavaScript are mainly reflected in: 1) As an interpreted language, Python runs slowly but has high development efficiency and is suitable for rapid prototype development; 2) JavaScript is limited to single thread in the browser, but multi-threading and asynchronous I/O can be used to improve performance in Node.js, and both have advantages in actual projects.

The Origins of JavaScript: Exploring Its Implementation LanguageThe Origins of JavaScript: Exploring Its Implementation LanguageApr 29, 2025 am 12:51 AM

JavaScript originated in 1995 and was created by Brandon Ike, and realized the language into C. 1.C language provides high performance and system-level programming capabilities for JavaScript. 2. JavaScript's memory management and performance optimization rely on C language. 3. The cross-platform feature of C language helps JavaScript run efficiently on different operating systems.

Behind the Scenes: What Language Powers JavaScript?Behind the Scenes: What Language Powers JavaScript?Apr 28, 2025 am 12:01 AM

JavaScript runs in browsers and Node.js environments and relies on the JavaScript engine to parse and execute code. 1) Generate abstract syntax tree (AST) in the parsing stage; 2) convert AST into bytecode or machine code in the compilation stage; 3) execute the compiled code in the execution stage.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft