|
|
Subscribe / Log in / New account

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 NPAPI "reimagined", with most of the same problems

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.


to post comments

Introducing PyScript

Posted Jul 1, 2022 3:25 UTC (Fri) by clay.sweetser@gmail.com (guest, #155278) [Link] (1 responses)

Huh. Do you know any resources discussing the architecture and details of PPAPI? It sounds like it was quite an interesting effort.

Introducing PyScript

Posted Jul 1, 2022 8:36 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link]

It was not terribly popular even back in the day, and I can't find a mailing list that I used for information on it (RIP GMane).

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.)


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds