-
Notifications
You must be signed in to change notification settings - Fork 291
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 Recipes #434
Comments
@budziq can you review this list? This is from when @withoutboats and @aturon were planning new recipes. I'm happy to create the issues, but before officially adopting them, I'm hoping for your input. There are also opportunities in here to expand our adopted crates so cc rust-lang-nursery/ecosystem-wg#22 |
@AndyGauge Sure! It looks very cool on the first glance, but I'll need some time to give any reasonable feadback. Some assorted musings:
|
|
@AndyGauge 👍 Sorry for taking so long. Imho all of these are valid points. Lets go with these recipes! |
Hello, I don't know if I should post this here but, I have an implementation of an algorithm for the closest pair of points problem. It is a very nice use case of a btreeset, since the data needs to be sorted, and inserted into at random points. For each point in a vec of points sorted by x coordinate, the algorithm calculates the distance only to points that are within the square around it with a diameter of 2*(min distance so far) as shown here For the horizontal dimension, you can just use the fact that you're working in a sorted vec, but to keep track of proximity in a second dimension, a btreeset is useful. If you think this is a good idea I'd be glad to clean up my code and try to submit a pull request. |
Create an issue for each of the recipes
Algorithms
CLI
Compression
Concurrency
Arc
crossbeam
Mutex
mspc
Crypto
Database interfaces
Data structures
Memory management
Rc
Network programming
std::net
Operating systems
Command
APIstd::env
winapi
,libc
Parsing
nom
lalrpop
Science aka numerics
Text processing
std
string apis — pattern APIsRust patterns
RefCell
Cell
These were taken from https://paper.dropbox.com/doc/Cookbook-new-recipe-list--AHhY6tZWu74Ju8uewuP5J87BAg-oRJe83bTkNE4Gk2Qmvu5V
The text was updated successfully, but these errors were encountered: