miniserde
tour_of_rust
miniserde | tour_of_rust | |
---|---|---|
4 | 34 | |
726 | 849 | |
- | - | |
7.7 | 7.6 | |
16 days ago | 2 months ago | |
Rust | JavaScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
miniserde
-
Hey Rustaceans! Got a question? Ask here (8/2023)!
It's pretty common to avoid macros as they can seem too magical a lot of the time. And with traits, there's experiments like miniserde which specifically avoid monomorphization overhead. I also see people who want to avoid having lots of dependencies relatively often.
-
venial 0.1 - A lightweight alternative to syn
Right now, the next step would be to try to reimplement miniserde with venial, and publish benchmarks.
- Rust takes a major step forward as Linux's second official language
-
The Serde Rust Framework
The only downside is compile time bloat.
Serde generates heaps and heaps of generic code. This gets optimized away to be very efficient, but it can be quite cumbersome.
Ever tried working on a crate with hundreds or thousands of de/serializable types? Compile times shoot through the roof really quickly.
The maintainer of serde also created `miniserde` [1], which uses dynamic dispatch and can have 4x compile time improvements.
Due to Rusts lack of orphan instances you really depend on a pervasive standard for serializiation which is used by all libraries, so the ecosystem is really locked in to serde by now.
[1] https://github.com/dtolnay/miniserde
tour_of_rust
-
Becoming Rustacean:Awesome Free Online Resources to Learn Rust Programming
https://tourofrust.com/ is fun. Learning rust has a weird initial learning curve dealing with the aggressive analyzer/compiler and how you have to approach your variables, but after that initial hump it is one of the coziest languages I've used. Having what was initially a bit of a nag, is now a godsend when i'm getting red-squiggles in vscode for a typo in my SQL string for a misnamed column, or a field in my template was removed and so my struct shows how it's now unused.
-
58 Rust Resources Every Learner Should Know in 2023
1. 👶 Tour of Rust is a step-by-step guide for the Rust programming language. It gives a nice overview of the language and allows the learner to also modify the code examples to experiment.
-
I wanna be a crab.
Another good learning resource is the Tour of Rust, which is more hands-on than The Book. It has a code example (which you can edit and run directly) in every section.
-
Rust slow tutorial
The bonus by learning this way is that the Rust compiler gives amazing feedback allowing you to intentionally experiment by breaking the examples. https://tourofrust.com/ was my first superficial pass.
-
Anything C can do Rust can do Better
Tour of Rust - Richard Anaya
-
This list of free scala courses will help you get started with mastering scala. Check it out.
Other languages have similar ones like https://tourofrust.com/
- Tour of Rust now in Vietnamese!
- Unable to learn rust.
-
35 Rust Learning Resources Every Beginner Should Know in 2022
1. Tour of Rust is a step-by-step guide for the Rust programming language. It gives a nice overview of the language and allows the learner to also modify the code examples to experiment. I would say that the Tour of Rust is not a resource that you would rely on by itself.
-
Rust is very welcoming
I really liked https://tourofrust.com/ Helped me a ton.
What are some alternatives?
nanoserde - Serialisation library with zero dependencies
book - The Rust Programming Language
ComLightInterop - Cross-platform COM interop library for .NET Core 2.1 or newer
Exercism - website - The codebase for Exercism's website.
serde_v8 - Moved to https://github.com/denoland/deno
learnxinyminutes-docs - Code documentation written as code! How novel and totally my idea!
pfr - std::tuple like methods for user defined types without any macro or boilerplate code
zero-to-production - Code for "Zero To Production In Rust", a book on API development using Rust.
serde - Serialization framework for Rust
verona - Research programming language for concurrent ownership
sapio - A Bitcoin Programming Language
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!