diff options
Diffstat (limited to 'development/rust/README')
-rw-r--r-- | development/rust/README | 40 |
1 files changed, 11 insertions, 29 deletions
diff --git a/development/rust/README b/development/rust/README index ff69812bdf6c3..8bb185246733a 100644 --- a/development/rust/README +++ b/development/rust/README @@ -1,34 +1,16 @@ -Rust +Rust is a systems programming language that runs blazingly fast, +prevents segfaults, and guarantees thread safety. -Rust is a curly-brace, block-structured expression language. +https://www.rust-lang.org -It visually resembles the C language family, but differs significantly -in syntactic and semantic details. +This will build rust from source, which requires using the "official" stage0 +compiler for the version being built from rust-lang.org. Currently, "official" +means the previous stable version. -Its design is oriented toward concerns of "programming in the large", that -is, of creating and maintaining boundaries - both abstract and operational -- that preserve large-system integrity, availability and concurrency. +If you already have rust and cargo installed, this slackbuild will use these to +bootstrap itself. -It supports a mixture of imperative procedural, concurrent actor, -object-oriented and pure functional styles. Rust also supports generic -programming and metaprogramming, in both static and dynamic styles. +You can also force either behaviour through the LOCAL_BOOTSTRAP=yes|no +parameter. -Cargo - the Rust package manager - is included in this build. - -A short summary of features: - -Type system: static, nominal, linear, algebraic, locally inferred - -Memory safety: no null or dangling pointers, no buffer overflows - -Concurrency: lightweight tasks with message passing, no shared memory - -Generics: type parameterization with type classes - -Exception handling: unrecoverable unwinding with task isolation - -Memory model: optional task-local GC, safe pointer types with region analysis - -Compilation model: ahead-of-time, C/C++ compatible - -License: dual MIT / Apache 2 + LOCAL_BOOTSTRAP=no ./rust.SlackBuild |