News for hackers. Stuff that matters.
Re:Grain: A strongly-typed functional programming language f... by millstone on Tuesday July 31, 2018 @05:07AM (#17651633)
Banker vs moon rover. B&D languages panic at the first whiff of deviation between the compile-time and runtime environments. But I loaded cnn.com, and my third-party ad blocker did god-knows-what to dozens of requests, with a bazillion unexpected undefineds, and yet the page still rendered.

The web powers through!

Re:Grain: A strongly-typed functional programming language f... by lomnakkus on Tuesday July 31, 2018 @12:40PM (#17654647)
This has nothing to do with undefined vs. exceptions, sorry. You can do example the same with a powerful enough sandbox -- e.g. what WebAsm does to avoid hostile code taking over your computer.

It has everything to do with sandboxing (or not). Ads being served by third parties should not be able to influence the JS running in the page.