7 ms·
Do you mean you're compiling the interpreter from scratch with C/C++ code that performs this initial allocation? It's really confusing trying to decipher what y
by mehrdadn 7y ago
Do you mean you're compiling the interpreter from scratch with C/C++ code that performs this initial allocation? It's really confusing trying to decipher what you're doing, since it doesn't sound like something that you could do to an existing CPython interpreter without corrupting memory...
- jakear 7y agoYep! Building from the C source. If you check out the demo I linked in another comment, it’s just a couple additional files in the CPython repo.