-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
"new" vectors #2180
"new" vectors #2180
Conversation
In general this looks good to me. I am still not crazy about the trailing |
Exciting. |
Yeah, notation is still something I've only minor preference for ("non-awful would be better") |
Since bikeshedding's basically all I'm good for, I'd like to reassure you that the |
What bothers me is not |
Present notation also supports |
Hmm. Maybe I didn't fully understand the proposal, or just hadn't thought about it quite enough. I kind of thought |
The proposal (in the bug and sent to the list) had In the code I'm writing here, I've deviated a bit such that The deviation is so that I've no opinion yet whether |
Updated to handle slices too. |
I landed this as nobody seemed to object. Let me know if you see further breakage or dislike it. |
delete stale stderr files `@oli-obk` can we do anything to detect them? Not sure if compiletest does anything smart here.
This makes it less of a hassle to render the book locally.
This makes it less of a hassle to render the book locally.
This is a first cut of #2112 which means we should have consensus in there that we want the feature before landing. At the same time, I'd like some feedback on the direction I'm taking for implementation, and at some point I'd like to stop playing rebase-around-the-typechecker.
The current code is able to translate a fixed-size string allocation down to a single instruction (sp adjustment) and an init / copy to a simple block data-movement. So it's headed in, I think, the right direction. Working on slices next. It does not do the whole slew of things described in #2112 yet. It parses all of those types but only knows how to translate fixed-size strings (and doesn't yet put them in constant-space).
Anyway, take a look and let me know if you see any glaring mistakes. I'm happy to update this as I get feedback.