4 ms·
Interesting statistics. How big is the toy project? How many lines of C++ code vs Rust code? I expect to be fairly big project.
by avrionov 6y ago
Interesting statistics. How big is the toy project? How many lines of C++ code vs Rust code?
I expect to be fairly big project.
- pjmlp 6y agoNope, quite a toy. https://github.com/pjmlp/gwc-rs https://github.com/pjmlp/gwc-rs About 80% of the time is spent compiling Gtk-rs, which I avoid in C++ thanks to OS package manager and pkg-config. Also note that the original C++ Gtkmm version was already quite fast to compile in 2002 hardware, when I submitted the article to "The C/C++ Users Journal". When cargo finally handles binary libraries, instead of stuff like scache, I expect a similar experience to C++ with binary libraries and modules.
- fithisux 6y agoWhat is your experience with D vs Rust?
- pjmlp 6y agoD compiles quite fast, and fits my preference for systems programming languages with some of GC built in, which also provide the necessary features to go as low level as one wishes. Unfortunately it suffers from a small community, so it is only appealing to devs that enjoy getting their hands dirty to implement missing libraries, or contribute to the existing compilers/libraries.