Insane? Oh. So, er, I should be ashamed that I did almost exactly that (via a custom allocator layered atop big mmap()ed hunks) in C about a year ago? (Well, it was more like a twisted sort of RCU: I'd construct a new instance that was a copy of the old one with a zero reference count, then changing pointers in the new instance's VMT-analogue, translating the object's data into a new representation at the same time. The old instance got reference-zapped when nobody was executing methods via those pointers anymore.) (yes, there were pressing reasons. It was a bundle of fun, as well. :) )
Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds