> For the latter, a PWA alone doesn't automatically mean Perl keeps running in the background - one would have to fire up an interpreter in a Web Worker, independently of whether it's a PWA or not.
my concerns were that a cold start of webperl implies
- megabytes of web-perl environment need to be fetched from the net
- time to start the compiler and compile the code.
- getting the interpreter ready
I was thinking of having a hot Perl server in at least a FastCgi'ish way in the WebWorker and communicating with the webpage. ( Prepared till the INIT phase)
- I was hoping that this hot start is considerably faster.
- That response is competing speed wise with pure JS code.
- And that bigger memory overhead° can be handled by swapping dormant PWAs to disc.
Please correct me if my assumptions were to naive...
> but it's still those same megabytes that have to be passed around,
I'm ignorant about the amount of megabytes needed in RAM.
On a tangent: Did you try running Mojolicious inside WebPerl?
°) tho I forgot how much RAM is needed then
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.