TIL: all exceptions before the commit point
Dan Connolly <[email protected]> Fri, 18 Mar 2016 21:15:36 -0500
| Newsgroups | gmane.comp.capabilities.general |
|---|---|
| Message-ID | <CAD2YivaoS_3fGE_m12_zyQ3Y5QveKR0HisGH=HHt9GN+PtHDKg@mail.gmail.com> |
--===============0934552012144257365== Content-Type: multipart/alternative; boundary=001a11c2825265fe93052e5d7042 --001a11c2825265fe93052e5d7042 Content-Type: text/plain; charset=UTF-8 I have flipped through the Secure Distributed Programming with Object-capabilities in JavaScript <http://soft.vub.ac.be/events/mobicrant_talks/talk1_ocaps_js.pdf> slides a few times, but this week I discovered a very interesting point about 48 minutes into the talk <https://www.youtube.com/watch?v=oBqeDYETXME&feature=youtu.be&t=2915> that isn't on the slides: Do all of your gating checks before you do any of your irrevocable side effects. It's somewhat obvious in retrospect, but I don't recall reading it in the "robust composition" thesis or anywhere else. Perhaps it's just my memory that's failing. I should check again. -- Dan Connolly http://www.madmode.com/ --001a11c2825265fe93052e5d7042 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>I have flipped through the=C2=A0<a href=3D"http://sof= t.vub.ac.be/events/mobicrant_talks/talk1_ocaps_js.pdf">Secure Distributed P= rogramming with Object-capabilities in JavaScript</a>=C2=A0slides a few tim= es, but this week I discovered a very interesting point <a href=3D"https://= www.youtube.com/watch?v=3DoBqeDYETXME&feature=3Dyoutu.be&t=3D2915">= about 48 minutes into the talk</a>=C2=A0that isn't on the slides:</div>= <div><br></div><div>Do all of your gating checks before you do any of your = irrevocable side effects.</div><div><br></div><div>It's somewhat obviou= s in retrospect, but I don't recall reading it in the "robust comp= osition" thesis or anywhere else. Perhaps it's just my memory that= 's failing. I should check again.</div><div><br><br>-- <br>Dan Connolly= <br><a href=3D"http://www.madmode.com/">http://www.madmode.com/</a><br><br>= </div></div> --001a11c2825265fe93052e5d7042-- --===============0934552012144257365== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ cap-talk mailing list [email protected] http://www.eros-os.org/mailman/listinfo/cap-talk --===============0934552012144257365==--