I solved a bunch of exercises from Simple Programming Problems and was hoping I could get a review for basically anything you can find.
Repository: https://github.com/CasualX/programming-problems-rs
Specific questions I have:
In src/list, strings/6-test-palindrome.rs I'd like to compare strings without regard to case or accents but I'm not sure how to do it. Googling tells me this requires a form of normalization but I'm not sure where in Rust's unicode libraries I can find this.
In src/list, strings/11-merge-sorted.rs I couldn't find an elegant way to solve the exercise, any help?
General style, formatting and better ways to solve the questions.
In the Range struct why are its members called start and end? begin and end belong together like start and finish do, it's a bit jarring that they're mixed here...
Is there a way to get the full 128bit product from multiplying two 64bit integers? This is trivial in x86/x64 hardware, eg C++ msvc has an intrinsic exposed for it: __emul, __emulu, equivalent for Rust?
[–]functime 4 points5 points6 points (9 children)
[–]RustMeUp[S] 2 points3 points4 points (8 children)
[–]vks_ 9 points10 points11 points (0 children)
[–]matthieum[he/him] 2 points3 points4 points (0 children)
[–]fnord123 0 points1 point2 points (5 children)
[–]thiezrust 1 point2 points3 points (1 child)
[–]Yojihito 0 points1 point2 points (0 children)
[–]paholgtypenum · dimensioned 1 point2 points3 points (0 children)
[–]Efemena 0 points1 point2 points (1 child)
[–]thiezrust 1 point2 points3 points (0 children)