4 ms·
I still can't get my head around rust. While all those features definitely make sense, I find it very confusing sometimes. Is there something like rust for c++
by MrF3ynmann 10y ago
I still can't get my head around rust. While all those features definitely make sense, I find it very confusing sometimes.
Is there something like rust for c++ programmers?
- steveklabnik 10y agohttps://github.com/nrc/r4cppp https://github.com/nrc/r4cppp exists, I haven't read it though. Or at least, not in a very long time.
- pvg 10y agoIs this before or after leafing through their book? Because I think there are at least two stages of not-understanding Rust. One is before taking a look at the book and docs in which you can't make any sense of it at all. Another one is after scanning the book and trying some of the examples in which you really start to understand how you can't make any sense of it at all.
- baq 10y agoit's not really that much c++; try to drop your c++ glasses. might help to pass trough ocaml to collect $200.
- shmolyneaux 10y agoThere is a porting guide for C/C++ [0] that may help clarify the differences between the two. I have not read it though. [0] https://locka99.gitbooks.io/a-guide-to-porting-c-to-rust/content/ https://locka99.gitbooks.io/a-guide-to-porting-c-to-rust/con...
- vatotemking 10y agoCurious, is it harder for c++ programmers to learn Rust than dev from higher level devs? Because ive seen Rust has a lot more success recruiting devs from python, js, even php.
- pjmlp 10y agoNot really, it is mostly a culture thing. There are two main communities in C++, those that embrace safety and take advantage of the language features to improve their productivity, while going down to lower level constructs if performance needs an extra push. Then there are those that are kind of exiled C developers using a C++ compiler, forced to migrate to C++ on their work, trying to use it as C with C++ compiler. This is the group that has more issues with Rust.
- pvg 10y agoExiled? We totally left voluntarily!
- vatotemking 10y agoThat maybe it. Perhaps the first camp is more comfortable and familiar with the "ocaml'ness" of Rust, while for the second (C devs) camp the concepts are alien.
- maximilian 10y agoOreilly has a pre-release book that seems quite good at explaining rust from a C++ perspective. http://shop.oreilly.com/product/0636920040385.do http://shop.oreilly.com/product/0636920040385.do