3 ms·
Good! I think Rust will eat more and more of the stack. It has similar performance as C/C++, but feels more higher level. It's a drop-in replacement for C and
by k__ 7y ago
Good!
I think Rust will eat more and more of the stack.
It has similar performance as C/C++, but feels more higher level. It's a drop-in replacement for C and is developed by a company that devs like.
- ryuukk_ 7y agorust feels like low level C++, its syntax speaks for itself
- madmax96 7y agoRust is not a drop-in replacement for C, it’s a drop-in replacement for C++.
- pnako 7y agoIt's a drop-in replacement for neither since it's an entirely different language. C++ went to some great pain to be a drop-in replacement for C; you can "drop in" a C++ compiler in your toolchain and still compile your C code (mostly).
- littlestymaar 7y agoThis was kind of true till C99, but not so much anymore. restrict is the most obvious offender but far from the only one[1]. [1]: https://en.m.wikipedia.org/wiki/Compatibility_of_C_and_C%2B%2B https://en.m.wikipedia.org/wiki/Compatibility_of_C_and_C%2B%...
- zabzonk 7y agoIf it is a "drop-in replacement" the rust compiler should be able to compile C code - it can't.