logoalt Hacker News

samrustoday at 4:09 AM2 repliesview on HN

> but modern computers are insanely fast, and browsers, insanely optimized

I think these facts have been used as excuses to shit up the app layer with slow mal-optimized js code.

An example of a recent high performance app is figma, which blows normal js only apps out of the water. And it does so by using c++ wasm/webGPU for its more domanding parts, which is most of it

I think we have to let go of the "just get more ram" approach and start optimizing webapp code like figma does


Replies

nine_ktoday at 5:16 AM

Exactly my point: if we're not sloppy, we can achieve amazing performance.

Capricorn2481today at 9:29 AM

> I think we have to let go of the "just get more ram" approach and start optimizing webapp code like figma does

I think you're underselling how much work went into making Figma that way. You're talking about a completely different realm of optimization that most companies won't spend money doing, and most web programmers won't know how to do.

As long as there's no incentive to do otherwise, companies will slap together whatever they can and ship as many features as possible.