TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Vite 4.3 – Up to 3x faster dev cold starts

4 点作者 brillout大约 2 年前

1 comment

brillout大约 2 年前
Interestingly, Vite itself is written in a slow interpreted language (JavaScript&#x2F;TypeScript) while using compilers that are written in fast native languages such as ESBuild (written in Go).<p>It&#x27;s a nice showcase of successfully applying the strategy of focusing on hotpath performance instead of blindly making every line of code &quot;fast&quot;.<p>Also, Vite being written in JavaScript is much friendlier to the ecosystem. I myself made many PRs to Vite which I would have done much less if it involved a more complex language.<p>Shameless plug: I&#x27;m the author of <a href="https:&#x2F;&#x2F;vite-plugin-ssr.com" rel="nofollow">https:&#x2F;&#x2F;vite-plugin-ssr.com</a> which is a Next.js&#x2F;Nuxt alternative but with a &quot;do-one-thing-do-it-well architecture&quot;[1].<p>[1]: <a href="https:&#x2F;&#x2F;vite-plugin-ssr.com&#x2F;architecture#do-one-thing-do-it-well" rel="nofollow">https:&#x2F;&#x2F;vite-plugin-ssr.com&#x2F;architecture#do-one-thing-do-it-...</a>