News for hackers. Stuff that matters.
Re:Ask HN: If we could redesign the Internet from scratch, w... by nubbee on Thursday December 18, 2014 @09:18AM (#8767269)
IMO the greatest change would not be in tcp/ip and below, but in http and up. If you had no knowledge of the current web, and I would pitch you html, css and js, you'd probably think it was a bad idea. Why would you use interpreted scripts over binaries if speed is mission critical. First you encapsulate your data in a markup language only to be parsed/converted back by the receiver, ridiculous. It also lacks semantics to make dynamic web applications readable for machines, not to mention the XSS vulnerability in the markup language that would make server side application unnecessarily complex. What a weak proposal, would never work.
Re:Ask HN: If we could redesign the Internet from scratch, w... by jephir on Thursday December 18, 2014 @10:09AM (#8767520)
I agree, there aren't that many problems in IP compared to the www stack. Imagine if we had bytecode instead of Javascript, the web would be years ahead in terms of being able to create games, video editors, etc. and other high performance apps in the browser. Javascript has basically become a poor substitute for an actual assembly language.
Re:Ask HN: If we could redesign the Internet from scratch, w... by ddispaltro on Friday December 19, 2014 @01:47AM (#8771347)
I actually disagree. I think the "view source" menu item probably helped the web evolve faster. I think the trade-off made tons of sense at the time.
Re:Ask HN: If we could redesign the Internet from scratch, w... by bradleyy on Thursday December 18, 2014 @09:43AM (#8767370)
Yes, but that's the thing: it does work. And anything that you created from whole cloth, empirically, would be highly unlikely to work.