Speeding up CPython
Speeding up CPython
Posted Dec 17, 2020 0:43 UTC (Thu) by mathstuf (subscriber, #69389)In reply to: Speeding up CPython by NYKevin
Parent article: Speeding up CPython
Posted Dec 17, 2020 1:02 UTC (Thu)
by atnot (guest, #124910)
[Link] (2 responses)
Posted Dec 17, 2020 2:30 UTC (Thu)
by mathstuf (subscriber, #69389)
[Link] (1 responses)
Posted Dec 17, 2020 16:28 UTC (Thu)
by ms-tg (subscriber, #89231)
[Link]
In the Ruby concept as I understand it today, only “frozen” (fully immutable) objects will be possible to send across ractors (which are like subinterpreters) in place - any mutable data must be essentially cloned to send to another ractor.
I wonder if Python and Ruby parallel evolution here will lead to a similar new focus on immutable structures on both languages?
Posted Dec 17, 2020 11:57 UTC (Thu)
by renejsum (guest, #124634)
[Link] (3 responses)
Posted Dec 17, 2020 12:52 UTC (Thu)
by mathstuf (subscriber, #69389)
[Link] (2 responses)
I do see https://doc.pypy.org/en/latest/embedding.html but it being marked as deprecated without a link to a replacement isn't promising…
Even then, distribution of an embedded Python environment is a nightmare with CPython, but it's a (mostly) known one at this point. Unless PyPy makes that vastly easier, I don't want to have to slay another dragon :/ .
Posted Dec 24, 2020 10:13 UTC (Thu)
by njs (subscriber, #40338)
[Link] (1 responses)
Posted Dec 26, 2020 0:14 UTC (Sat)
by mathstuf (subscriber, #69389)
[Link]
Posted Dec 17, 2020 13:40 UTC (Thu)
by anselm (subscriber, #2796)
[Link] (1 responses)
John Ousterhout's Tcl had that figured out in the early 1990s. Those were the days.
Posted Dec 22, 2020 23:12 UTC (Tue)
by nkuitse (guest, #62915)
[Link]
Speeding up CPython
Speeding up CPython
Speeding up CPython
Speeding up CPython
Speeding up CPython
Speeding up CPython
Speeding up CPython
Speeding up CPython
I can't even spin up two in-process interpreters to try and do per-thread interpreters to do some local Python code processing. If Python3 had gone and added a `pyctx` call to every API call so that the global state could at least be /scoped/ in some way, that'd have at least allowed someone to go and try a GIL-less context a lot easier.
Speeding up CPython
