Hacker News new | past | comments | ask | show | jobs | submit login

> When webapp logic happens on the client side, that results in slow applications (n.b. for normal users on low-end hardware, not developers on high-end hardware) due to CPU costs.

Its not CPU. Its bad software written by people who are poorly trained and have no leadership.

Do you really need 10mb of JavaScript and 10 seconds of load time to dynamically put a few lines of text on the screen? Yes, absolutely you do, because people don't know how to do it efficiently. This is a people problem, and not a technology problem. Hardware does not solve that problem. The actual technology is actually insane fast. As a counterpoint my personal app loads an OS GUI with state restoration using 2mb of JS code (unminified) in about 150ms.




> because people don't know how to do it efficiently

Of course we do.

We just choose not to bother because delivering features efficiently is often more valuable than shaving off a few seconds of download time. Especially when it's typically once off and then cached.


> Of course we do.

Apparently not. A few seconds is a really big deal, but that is just download time while you are also clearly not accounting for execution time. Caching code will not save on execution time.


There are always edge cases e.g. running Amazon.

But in most cases execution time is negligible and a few seconds isn't a big deal compared to having more features.


If it takes seconds to execute more features you are doing it extremely wrong.




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

Search: