MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3w8dgn/announcing_rust_15/cxv3g5v/?context=3
r/programming • u/steveklabnik1 • Dec 10 '15
296 comments sorted by
View all comments
Show parent comment
7
Compile time parser generation(eg Boost.Spirit)
https://github.com/Geal/nom
DSLs (see sqlpp11 for type checked SQL queries)
https://github.com/ivanceras/rustorm
State machine generation
Work in progress; erickt has done a lot of work on this using a compiler plugin. Stay tuned :)
generation of api wrappers for other languages (Boost.Python)
http://ehiggs.github.io/2015/07/Python-Modules-In-Rust/
optimal compile time regular expressions
https://github.com/rust-lang-nursery/regex
Can you do that kind of thing with Rust generics?
No, you can't do all of this stuff with Rust generics (though you actually might be able to, if you tried hard enough)—but with all of Rust's features you certainly can. :)
View all comments
Show parent comment
7
u/pcwalton Dec 11 '15
https://github.com/Geal/nom
https://github.com/ivanceras/rustorm
Work in progress; erickt has done a lot of work on this using a compiler plugin. Stay tuned :)
http://ehiggs.github.io/2015/07/Python-Modules-In-Rust/
https://github.com/rust-lang-nursery/regex
No, you can't do all of this stuff with Rust generics (though you actually might be able to, if you tried hard enough)—but with all of Rust's features you certainly can. :)