Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Book: Section 3A: Static Guarantees (draft) #5

Closed
japaric opened this issue Aug 10, 2018 · 3 comments
Closed

Book: Section 3A: Static Guarantees (draft) #5

japaric opened this issue Aug 10, 2018 · 3 comments
Assignees

Comments

@japaric
Copy link
Member

japaric commented Aug 10, 2018

From @jamesmunns on July 10, 2018 9:33

What sort of Static Guarantees are possible with Rust?

Copied from original issue: rust-embedded/wg#118

@japaric
Copy link
Member Author

japaric commented Aug 10, 2018

Static guarantees is a topic that's too broad. This section was originally brought up in the context of "the static configuration pattern with embedded-hal implementation as an example".

So the section should probably be named "static configuration" or "type state applied to configuration" or just "type state applied to embedded".

@jamesmunns
Copy link
Member

I have all of my notes from my RustConf talk that covered this. I plan to at least dump them all here today.

In particular, my talk addressed use of the type system, including zero sized typed, to enforce design contracts, preconditions, and postconditions.

@japaric
Copy link
Member Author

japaric commented Dec 11, 2018

The part about type state configuration has been covered.

@japaric japaric closed this as completed Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants