2026-10-16 07:26 UTC
@icedquinn@blob.cat @fiore@brain.worm.pink yes, idk if the borrow checker in rust enables stuff like that but the only one i have experience with pretty much limits you to what you can do in c already and just gives guardrails
Replies (2)
-
@snacks@netzsphaere.xyz 2026-10-16 07:27
@icedquinn@blob.cat @fiore@brain.worm.pink i think c devs are gonna yell at me if i write a program and allocate everything on the stack tho
-
@icedquinn@blob.cat 2026-10-16 07:27
@snacks@netzsphaere.xyz @fiore@brain.worm.pink rust will allow it but the lifetime of the borrow is narrowed to the function call stack so it stops you from being able to accidentally store it somewhere, afaik.