3 ms·
They’re checked in unsafe too. You only skip those checks if you use a specific “do this index with no checks” function. Unsafe does not change the semantics of
by steveklabnik 6y ago
They’re checked in unsafe too. You only skip those checks if you use a specific “do this index with no checks” function. Unsafe does not change the semantics of code, only gives you more options.
Yes, and many people write that kind of code in Rust too, and use tools to help them debug it. I’m just saying that it’s not an issue for the kinds of code I write, so I can’t personally recommend tooling. I know "use GDB" isn't a great response to a Windows user, even if it is what I end up personally doing.
Funny enough, I just booted up VS, and it's not perfect, but https://imgur.com/a/kHvPIEr https://imgur.com/a/kHvPIEr
(It's true that I can't get the performance tools working though, but given I've used VS for all of 20 minutes... I'm also very interested to see if support happens native-ly, given how much interest there is for Rust inside of Microsoft right now.)
- jfkebwjsbx 6y agoHowever you put it, tooling support is way, way better for C and C++ for obvious reasons. Other critical bits for commercial development in many industries (certs, standards, third-party support, official bindings...) are also completely lacking. That is not something against Rust, it is just what happens until things get popular enough.
- steveklabnik 6y agoAbsolutely. All I’m saying is that it’s non-zero, not that it’s equivalent.