[Development] [BB++] Now fixes all of your memory leak nightmares

Phil Bouchard philippeb8 at gmail.com
Sat Jul 22 06:17:09 CEST 2017


Greetings,

Now I have an example showing off the cyclic reference handling. Please see:
https://github.com/philippeb8/root_ptr/blob/bb++/bbpp2cpp/tests/input2.bb


This program correctly outputs:

Document::Document(const boost::node_proxy&)
auto __0(boost::node_proxy&, int)
1
Document::Document(const boost::node_proxy&)
Document::~Document()
2
Document::~Document()


So I just came to realize we could use this tool to parse entire 
projects to generate the right C++ code, after having disabled the 
'operator delete', and then run the executable, which still is 3.5x 
faster than Node.JS. For the newcomer please see:
https://github.com/philippeb8/root_ptr/tree/bb++/bbpp2cpp

I am going to present this to NASA and company. Meanwhile anybody is 
welcome to let me know about my original plan.


Regards,
-Phil
http://bbplusplus.com/




More information about the Development mailing list