zlacker

[parent] [thread] 4 comments
1. giovan+(OP)[view] [source] 2020-08-18 21:45:34
Please, turn this into blogpost. I’ve had very similar feelings for some time.

I tolerate the borrow checker because I want to use Rust’s other features. I think Rust with no borrow checker is much closer to my dream language than it is right now. Rust with an optional borrow checker is in fact even better.

replies(2): >>esteba+e3 >>ncmncm+m8
2. esteba+e3[view] [source] 2020-08-18 22:08:35
>>giovan+(OP)
What would Rust without a borrow checker look like to you? Syntactic sugar or automatic wrapping of types in Box and Arc as appropriate? auto-cloning of !Copy types?
replies(1): >>giovan+ei
3. ncmncm+m8[view] [source] 2020-08-18 22:45:50
>>giovan+(OP)
Please feel welcome, GB, to post it wherever you think best, annotated as you see fit, with my blessing.
◧◩
4. giovan+ei[view] [source] [discussion] 2020-08-19 00:18:04
>>esteba+e3
I’d start from allowing multiple mutable references. Second would probably be something about relaxing lifetimes but I can’t properly articulate it right now.
replies(1): >>ncmncm+Wm2
◧◩◪
5. ncmncm+Wm2[view] [source] [discussion] 2020-08-19 18:12:33
>>giovan+ei
Start by allowing anything at all: not ignoring it, but reporting it. And continue reporting it, until it is wrapped in "unsafe" or fixed.

It would not be a mistake to report the total number of "unsafe" blocks harbored in the program when it is linked, from all sources, alongside the live borrow violations. Safety, like development, is a process, not an endpoint.

[go to top]