News for hackers. Stuff that matters.
Re:The Lobster Programming Language by childintime on Thursday April 04, 2019 @10:00AM (#19572347)
> I don't think its the right default though.

I think Rust should allow this kind of relaxed ownership, with ARC behind the scenes, as lots of user level code should not require fussing over ownership details. A "get shit done" mode.

Re:The Lobster Programming Language by 0815test on Thursday April 04, 2019 @10:06AM (#19572427)
Rust supports proc macros, you know-- you can do literally anything with your code. So what you describe is already possible! Make a good proof of concept and submit a proper RFC for it, and it might even be adopted as part of Stable Rust!
Re:The Lobster Programming Language by Aardappel on Thursday April 04, 2019 @11:32AM (#19573503)
Yes, that is exactly my intention, for the majority of code this compile time reference counting is good enough.

You can of course use Rc types in Rust, but that is verbose, and throws all ownership out the window, unlike Lobster.