Replies: 2 comments 6 replies
-
deno is actually comparable fast to bun after the recent deno updates. and it also depends on the modules and frameworks you are using on top. deno astro and deno fresh was much faster than bun. |
Beta Was this translation helpful? Give feedback.
-
@deeprobin Vite already runs in deno. Use Instructions at denoland/deno#15427 (comment) See https://twitter.com/biwanczuk/status/1575206412296372232 and https://twitter.com/biwanczuk/status/1562784584978546689 And I recommend you don't miss Bartek's talk at ViteConf https://twitter.com/ViteConf/status/1565688339604422657 |
Beta Was this translation helpful? Give feedback.
-
Hey,
Vite is supposed to be a fast framework. Even if Deno is built on V8 just like Node and thus the code gene is the same, which accounts for a large part of the performance, Deno is still faster (and can also be used productively) 1.
Nevertheless, it must be clearly mentioned that Deno is not the fastest JavaScript runtime on the market. Bun surpasses this significantly, of course, but Bun is still very experimental 2.
Due to the fact that Deno is a really great runtime (I think many can agree) and additionally the security aspect is lived, there should also be a Deno implementation of Vite.
I am aware that this will be a big project with a lot of effort.
I am not talking about the possibility to deploy a Vite project under Deno, which is currently already possible, but about the whole Vite ecosystem.
For example there is
packages/vite/src/node
, but nopackages/vite/src/deno
.Feel free to leave feedback.
Footnotes
Benchmark Deno vs. Node / January 2021 ↩
Bun website with Benchmarks ↩
Beta Was this translation helpful? Give feedback.
All reactions