News for hackers. Stuff that matters.
Re:Vercel announces Turbopack, the successor to Webpack by Nathanba on Wednesday October 26, 2022 @12:58AM (#33340010)
I recompile on every save too, all with full typechecking in under a second. As I've suspected, this is probably because most people here work in bigcorp projects where there are so many thousands of files that you cant work like this anymore. It's not because it's actually better workflow wise, it's only better for you now because otherwise the compilation is too slow. Same as the situation that has developed with Rust.
Re:Vercel announces Turbopack, the successor to Webpack by Vinnl on Wednesday October 26, 2022 @03:04AM (#33340667)
I don't, and I think maybe you should reconsider your assumptions about literally every single person replying.

Your assumption (from your first comment) is that people only run bundling. That's not the case. People run bundling in parallel to type checking, rather than in series. You still get the type checking benefits without blocking your build on it and thus slowing down your dev process.

Re:Vercel announces Turbopack, the successor to Webpack by Nathanba on Wednesday October 26, 2022 @05:59AM (#33341643)
>Your assumption (from your first comment) is that people only run bundling

that was never my assumption

Re:Vercel announces Turbopack, the successor to Webpack by Vinnl on Thursday October 27, 2022 @02:55AM (#33354126)
Did sound like it:

> why would anyone want only bundling

Re:Vercel announces Turbopack, the successor to Webpack by jorams on Wednesday October 26, 2022 @04:38AM (#33341214)
> most people here work in bigcorp projects where there are so many thousands of files that you cant work like this anymore

This is not a bigcorp thing. The Typescript compiler starts becoming annoyingly slow much earlier. I have a project that's one 2000-line TS file that already takes 1.5 seconds to compile. Not yet slow enough to be frustrating, but ridiculous for the amount of code.