@jjacky I don’t think that this is exclusive to people with ADHD. I feel like every response I get from AI is an entire essay when the answer could probably have been a tweet. I’ll take a look at this but I’m worried that it also applies to its reasoning which would be bad.
FFI is a clear use case for this where it’s absolutely essential.
Say you’re building a rust library which is to be consumed by C or something. You perform some kind of computation and now you have a buffer you want to return back.
You get a pointer to the buffer, forget the buffer, and return the pointer.
From that point onwards C is responsible for deallocating that buffer and for managing its memory and Rust no longer has this responsibility.
Had this not existed you’d have no way to pass data into FFI functions by ownership.
@Szymon_Stawski @0xIlyy I think that if you still believe that all languages are created equal then you're a 0.01x engineer. Some languages are objectively worse than other languages in most programming tasks.
I hate the current state of authentication. Why do I need to have a password + an OTP on a phone + a pass key on some hardware device + security codes hidden in a bunker? I just want to login in and do my things.