I am wondering if Rails moved to esbuild a little too early.
Turbopack, the successor to Webpack
141–150 of 331 posts
Re: Turbopack, the successor to Webpack
#142Earlier quoted context omitted.
We’ve been doing JavaScript development for how many years now? And still no bundling options that are good enough? Or at least one that can continue to evolve vs. creating a successor, etc.
By my count its 23 years. The biggest issue in FOSS is folk don't wanna join a "good enough" project and move it. Sometimes the project is contributor hostile (rare?) And we end up with basically: "I'll build my own moonbase with blackjack and hookers!" All that starting from scratch costs loads of impossible-to- recover-time.
Re: Turbopack, the successor to Webpack
#143Earlier quoted context omitted.
In several places it is mentioned as a Rust library, but I don't see any links to it. Using google search I'm not finding a Rust library named "Turbo". Is the library open source, or available on crates.io / in a public repo somewhere?
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…
Re: Turbopack, the successor to Webpack
#144This is one of the Rust things, we just have to build everything from scratch :).
Re: Turbopack, the successor to Webpack
#145Re: Turbopack, the successor to Webpack
#146I am wondering if Rails moved to esbuild a little too early.
You know. This thing is created by the creator of webpack. The site looks very polished. His name, photo, and fancy autograph is there. Seems there's too much ego involved in this project. I tend not to trust architecture / quality / performance of people who made my programming life worse. :) I get a lot of deno feels here. I'll just be happy with esbuild.
Re: Turbopack, the successor to Webpack
#147Earlier quoted context omitted.
To throw another in the ring, I recently stumbled on https://github.com/t3-oss/create-t3-app . Lots of buzzword tech in there, but the setup looks very interesting. Looks like blitz is tRPC + next auth?
> Looks like blitz is tRPC + next auth? From what I understand Blitz is their own implementation of tRPC, their own Auth system, Prisma and Typescript support. Blitz is also more of a toolkit that wraps around NextJS currently, but later on Remix, Svelte and Vue. In future (probably in '23 and post 1.0) some things that may be coming are: - backend functionality ala NestJS - form component library - permissions (rbac…
Blitz auth was developed at the same time as next auth, and takes a more imperative approach which allows you to build more custom auth flows.
Re: Turbopack, the successor to Webpack
#148From my experience working with esbuild since it's early days, all I can say is to that there has been a very high bar set by esbuild's speed and ease-of-use. I've used it for all my web apps and services since and i've finally begun to like my front-end build chain, unbelievably.
Re: Turbopack, the successor to Webpack
#149The 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…
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
#150Earlier quoted context omitted.
In several places it is mentioned as a Rust library, but I don't see any links to it. Using google search I'm not finding a Rust library named "Turbo". Is the library open source, or available on crates.io / in a public repo somewhere?
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…