|
|
Log in / Subscribe / Register

Python finally offloads some batteries

Python finally offloads some batteries

Posted Mar 18, 2022 7:48 UTC (Fri) by LtWorf (subscriber, #124958)
In reply to: Python finally offloads some batteries by ddevault
Parent article: Python finally offloads some batteries

Well js lacks even kinda basic functions, but I agree with you.

The other problem with npm is that somehow they've decided (clearly without ever taking the time to do any measurement) that a library of 1 function is faster than putting a bunch of related functions all into the same library.

I think the original idea was to save time on doing js files downloads… but apparently the person saying this didn't know about all the headers and roundtrips that need to happen before a file can be downloaded.


to post comments

Python finally offloads some batteries

Posted Mar 18, 2022 17:37 UTC (Fri) by NYKevin (subscriber, #129325) [Link]

> I think the original idea was to save time on doing js files downloads… but apparently the person saying this didn't know about all the headers and roundtrips that need to happen before a file can be downloaded.

I believe this may have been a contributing factor to the invention and adoption of HTTP/2, because now the server can just say upfront "here are all of the libraries you are going to need, when you eventually get around to running the JS."


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