Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Python doesn't have lvalues in the way that C++ and Rust do. You can't refcount everything and still pass lvalues to subobjects. If lvalues to subobjects are important, you need borrow checking.


Yes, which is why I mentioned C# "ref" which is not refcounting but zero-overhead pointers with a simplistic borrow checker that covers most practical scenarios.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: