Furbishing and small additions

This commit is contained in:
finga 2021-10-15 13:19:33 +02:00
parent 431c1c85a7
commit 4d8936b6df

View file

@ -35,7 +35,7 @@
#+END_CENTER #+END_CENTER
*** Rust, the language *** Rust, the language
- First appearance 2010 - First public appearance 2010
- Rust is the coating closest to the bare metal - Rust is the coating closest to the bare metal
- Memory safe without gcing, optional reference counting - Memory safe without gcing, optional reference counting
- Ownership, lifetimes, traits, functional paradigms, zero-cost - Ownership, lifetimes, traits, functional paradigms, zero-cost
@ -97,6 +97,11 @@
- [[https://cheats.rs][cheats.rs]] - [[https://cheats.rs][cheats.rs]]
- [[https://programming-idioms.org/cheatsheet/Rust][programming-idioms.org]] - [[https://programming-idioms.org/cheatsheet/Rust][programming-idioms.org]]
** Where to continue?
*** Further Steps
- [[https://www.youtube.com/channel/UC_iD0xppBwwsrM9DegC5cQQ][Jon Gjengset]] (Considering Rust, Crust of Rust, Advanced topics
in Rust)
** Where to share, find help and stay up to date ** Where to share, find help and stay up to date
*** Online sharing/testing *** Online sharing/testing
- [[https://play.rust-lang.org/][play.rust-lang.org]] - [[https://play.rust-lang.org/][play.rust-lang.org]]
@ -129,7 +134,7 @@
fn_call(); fn_call();
#+END_SRC #+END_SRC
*** Expressions *** Expressions
~false~, ~x + y~, ~fn_call()~, ~if~, ~match~ ~()~, ~false~, ~x + y~, ~fn_call()~, ~if~, ~match~
*** Example *** Example
#+BEGIN_SRC rust #+BEGIN_SRC rust
let bool_value = true; let bool_value = true;
@ -478,7 +483,7 @@
#+END_SRC #+END_SRC
** Docs ** Docs
- Cargo help: ~cargo --help~ and ~cargo [SUBCOMMAND] --help~ - Cargo help: ~$ cargo --help~ and ~$ cargo [SUBCOMMAND] --help~
- [[https://doc.rust-lang.org/cargo/index.html][The Cargo Book]] (~$ rustup docs --cargo~) - [[https://doc.rust-lang.org/cargo/index.html][The Cargo Book]] (~$ rustup docs --cargo~)
- Guillaume Gomez: [[https://blog.guillaume-gomez.fr/articles/2020-03-12+Guide+on+how+to+write+documentation+for+a+Rust+crate][Guide on how to write documentation for a Rust - Guillaume Gomez: [[https://blog.guillaume-gomez.fr/articles/2020-03-12+Guide+on+how+to+write+documentation+for+a+Rust+crate][Guide on how to write documentation for a Rust
crate]] crate]]
@ -571,8 +576,8 @@
- [[https://tokio.rs/][tokio]] - [[https://tokio.rs/][tokio]]
** Parsing/Encoding ** Parsing/Encoding
- clap: The command line argument parser (if starting a new project - clap: The command line argument parser (use v3.0.0-beta when
I would use v3.0.0-beta) starting a new project)
- [[https://serde.rs/][serde]] - [[https://serde.rs/][serde]]
- nom - nom
- [[https://pest.rs/][pest]] - [[https://pest.rs/][pest]]
@ -587,7 +592,6 @@
** Logging ** Logging
- log: a lightweight logging facade - log: a lightweight logging facade
- env_logger - env_logger
- simple_logger - simple_logger
- simplelog - simplelog
@ -695,14 +699,15 @@
- ~unsafe~ Rust - ~unsafe~ Rust
* Footnotes * Footnotes
[fn:rust_fungus] [[https://commons.wikimedia.org/wiki/File:Bruine_roest_op_tarwe_(Puccinia_recondita_f.sp._tritici_on_Triticum_aestivum).jpg][Wikimedia]] [fn:rust_fungus] [[https://commons.wikimedia.org/wiki/File:Bruine_roest_op_tarwe_(Puccinia_recondita_f.sp._tritici_on_Triticum_aestivum).jpg][Wikimedia]] (Puccinia recondita f.sp. tritici)
[fn:strengths] Copied list from: [[https://cheats.rs/#tab-hello-3][cheats.rs]]. [fn:strengths] Copied list from: [[https://cheats.rs/#tab-hello-3][cheats.rs]].
[fn:weaknesses] Copied list from: [[https://cheats.rs/#tab-hello-4][cheats.rs]]. [fn:weaknesses] Copied list from: [[https://cheats.rs/#tab-hello-4][cheats.rs]].
[fn:lwn_gcc] [[https://lwn.net/Articles/871283/][Rust and GCC, two different ways]] [fn:lwn_gcc] [[https://lwn.net/Articles/871283/][Rust and GCC, two different ways]]
[fn:gcc] Work on GCC: [[https://rust-gcc.github.io/][rust-gcc]] and [[https://news.ycombinator.com/item?id=27775544][gcc rust backend]]. [fn:gcc] Work on GCC: [[https://rust-gcc.github.io/][rust-gcc]] and [[https://news.ycombinator.com/item?id=27775544][gcc rust backend]].
[fn:survey] [[https://blog.rust-lang.org/2020/04/17/Rust-survey-2019.html#why-not-use-rust][Rust survey]] [fn:survey] [[https://blog.rust-lang.org/2020/04/17/Rust-survey-2019.html#why-not-use-rust][Rust survey]]
[fn:compiler_speed] [[https://news.ycombinator.com/item?id=23538220][The Rust compiler isn't slow; we are]] [fn:compiler_speed] [[https://news.ycombinator.com/item?id=23538220][The Rust compiler isn't slow; we are]]
[fn:specification] [[https://people.mpi-sws.org/%7Ejung/thesis.html][Understanding and Evolving the Rust Programming Language]] [fn:specification] [[https://people.mpi-sws.org/%7Ejung/thesis.html][Understanding and Evolving the Rust Programming
Language]]
[fn:xkcd_dangling_pointer] [[https://xkcd.com/371/][xkcd.com/371]] [fn:xkcd_dangling_pointer] [[https://xkcd.com/371/][xkcd.com/371]]
[fn:reference_loops] [[https://doc.rust-lang.org/reference/expressions/loop-expr.html][Rust Reference: Loops]] [fn:reference_loops] [[https://doc.rust-lang.org/reference/expressions/loop-expr.html][Rust Reference: Loops]]
[fn:areweideyet] [[https://areweideyet.com/][areweideyet.com]] [fn:areweideyet] [[https://areweideyet.com/][areweideyet.com]]