News for hackers. Stuff that matters.
Re:Async Rust Is A Bad Language by o11c on Friday September 08, 2023 @10:10PM (#37441520)
> Single ownership with a back reference is a very common need, and it's too hard to do.

I've been collecting a list[1] of what memory-management policies programmers actually want in their code; it is far more extensive than any particular language actually implements. Contributions are welcome!

I already had back reference on the list, but added some details. When the ownership is indirect (really common) it is difficult to automate.

One thing that always irritates me: Rust's decision to make all objects moveable really hurts it at times.

[1] https://gist.github.com/o11c/dee52f11428b3d70914c4ed5652d43f...

Re:Async Rust Is A Bad Language by Animats on Saturday September 09, 2023 @12:06AM (#37442197)
Yes, back-linked objects are probably going to have to be pinned.