-
Notifications
You must be signed in to change notification settings - Fork 521
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
Chapter on MIRI? #30
Comments
Weren't there plans to use miri to help with compile time function execution ( |
@Michael-F-Bryan see rust-lang/rust#46882 which is actually very close 🎉 |
Feel free to assign this to me (so I'll find it again :D). I'll write up something. What level of detail did you have in mind? |
@oli-obk Thanks! It doesn't look like I can actually assign you in the issue tracker, unfortunately. I really don't know much about MIRI, but I guess this is what I was thinking:
In general, the goal is that after reading the chapter, somebody wanting to implement a feature that changes MIRI should be able to comfortably read the existing code and have a general idea of what needs to be modified. |
I was just going to file this issue and nominate @eddyb to write it (who mentored me through the bits I contributed to the above PR), but it seems you've beat me too it, so yay! |
@mark-i-m I think the important part about miri isn't the algorithms (which I can't think of any of note), but the data structures, and more specifically how miri represents values and memory allocations. Everything else is just "match on MIR and apply each instruction to values in local variables and/or memory allocations they might point to" in a way that we could even formally describe as big/small-step semantics on MIR. |
@eddyb You can probably adapt a good deal of material from the original author's report/presentation then. :-) |
See #45 |
... perhaps as a subchapter under the MIR chapter?
The text was updated successfully, but these errors were encountered: