Re:Rusthon – A Pythonic language that compiles to Rust and C++
by agentultra on Monday December 22, 2014 @10:33AM
(#8783410)
It also doesn't even appear to generator initializer lists for the constructor which could lead to some fun behaviors down the road...
That will work for this trivial examples, but not for anything serious.
To properly translate Python to C++ you would have atleast produce a shared_ptr<T> from every T and even that doesn't work with cycles. Rust translation is even more complicated.