Re:FuckItJS: Runs your javascript code whether your compiler...
by aboodman on Tuesday June 26, 2012 @12:15AM
(#4160260)
This is exactly what browsers do already. If one event handler has an error, that event is aborted. But the event loops continues, and js will continue to run.
Re:FuckItJS: Runs your javascript code whether your compiler...
by saraid216 on Tuesday June 26, 2012 @12:13AM
(#4160251)
So that's where the name comes from. FOC-It.
I'm not sure if this applies well to JavaScript. We might observe that most JavaScript is a set of disjoint event handlers. If one doesn't work right it probably won't break the rest of the site.
I played around with implementing FOP dynamically through DynamoRIO [2] as a class project but only got through a proof of concept and quickly remembered why I hate x86 assembly.
1: http://en.wikipedia.org/wiki/Failure-oblivious_computing
2: https://github.com/periodic/Shady