cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | the pypy angle is to shrug and copy the implementation of CPython as closely as possible, and staying out of design decisions
sthalik has joined #pypy
<sthalik> hey guys
<sthalik> did you consider making pypy capable of saving itself to disk and resuming, much like Lisp VM's do?
<sthalik> that would solve the tracing problem
<sthalik> i.e. restore the core containing the stack and heap
<sthalik> lisp compilers even have fun stuff like marking all saved-to-VM heap allocations as permanent
<sthalik> that way, GC on large heaps is cut by a lot
<sthalik> IIRC only lisp and smalltalk do this; supposedly linux has some checkpointing tool...
ruth2345345 has quit [Remote host closed the connection]
andrewsm1dina has joined #pypy
andrewsmedina has quit [Ping timeout: 252 seconds]
lazka has quit [Read error: Connection reset by peer]
marvin_ has quit [Read error: Connection reset by peer]
marvin_ has joined #pypy
lazka has joined #pypy
marvin_ has quit [Remote host closed the connection]
lazka has quit [Client Quit]
marvin_ has joined #pypy
lazka has joined #pypy
<cfbolz> sthalik: yes, we have talked about this. but it's a very hard problem
<sthalik> does the difficulty also apply to ready-made checkpointing programs for linux?
<cfbolz> how do those deal with stuff like open files
<cfbolz> anyway, either you use something readymade (then you can already do that and don't need any pypy specifics). or you don't, and then it's a research project 😅
<nimaje> that only "solves" the problem for long running programs that you suspend and resume later, not for some calculations or stuff that you run with diffrent parameters, well you could model the interpreter as long running program that you suspend, but then it would keep all traces and have to decide when to get rid of them and where to keep the image?
jcea has joined #pypy
andrewsmedina has joined #pypy
andrewsm1dina has quit [Ping timeout: 264 seconds]
ruth2345345 has joined #pypy