4 ms·
Sure, much like C/C++ could have GC by embedding Lua, Spidermonkey, etc(fun fact Epic implemented their own C++ based GC for Unreal3). It's not a forced requir
by vvanders 11y ago
Sure, much like C/C++ could have GC by embedding Lua, Spidermonkey, etc(fun fact Epic implemented their own C++ based GC for Unreal3).
It's not a forced requirement :).
- masklinn 11y agoHell, > GC is technically optional in C++, because you can stick pretty much anything in a reference-counted pointer (shared_ptr<T>).
- malkia 11y agoweek_ptr<T> - keeps a pointer for a week.
- Gankro 11y agoI really wish calendar-oriented programming had taken better hold in the 80's. It's a really elegant paradigm with great separation of concerns. Being able to shard data out into timezones with inter-timezone accesses requiring a delay equal to their clock differences completely eliminates races! Unfortunately it was pushed out by MIT's cartography-oriented zealots, and we know how well that paradigm worked out!
- tatterdemalion 11y agoI am unironically into both of these ideas.
- pjmlp 11y agoSince C++11, C++ has a standard API for GC integration.