Hacker Newsnew | past | comments | ask | show | jobs | submit | christophilus's commentslogin

This is the way. Trivial to get live reloading working. HMR is overrated. I went with esbuild in my last project, and have no regrets. Also, used my own 100-line end-to-end typed RPC layer with Zod validation doing the heavy lifting. No codegen required for any part of the project other than generating types from Postgres. No regrets there, either. The only thing I would have changed in that project is I would have used Kysely instead of just raw porsager.

But, it doesn’t need to be so. Go is pretty fast to compile. So is Jai, from what I’ve seen. So was TurboPascal. Rust has a similar problem to the one Vite has been solving- Rust (and most languages) weren’t designed for compilation speed, and it’s hard to retroactively fix that. But, there’s no reason we shouldn’t have a bunch of statically typed, fast-to-compile languages.

I agree with your remark, only that Rust's current problem is tooling, not the language itself.

See OCaml or Haskell, they also have interpreters and REPLs as part of their tooling.

Also there should be no need to always compile crates from scratch when starting a new project.

Which ironically circles back to your remark of having a similar problem.


Next is the Microsoft Sharepoint of the JavaScript world. It’s a terrible solution to just about anything, and yet gets crammed into places and forced on people due to marketing-led decision making.

It depends on your application, but for typical SPAs, there are any number of approaches which are better than next by every metric I (personally) care about.

Care to list those?

It blows my mind that there is a 12m build for a JavaScript application. How may lines of code is this app?

Seems to be around 1 million. It's chunky and it's probably not well optimised for the build to be honest, but it was only starting to creep up the priority list as it crossed the 10m mark.

This is also the length on our CI which is running on some POS build machine. Locally it's far faster, but with Vite 8 its crazy fast.


My banking site takes 10 seconds to LOAD...I hate thinking how long it must take them to compile it

I am still trying to work out what Teams is "setting up for me" when it takes several seconds from opening the bookmark in my browser to having a UI where I can read the chats. It's running on a PC that can render complex graphical scenes in real time but it takes half a minute to see "LGTM!". (Shaking head emoji goes here.)

Then again Teams is still barely an amateur compared to the incomprehensible slowness of Jira.


Can't remember where I heard it-- some MD on a podcast recently-- but he mentioned distance running increases visceral fat in your muscles and around your organs when compared to HIIT and weight training, and visceral fat is generally a health risk indicator.

Visceral fat is fat around organs. It doesn't exist in muscles. I highly doubt that distance running increases visceral fat, that sounds made up. It may be that weight lifting is better for losing visceral fat, but that doesn't mean distance running is bad.

I agree. Agents are a form of leverage. Leverage accelerates things in all directions. You can use it to fuel massive growth and to accelerate bankruptcy.

They replaced the text "tab" and "caps lock", etc with icons. Not a fan of this.

> lacking the context around how the change was produced, the plans, the prompting, to understand how an engineer came to this specific code change as a result. Did they one-shot this? did they still spend hours prompting/iterating/etc.? something in-between?

In my opinion, you have to review it the way you always review code. Does the code do what it's supposed to do? Does it do it in a clean, modular way? Does it have a lot of boilerplate that should be reduced via some helper functions, etc.

It doesn't matter how it was produced. A code review is supposed to be: "Here's this feature {description}" and then, you look at the code and see if it does the thing and does it well.


It does, but iirc, it’s only an explorer and isn’t able to delete, rename, or create.

Been playing with agent strategies, vibe coding this: https://github.com/hbbio/rc that uses helix by default

Using it already (the granular branch) but it's far from stabilized...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: