Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
gabriele renzi
gabriele renzi
@riffraff@mastodon.social  ·  activity timestamp yesterday

my #rust knowledge is quite low and yet I found this hilarious anyway.

My fav
> clone_mut() gives you multiple &mut to the same location. The compiler assumes mutable references are unique and optimizes based on that. When you break the assumption, the optimizer generates wrong code. Compiler skill issue.

https://github.com/buyukakyuz/corroded

GitHub

GitHub - buyukakyuz/corroded: Illegal rust

Illegal rust. Contribute to buyukakyuz/corroded development by creating an account on GitHub.
  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.41 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct