Implementing typestate

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 15 13:23:05 PDT 2015


On Tuesday, 15 September 2015 at 20:14:11 UTC, Ola Fosheim 
Grøstad wrote:
> Having a simple core language is usually a good idea. I see now 
> in the rust forums that people use the borrow checker for other 
> things than memory, like tracking what thread you are in:
>
> https://users.rust-lang.org/t/my-gamedever-wishlist-for-rust/2859/7

Not actually sure if that does depend on the borrow checker 
though... My knowledge of Rust is superficial... But 
nevertheless, it will be interesting to see how people use the 
rust type system for other things than memory.




More information about the Digitalmars-d mailing list