Re:Pika: Making it easier to find, publish, install, and use...
by riquito on Sunday March 03, 2019 @11:10AM
(#19295111)
> Distributing modules that work in both the browser as well as on the back-end
You could say that they are two different runtimes, think CPython / pypy
Re:Pika: Making it easier to find, publish, install, and use...
by Vinnl on Sunday March 03, 2019 @11:15AM
(#19295150)
Sure, but though I'm not that familiar with CPython and pypy, I don't think there are many situations where those runtimes have as varying and sometimes conflicting requirements as Node and the browser. I'd guess the differences are more similar to the differences among the different browsers alone, which already are different runtimes by themselves.
That said, even if those runtimes are as different as Node and the browser are, it's the interplay of that restriction in combination with the other characteristics I mentioned that make this a new challenge in its own right.
Re:Pika: Making it easier to find, publish, install, and use...
by jessaustin on Sunday March 03, 2019 @01:50PM
(#19296055)
The python distribution infrastructure lags far behind that of javascript.
- Distributing modules that work in both the browser as well as on the back-end
- Working with and developing an ecosystem for a language that wasn't really developed for years and years, was still missing quite a bit of functionality, and then suddenly gained a lot of traction
- That language having to catch up on years and years of developments in computer science, and having to do so in a backwards compatible way
These are real problems that have influenced and caused a lot of the perceived idiosyncrasies in the Node/npm module ecosystem, and that do not have simple solutions that can be simply copy-pasted from other languages or ecosystems.