The ideal scripting language would integrate seamlessly into a C++ core library supporting containers, introspection, threading, and GC.
Reference counting leaves cycles, while explicit deletion needs to keep an ever-growing record of deleted pointers and check upon access.
-
-
Herb Sutter's deffered_ptr as an inspiration: https://github.com/hsutter/gcpp/
-
Interesting! But I'm hoping it's practical to build lock-free concurrent background garbage collection with smart pointers and reflection.
End of conversation
New conversation -
-
-
ChaiScript has reference counted scoped objects. It's worked well, predictable lifetime that can be extended. I've only had 1 cycle leak bug
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.