Fun fact: 1 of the biggest criticisms I received regarding mozilla::pkix was that we spent too much time making a secure ASN.1 parser. Nope.
@BrendanEich It would be very easy to do on asm.js if there was a sync API for WebCrypto in workers, or if there was wait/async in JS.
-
-
@BrendanEich Otherwise, I'd have to change a design property of the mozilla::pkix code: it avoids UaF by never allocating/freeing any mem.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@BRIAN_____ I keep nagging@SickingJ about that, it is supposedly coming (wait in worker on promise). -
@BrendanEich@SickingJ A sync API would be better for performance in this case, at least for symmetric crypto. Wasteful to simulate sync. -
@BRIAN_____@BrendanEich@SickingJ Is that objective or subjective? Just curious which part you see wasteful and if that's fundamental -
@BRIAN_____@BrendanEich@SickingJ I ask because I went back and forth with this with@slightlylate , and convinced me it's impl dependent -
@sleevi_@BrendanEich@SickingJ@slightlylate It's impl dependent, in theory. After all a really smart JIT could convert async to sync. -
@sleevi_@BrendanEich@SickingJ@slightlylate But, AFAIU Fx's implementation (may be out of date), threading overhead is high for digesting.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.