Rust
From APIDesign
(Difference between revisions)
(New page: Rust is a modern successor of C - a low level ''system'' programming language without Garbage Collection, but with memory safety! That saf...) |
|||
Line 1: | Line 1: | ||
[[wikipedia:Rust_(programming_language)|Rust]] is a modern successor of [[C]] - a low level ''system'' programming language without [[Garbage Collection]], but with memory safety! That safety comes from a strict ''linear'' type system - the strongest, but also hardest to use thing in [[Rust]]. [[I]] am just trying to rewrite my [[Sieve of Eratosthenes]] to [[Rust]] and it is almost impossible without reading [https://rust-unofficial.github.io/too-many-lists/ Too Many Lists] book. Will spending days of studying to implement something as trivial pay off? | [[wikipedia:Rust_(programming_language)|Rust]] is a modern successor of [[C]] - a low level ''system'' programming language without [[Garbage Collection]], but with memory safety! That safety comes from a strict ''linear'' type system - the strongest, but also hardest to use thing in [[Rust]]. [[I]] am just trying to rewrite my [[Sieve of Eratosthenes]] to [[Rust]] and it is almost impossible without reading [https://rust-unofficial.github.io/too-many-lists/ Too Many Lists] book. Will spending days of studying to implement something as trivial pay off? | ||
+ | |||
+ | === JNI ==== | ||
+ | |||
+ | It is surprisingly easy to connect [[Java]] with [[Rust]]. One doesn't have to write any [[C]] code. There is https://docs.rs/jni/latest/jni/ package. |
Current revision
Rust is a modern successor of C - a low level system programming language without Garbage Collection, but with memory safety! That safety comes from a strict linear type system - the strongest, but also hardest to use thing in Rust. I am just trying to rewrite my Sieve of Eratosthenes to Rust and it is almost impossible without reading Too Many Lists book. Will spending days of studying to implement something as trivial pay off?
JNI =
It is surprisingly easy to connect Java with Rust. One doesn't have to write any C code. There is https://docs.rs/jni/latest/jni/ package.