3 ms·
Maybe not everyone will know this but Typestate was one of the original 'headline features' of Rust when Graydon Hoare started it. It was based on the Strom/Yem
by pedrow 7y ago
Maybe not everyone will know this but Typestate was one of the original 'headline features' of Rust when Graydon Hoare started it. It was based on the Strom/Yemeni paper[0] for the NIL language. There's a mention of in this SO answer from 2010[1] and in the LtU discussion[2].
I'm not sure why it was de-emphasised, I think it didn't work as well as anticipated in the 'real world'
[0]: http://www.cs.cmu.edu/~aldrich/papers/classic/tse12-typestate.pdf http://www.cs.cmu.edu/~aldrich/papers/classic/tse12-typestat...
[1]: https://stackoverflow.com/questions/3210025/what-is-typestate https://stackoverflow.com/questions/3210025/what-is-typestat...
[2]: http://lambda-the-ultimate.org/node/4009 http://lambda-the-ultimate.org/node/4009