Introducing PyScript
Introducing PyScript
Posted Jun 24, 2022 5:14 UTC (Fri) by Cyberax (✭ supporter ✭, #52523)In reply to: Introducing PyScript by samlh
Parent article: Introducing PyScript
PPAPI was much better than the current WebAsm API. Also, it's insulting comparing PNaCl that actually involved engineers designing it to WebAssembly that was designed by W3C.
PPAPI+PNaCl allowed fully asynchronous access to DOM, non-brainded threading, exception handling, setjmp/longjmp, SIMD, etc.
Heck, it supported gotos while WebAssembly still forces compiler writers to use nested loops with flags to emulate them. Try to disassemble a Go binary compiled for WASM and weep.
Posted Jul 1, 2022 3:25 UTC (Fri)
by clay.sweetser@gmail.com (guest, #155278)
[Link] (1 responses)
Posted Jul 1, 2022 8:36 UTC (Fri)
by Cyberax (✭ supporter ✭, #52523)
[Link]
But it honestly was a pretty logical API design, with out-of-process sandboxing and a fairly typical functionality (communication with the browser side via messages, access to files, graphics, etc.)
Introducing PyScript
Introducing PyScript
