Furbishing and small additions
This commit is contained in:
parent
431c1c85a7
commit
4d8936b6df
1 changed files with 13 additions and 8 deletions
|
@ -35,7 +35,7 @@
|
|||
#+END_CENTER
|
||||
|
||||
*** Rust, the language
|
||||
- First appearance 2010
|
||||
- First public appearance 2010
|
||||
- Rust is the coating closest to the bare metal
|
||||
- Memory safe without gcing, optional reference counting
|
||||
- Ownership, lifetimes, traits, functional paradigms, zero-cost
|
||||
|
@ -97,6 +97,11 @@
|
|||
- [[https://cheats.rs][cheats.rs]]
|
||||
- [[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
|
||||
*** Online sharing/testing
|
||||
- [[https://play.rust-lang.org/][play.rust-lang.org]]
|
||||
|
@ -129,7 +134,7 @@
|
|||
fn_call();
|
||||
#+END_SRC
|
||||
*** Expressions
|
||||
~false~, ~x + y~, ~fn_call()~, ~if~, ~match~
|
||||
~()~, ~false~, ~x + y~, ~fn_call()~, ~if~, ~match~
|
||||
*** Example
|
||||
#+BEGIN_SRC rust
|
||||
let bool_value = true;
|
||||
|
@ -478,7 +483,7 @@
|
|||
#+END_SRC
|
||||
|
||||
** 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~)
|
||||
- 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]]
|
||||
|
@ -571,8 +576,8 @@
|
|||
- [[https://tokio.rs/][tokio]]
|
||||
|
||||
** Parsing/Encoding
|
||||
- clap: The command line argument parser (if starting a new project
|
||||
I would use v3.0.0-beta)
|
||||
- clap: The command line argument parser (use v3.0.0-beta when
|
||||
starting a new project)
|
||||
- [[https://serde.rs/][serde]]
|
||||
- nom
|
||||
- [[https://pest.rs/][pest]]
|
||||
|
@ -587,7 +592,6 @@
|
|||
|
||||
** Logging
|
||||
- log: a lightweight logging facade
|
||||
|
||||
- env_logger
|
||||
- simple_logger
|
||||
- simplelog
|
||||
|
@ -695,14 +699,15 @@
|
|||
- ~unsafe~ Rust
|
||||
|
||||
* 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: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: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: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:reference_loops] [[https://doc.rust-lang.org/reference/expressions/loop-expr.html][Rust Reference: Loops]]
|
||||
[fn:areweideyet] [[https://areweideyet.com/][areweideyet.com]]
|
||||
|
|
Loading…
Reference in a new issue