Boost logo

Boost :

Subject: Re: [boost] [BB++] Now fixes all of your memory leak nightmares
From: Domen Vrankar (domen.vrankar_at_[hidden])
Date: 2017-07-22 08:20:28


2017-07-22 6:15 GMT+02:00 Phil Bouchard via Boost <boost_at_[hidden]>:

> 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
>

Just a quick question... Extending a language etc. just to compete with
Node.JS seems like an overkill to me so I was wondering how your solution
compares to this:

https://github.com/hsutter/gcpp
https://www.youtube.com/watch?v=JfmTagWcqoE

Regards,
Domen


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk