Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> There are websites that genuinely need to run some code, like webmails,

Not really, not if you think about it. Webmail doesn't need anything more than html(<5)+css.

> online trading platforms

Ditto.

> online games

Honestly, I think running webgames in a super-sandboxed flash (or similar) runtime is the best thing to do. Again, no use for js on the web.



>Honestly, I think running webgames in a super-sandboxed flash (or similar) runtime is the best thing to do.

Why is one ECMAScript sandbox (flash) so much better than another?


Because it came with an awesome IDE/editor.


Yeah lets all just use bash commands to browse the web, way more secure and sure you can get the information you need... oh wait wasn't that 20 years ago?


And it would still be possible if web standards didn't accrue so many capabilities that allowed people to treat them as a new medium of publishing color magazines (with invasive tracking as a cherry on the cake).


Built-in JavaScript has a better security track record than Flash and it’s ActionScript engine.


That's true, but probably only because writing games and animations in js is sooooooooooo much harder than doing the same in flash.


>Not really, not if you think about it. Webmail doesn't need anything more than html(<5)+css.

Because redownloading the entire page every time you click a button is such a great experience...


The page without the javascript? It likely would be, since that would be much smaller.


That Javascript would already be cached and have no impact on further page loads.

Clicking "star" and losing your half-typed message would be very impactful, though.




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

Search: