Post #1865058
2026-04-20 16:55 UTC
We're at the "it's probably ok to lie to the borrow checker" level of optimization
#rust #rustlang #programming
Replies (3)
-
@esther_alter@mastodon.social 2026-04-20 16:56
@wgahnagl@www.librepunk.club behold my very cursed glam code
-
@esther_alter@mastodon.social 2026-04-20 17:01
Implicit in the comments is that a Vec4 is a glam struct backed by an __m128 SIMD value. The point of all of this is to do SIMD-optimized math while still having access to Vec4::w without paying the deref cost
-
@mohs@climatejustice.social 2026-04-20 17:01
@esther_alter@mastodon.social I have so many questions. What is the actual use case, that cannot be resolved by save access methods? How does the user prevent this from panicking? Was this AI-Generated?