The ideal scripting language would integrate seamlessly into a C++ core library supporting containers, introspection, threading, and GC.
-
-
Replying to @TimSweeneyEpic
What do you expect it to look like? How does it compare to/ pros/ cons to e.g. Lua, ChaiScript (
@lefticus) ...2 replies 0 retweets 0 likes -
Replying to @AdiShavit @TimSweeneyEpic
I'd argue it'd avoid GC altogether in favor of well defined object lifetime, like c++ does.
1 reply 0 retweets 2 likes -
Replying to @lefticus @AdiShavit
That's fairly tricky for a high-level sandboxed scripting language where you can't allow access to dangling pointers.
1 reply 0 retweets 0 likes -
Reference counting leaves cycles, while explicit deletion needs to keep an ever-growing record of deleted pointers and check upon access.
2 replies 0 retweets 0 likes -
Herb Sutter's deffered_ptr as an inspiration: https://github.com/hsutter/gcpp/
1 reply 0 retweets 0 likes
Interesting! But I'm hoping it's practical to build lock-free concurrent background garbage collection with smart pointers and reflection.
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.