Earlier quoted context omitted.
Right, they link to this docs page when referring to the memoization library: https://turbo.build/pack/docs/core-concepts And the github link at the top of the page links here: https://github.com/vercel/turbo but, despite being called "turbo", that seems to actually be the repo for Turbopack (the webpack alternative) not "Turbo" the library. Even digging a bit into the crates, I'm not sure where this supposed library…
The engine here are the creates called "turbo-tasks" and "turbo-tasks-*" extend it with more features. See a bit in https://github.com/vercel/turbo/blob/main/architecture.md#tu...
Turbopack, the successor to Webpack
171–180 of 331 posts
Re: Turbopack, the successor to Webpack
#172The Turbo memoization framework sounds interesting, but I don't see any code samples for what it looks like for Rust users, or how it compares to other Rust memoization/caching libraries…
Documentation here is one of the areas we need to work on. There's a bit in https://github.com/vercel/turbo/blob/main/architecture.md#tu... A small example of code that uses this is https://github.com/vercel/turbo/blob/main/crates/turbo-tasks... , which defines how we can load a `.env` file using FS read caching, cached `read` and `read_all` functions, etc.
Re: Turbopack, the successor to Webpack
#173Looks impressive, but proof will be in the actual day to day dev experience and configuration, not the perf. Vite and esbuild are fast enough, and I feel the winner will be more about usability, docs, easy config, etc. That aside, it is just so frustrating and sad that this just continues the fragmentation in the JS build space. It is beyond exhausting at this point. I don't care about vite vs (or with) esbuild vs tu…
> special snowflake build toolchains That reminds me, wasn't there a build tool called Snowflake? Oh, it was called Snowpack [1]. And it's no longer being actively maintained. Yeesh. [1]: https://www.snowpack.dev/
Re: Turbopack, the successor to Webpack
#174Parcel is plenty fast and is pretty much zero config, I can use it to build libraries[2] as well as applications[3] for the browser and node.
I am manly building client side react applications, so your mileage may vary.
Re: Turbopack, the successor to Webpack
#175Earlier quoted context omitted.
Just migrated one of our projects from webpack+babel+tsc to just webpack with esbuild-loader, the difference is astounding. Just need to remove webpack itself now so we can use their transforms.
Doesn't esbuild skip Typescript type checking? https://esbuild.github.io/content-types/#typescript You'll still need to keep tsc around for that, though perhaps you're doing that with another step in Webpack...?
Re: Turbopack, the successor to Webpack
#176Is there any actual proof that Turbopack is 10x faster than Vite at anything? I can't find any benchmark showing it.
I'm a little skeptical as well. Vite is fast I just checked a code base that's at ~900 modules, and vite is ready to serve dev requests in well under a second.
If you reload the second time will be much faster since it will serve from it's memory cache.
Re: Turbopack, the successor to Webpack
#177JavaScript is basically a Game of Thrones spin off by now.
Re: Turbopack, the successor to Webpack
#178I think the name isn't a great choice, given the already established Turbo ecosystem for Rails/Hotwire. Perhaps Rails can create a gem that makes migrating from one version to the next easier, a Version Compatibility Enhancement Library, calling it VerCEL for short.
Re: Turbopack, the successor to Webpack
#179I am wondering if Rails moved to esbuild a little too early.
Comparing an alpha just open-sourced today to an established tool like esbuild isn't even a fair comparison, for either tool.