tree: be773620ce53ebff3f3e841cf8253119cc138729 [path history] [tgz]
  1. advanced-linking.md
  2. associated-constants.md
  3. associated-types.md
  4. attributes.md
  5. benchmark-tests.md
  6. bibliography.md
  7. borrow-and-asref.md
  8. box-syntax-and-patterns.md
  9. casting-between-types.md
  10. choosing-your-guarantees.md
  11. closures.md
  12. comments.md
  13. compiler-plugins.md
  14. concurrency.md
  15. conditional-compilation.md
  16. const-and-static.md
  17. crates-and-modules.md
  18. custom-allocators.md
  19. deref-coercions.md
  20. documentation.md
  21. drop.md
  22. effective-rust.md
  23. enums.md
  24. error-handling.md
  25. ffi.md
  26. functions.md
  27. generics.md
  28. getting-started.md
  29. glossary.md
  30. guessing-game.md
  31. if-let.md
  32. if.md
  33. inline-assembly.md
  34. intrinsics.md
  35. iterators.md
  36. lang-items.md
  37. learn-rust.md
  38. lifetimes.md
  39. loops.md
  40. macros.md
  41. match.md
  42. method-syntax.md
  43. mutability.md
  44. nightly-rust.md
  45. no-stdlib.md
  46. operators-and-overloading.md
  47. ownership.md
  48. patterns.md
  49. primitive-types.md
  50. raw-pointers.md
  51. README.md
  52. references-and-borrowing.md
  53. release-channels.md
  54. slice-patterns.md
  55. strings.md
  56. structs.md
  57. SUMMARY.md
  58. syntax-and-semantics.md
  59. syntax-index.md
  60. testing.md
  61. the-stack-and-the-heap.md
  62. trait-objects.md
  63. traits.md
  64. type-aliases.md
  65. ufcs.md
  66. unsafe.md
  67. unsized-types.md
  68. using-rust-without-the-standard-library.md
  69. variable-bindings.md
  70. vectors.md
src/doc/book/README.md

% The Rust Programming Language

Welcome! This book will teach you about the Rust Programming Language. Rust is a systems programming language focused on three goals: safety, speed, and concurrency. It maintains these goals without having a garbage collector, making it a useful language for a number of use cases other languages aren’t good at: embedding in other languages, programs with specific space and time requirements, and writing low-level code, like device drivers and operating systems. It improves on current languages targeting this space by having a number of compile-time safety checks that produce no runtime overhead, while eliminating all data races. Rust also aims to achieve ‘zero-cost abstractions’ even though some of these abstractions feel like those of a high-level language. Even then, Rust still allows precise control like a low-level language would.

“The Rust Programming Language” is split into chapters. This introduction is the first. After this:

Contributing

The source files from which this book is generated can be found on GitHub.