-
Notifications
You must be signed in to change notification settings - Fork 10
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
Tracking: Rust All-Hands 2020 #82
Comments
What do you mean by coexisting both |
If I understood correctly, the reason that we cannot easily try the alloc-wg's traits in nightly, is because a generic parameter such as @Lokathor proposed making a clone of the standard library in which we use the alloc traits where possible (e.g. edit: changed syntax in the original comment to |
There is an open PR rust-lang/rust#65083 which allows unstable annotations to generics. This is basically the one thing blocking the alloc WG to push upstream. |
Yeah, that's been open for 4 months though :P |
note though that std::Box is an alias for alloc::boxed::Box we'd need to make |
+1 that sounds like a great idea! I'd also like to see these discussed:
However custom allocator support is more important in my opinion, and we don't really have a specific proposal for these three, although we could work towards that in the next month or two. (Fast floats I think we'd get quite far with a global switch that allows specifying using fast float by default instead of safe floats. It's not a perfect solution, but it is a proven solution since C++ does it that way.) We could also seek opinions from industry professionals who don't usually engage in this wg to make sure they have a voice. Maybe a good thing to bring up at our next Wednesday meeting. |
Those are good topics to discuss next Wednesday. I've added them to the list. It's a good idea to ask for their opinions too. I'll reach out to the industry devs that I connected with previously. |
The Rust All-Hands was cancelled, but I'd still like to push forward in this direction. Maybe we can combine this work with the results of the Rust Gamedev Survey and create a Roadmap for 2020? |
Leading up to the Rust All-Hands 2020, I'd like to compile a document of proposals that we as the gamedev wg would like to raise - whether we are able to attend in person or not.
This issue is intended to outline what topics are currently under discussion, links to relevant information, and who are working on the topics.
std::Box<T>
andalloc_wg::Box<T, A: AllocRef>
to coexistThe text was updated successfully, but these errors were encountered: