4 ms·
Yes, it's a very tootsie-roll-center kind of answer, but it's clearly more than a few. To answer your question, 15kLoC is more than enough to implement dynamic
by kevindamm 3y ago
Yes, it's a very tootsie-roll-center kind of answer, but it's clearly more than a few.
To answer your question, 15kLoC is more than enough to implement dynamic dispatch and the PyObject base struct, along with the special method logic for __add__ on any python object type.. but still a lot less than what's needed for all the special method types and a lot of boilerplate for the C-compatible interface around those methods.
- demondemidi 3y agoI wonder what percent of this audience got the tootsie-roll reference. Does anyone under 40 know it?
- steveklabnik 3y agoI am about to turn 38 and I got it, so it's at least slightly lower than 40.
- deleted 3y ago[deleted]
- vitiral 3y agoHey Steve, loved your work on Rust and your goodbye letter. Nice to see you in my comment chain
- steveklabnik 3y agoThanks!
- depletedgherkin 3y agoI'm in Gen Z and I think I got it. The Tootsie pop commercial with the owl used to play all the time on Canadian TV.
- kevindamm 3y agoOnne... Two-hooo!