Post #4333761
2026-07-11 04:50 UTC
@Gankra@toot.cat oooof, sad to learn that folks used the unsafe thing as an attempt to dismiss Rust wholesale... Thats just... :sigh: I understand why and how people do this, but it makes me sad, and exactly as you say, is super disingenuous. =/ Like... even if true, a) the delta here is small. It may matter, but it is still orders of magnitude smaller than the delta from _safe_ Rust to C++... anyways, mostly expressing sympathy for having to deal with that.
How unsafe the unsafe dialect of _any_ language is should only be a talking point about how and when to use that unsafe dialect, not anything to do with the safe dialect or language as a whole... blarg. anyways.
In a fun twist, Google (and I would guess lots of others) also turn off TBAA even for C++. I'm a big fan of optimizing with _lax_ alias assumptions outside of very narrow, small regions of code. Like an order of magnitude or two less than even unsafe code.
Replies (0)
No replies.