diff --git a/_images/rust-issues.png b/_images/rust-issues.png new file mode 100644 index 0000000..8d2109f Binary files /dev/null and b/_images/rust-issues.png differ diff --git a/rust-legal.html b/rust-legal.html index 55054e4..2579a4d 100644 --- a/rust-legal.html +++ b/rust-legal.html @@ -156,6 +156,8 @@ fn main() { 2 2 + +

"Copy trait"

@@ -329,6 +331,119 @@ OK(())
+
+
+

Crazy stuff

+
+ +
+ How Rust’s standard library was vulnerable for years and nobody noticed +
+ +
+ No, the problem isn’t “bad coders” +
+ +
+ 4.5k issues no Github +
+ +
+ rustup + +
+ stable-x86_64-pc-windows-msvc +
+ +
+ armv7-unknown-linux-gnueabihf +
+ +
+ wasm32-unknown-unknown (WebAssembly) +
+
+
+ +
+
+

Bibliotecas

+
+ +
+

Rayon

+ +

+fn sum_of_squares(input: &[i32]) -> i32 {
+    input.iter()
+         .map(|&i| i * i)
+         .sum()
+}
+						
+
+ +
+

Rayon

+ +

+fn sum_of_squares(input: &[i32]) -> i32 {
+    input.par_iter()
+         .map(|&i| i * i)
+         .sum()
+}
+						
+
+ +
+

Log-Derive

+ +

+#[logfn(ok = "TRACE", err = "ERROR")]
+fn call_isan(num: &str) -> Result<Success, Error> {
+    if num.len() >= 10 && num.len() <= 15 {
+        Ok(Success)
+    } else {
+        Err(Error)
+    }
+}
+                        
+
+
+ +
+
+

E quem usa?

+
+ +
+

Magic Pocket

+ +

Dropbox

+ +

Petabyte storage

+
+ +
+

Servo

+ +

Mozilla

+ +

Base do Firefox Quantum

+
+ +
+

Azure

+ +

Microsoft

+ +

Usado na parte de IoT do Azure

+
+ +
+

Tor

+
+
+