Duetto: a C++ compiler for the Web going beyond Emscripten and Node.js
1–10 of 63 posts
Re: Duetto: a C++ compiler for the Web going beyond Emscripten and Node.js
#2Re: Duetto: a C++ compiler for the Web going beyond Emscripten and Node.js
#3Re: Duetto: a C++ compiler for the Web going beyond Emscripten and Node.js
#4Are there any tutorials on this so that we can compare it to emscripten?
In addition, the full source code of Nontetris ( http://allievi.sssup.it/jacopone/cnontetris/ ) will be published in a couple of days, with a 'guide' on porting a C++ game to Javascript with duetto.
Stefano of Leaningtech
Re: Duetto: a C++ compiler for the Web going beyond Emscripten and Node.js
#5I'm not sure why you would want something like that, unless you really have a lot of existing code C++ business code you want to reuse, or you really love C++.
Re: Duetto: a C++ compiler for the Web going beyond Emscripten and Node.js
#6I'm not sure why you would want something like that, unless you really have a lot of existing code C++ business code you want to reuse, or you really love C++.
Re: Duetto: a C++ compiler for the Web going beyond Emscripten and Node.js
#7Are there any tutorials on this so that we can compare it to emscripten?
We will publish extensive tutorials soon, for now you can find some examples on http://leaningtech.com/duetto/examples/ In addition, the full source code of Nontetris ( http://allievi.sssup.it/jacopone/cnontetris/ ) will be published in a couple of days, with a 'guide' on porting a C++ game to Javascript with duetto. Stefano of Leaningtech
there are four important things required for this to work out:
- List of benefits of your solutions compared to other C++ → JS compilers (emscripten)
- Great documentation and good community support (forum, wiki, dynamic list of projects using Duetto)
- Very good debugging capabilities in the produced JS (Developers need to work with the code, an invisible layer sometimes means a lot of trouble)
- Big tech partners who will do complex projects with Duetto to iron-out the compiler and show "real work" can be done with it
rgds, Kira
Re: Duetto: a C++ compiler for the Web going beyond Emscripten and Node.js
#8I'm not sure why you would want something like that, unless you really have a lot of existing code C++ business code you want to reuse, or you really love C++.
I really love C++ and I bet with the currently developing standard (C++11, C++14) more people will start loving C++ again :-)
Re: Duetto: a C++ compiler for the Web going beyond Emscripten and Node.js
#9Are there any tutorials on this so that we can compare it to emscripten?
We will publish extensive tutorials soon, for now you can find some examples on http://leaningtech.com/duetto/examples/ In addition, the full source code of Nontetris ( http://allievi.sssup.it/jacopone/cnontetris/ ) will be published in a couple of days, with a 'guide' on porting a C++ game to Javascript with duetto. Stefano of Leaningtech
Wow: and a minute after I typed this, my Windows machine gave me a blue screen, not sure if it's related but it's the first in years ;)
Re: Duetto: a C++ compiler for the Web going beyond Emscripten and Node.js
#10I'm not sure why you would want something like that, unless you really have a lot of existing code C++ business code you want to reuse, or you really love C++.
I really love C++ and I bet with the currently developing standard (C++11, C++14) more people will start loving C++ again :-)
As far as Rust for the web is concerned, I've got pretty big ideas which Rust is instrumental in (I've been primarily a Python programmer hitherto, FYI), and so I'm working on the lowest layer at present, in rust-http (https://githib.com/chris-morgan/rust-http). By the time it's entirely ready for production use, I expect someone to have got Rust working with Emscripten too, and then we'll be ready to do even better than Duetto.