diff --git a/_images/around-world.jpg b/_images/around-world.jpg new file mode 100644 index 0000000..80a01c8 Binary files /dev/null and b/_images/around-world.jpg differ diff --git a/_images/how.gif b/_images/how.gif new file mode 100644 index 0000000..1f05d54 Binary files /dev/null and b/_images/how.gif differ diff --git a/_images/moores-law-2020.png b/_images/moores-law-2020.png new file mode 100644 index 0000000..8b54f84 Binary files /dev/null and b/_images/moores-law-2020.png differ diff --git a/_images/rust-blazingly-fast.png b/_images/rust-blazingly-fast.png new file mode 100644 index 0000000..ecc354f Binary files /dev/null and b/_images/rust-blazingly-fast.png differ diff --git a/_images/rust-energy-full.png b/_images/rust-energy-full.png new file mode 100644 index 0000000..0c3b09d Binary files /dev/null and b/_images/rust-energy-full.png differ diff --git a/_images/rust-fearless-concurrency.png b/_images/rust-fearless-concurrency.png new file mode 100644 index 0000000..c448854 Binary files /dev/null and b/_images/rust-fearless-concurrency.png differ diff --git a/_images/rust-languages.png b/_images/rust-languages.png new file mode 100644 index 0000000..3d920fa Binary files /dev/null and b/_images/rust-languages.png differ diff --git a/index.json b/index.json index 300d738..079f1c7 100644 --- a/index.json +++ b/index.json @@ -1 +1 @@ -[{"presentation": "unit-in-unittests-2.html", "title": "\"Unit\" em \"Unit Tests\"", "image": "_images/tdd-kentbeck-book.jpg", "changed": "2020-03-06 12:51:29"}, {"presentation": "gramatica-vim.html", "title": "A Gram\u00e1tica do VIM", "image": "_images/vim.png", "changed": "2020-03-06 12:51:29"}, {"presentation": "ajax-sosp-cors-csrf.html", "title": "AJAX / SOSP / CORS / CSRF", "image": "_images/ajax-sosp-cors-csrf.png", "changed": "2018-10-20 08:23:12"}, {"presentation": "activitypub.html", "title": "ActivityPub", "image": "_images/activitypub-logo.png", "changed": "2020-03-06 12:51:29"}, {"presentation": "cargo-cult.html", "title": "Cargo Cult", "image": "_images/cargo-cult.jpg", "changed": "2020-03-06 12:51:29"}, {"presentation": "com-licenca.html", "title": "Com Licen\u00e7a!", "image": "_images/patrick-license.jpeg", "changed": "2020-03-06 12:51:29"}, {"presentation": "django-full.html", "title": "Django", "image": "_images/django-allauth.png", "changed": "2018-10-20 08:23:12"}, {"presentation": "django.html", "title": "Entendendo Django", "image": "_images/django-allauth.png", "changed": "2018-10-20 08:23:12"}, {"presentation": "django-rest.html", "title": "Entendendo Django REST Framework", "image": "_images/django-rest.png", "changed": "2018-10-20 08:23:12"}, {"presentation": "filosofando-testes.html", "title": "Filosofando sobre Testes", "image": "_images/tdd-kentbeck-book.jpg", "changed": "2020-03-06 12:51:29"}, {"presentation": "flask-40mins.html", "title": "Flask em 40 Minutos ou Menos", "image": "_images/flask.png", "changed": "2020-03-06 12:51:29"}, {"presentation": "flink.html", "title": "Flink", "image": "_images/streamprocessing-flink.png", "changed": "2020-03-06 12:51:29"}, {"presentation": "fugindo-com-python-2.html", "title": "Fugindo para as Colinas Com Python", "image": "_images/python.jpg", "changed": "2020-03-06 12:51:29"}, {"presentation": "gitsvn.html", "title": "GIT + GIT-SVN", "image": "_images/Sketch27014711.png", "changed": "2018-10-20 08:23:12"}, {"presentation": "gitflow.html", "title": "GIT Flow", "image": "_images/git-workflow-gitflow.png", "changed": "2018-10-20 08:23:12"}, {"presentation": "rust-legal.html", "title": "O Que Rust Tem de Legal", "image": "_images/rust.png", "changed": "2020-03-06 12:51:29"}, {"presentation": "tchelinux.html", "title": "O Que \u00c9 o Tchelinux?", "image": "_images/tchelinux.png", "changed": "2020-03-06 12:51:29"}, {"presentation": "porque-como-opensource.html", "title": "Por que e Como Participar de Projetos Open Source", "image": "_images/osi_keyhole_300X300_90ppi_0.png", "changed": "2020-03-06 12:51:29"}, {"presentation": "porque-rust.html", "title": "Porque Voc\u00ea Deveria Aprender Rust", "image": "_images/rust-ferris.png", "changed": "2020-03-06 12:51:29"}, {"presentation": "pycaxias2020.html", "title": "PyCaxias 2020", "image": "_images/pycaxias.png", "changed": "2020-03-06 12:51:29"}, {"presentation": "pypoa.html", "title": "PyPoa 2014", "image": "_images/poa.jpg", "changed": "2018-10-20 08:23:12"}, {"presentation": "python23six.html", "title": "Python 2 + 3 = Six", "image": "_images/snake-six.jpg", "changed": "2020-03-06 12:51:29"}, {"presentation": "python36.html", "title": "Python 3.6", "image": "_images/python.jpg", "changed": "2020-03-06 12:51:29"}, {"presentation": "rest.html", "title": "ReST", "image": "_images/Seascapeshd.png", "changed": "2018-10-20 08:23:12"}, {"presentation": "rustlatam-2019.html", "title": "Rust Latam 2019", "image": "_images/rustlatam.png", "changed": "2020-03-06 12:51:29"}, {"presentation": "quick-rust.html", "title": "R\u00e1pida Introdu\u00e7\u00e3o ao Rust", "image": "_images/rust-ferris.png", "changed": "2020-03-06 12:51:29"}, {"presentation": "spa.html", "title": "SPA", "image": "_images/Eau_Rouge_1997.jpg", "changed": "2018-10-20 08:23:12"}, {"presentation": "intro-stream-processing.html", "title": "Uma N\u00e3o-Gentil Introdu\u00e7\u00e3o ao Stream Processing", "image": "_images/streamprocessing.jpg", "changed": "2020-03-06 12:51:29"}] \ No newline at end of file +[{"presentation": "unit-in-unittests-2.html", "title": "\"Unit\" em \"Unit Tests\"", "image": "_images/tdd-kentbeck-book.jpg", "changed": "2023-06-12 14:06:24"}, {"presentation": "gramatica-vim.html", "title": "A Gram\u00e1tica do VIM", "image": "_images/vim.png", "changed": "2023-06-12 14:06:24"}, {"presentation": "ajax-sosp-cors-csrf.html", "title": "AJAX / SOSP / CORS / CSRF", "image": "_images/ajax-sosp-cors-csrf.png", "changed": "2023-06-12 14:06:24"}, {"presentation": "activitypub.html", "title": "ActivityPub", "image": "_images/activitypub-logo.png", "changed": "2023-06-12 14:06:24"}, {"presentation": "cargo-cult.html", "title": "Cargo Cult", "image": "_images/cargo-cult.jpg", "changed": "2023-06-12 14:06:24"}, {"presentation": "com-licenca.html", "title": "Com Licen\u00e7a!", "image": "_images/patrick-license.jpeg", "changed": "2023-08-30 12:13:32"}, {"presentation": "django-full.html", "title": "Django", "image": "_images/django-allauth.png", "changed": "2023-06-12 14:06:24"}, {"presentation": "django.html", "title": "Entendendo Django", "image": "_images/django-allauth.png", "changed": "2023-06-12 14:06:24"}, {"presentation": "django-rest.html", "title": "Entendendo Django REST Framework", "image": "_images/django-rest.png", "changed": "2023-06-12 14:06:24"}, {"presentation": "filosofando-testes.html", "title": "Filosofando sobre Testes", "image": "_images/tdd-kentbeck-book.jpg", "changed": "2023-06-12 14:06:24"}, {"presentation": "flask-40mins.html", "title": "Flask em 40 Minutos ou Menos", "image": "_images/flask.png", "changed": "2023-06-12 14:06:24"}, {"presentation": "flink.html", "title": "Flink", "image": "_images/streamprocessing-flink.png", "changed": "2023-06-12 14:06:24"}, {"presentation": "fugindo-com-python-2.html", "title": "Fugindo para as Colinas Com Python", "image": "_images/python.jpg", "changed": "2023-06-12 14:06:24"}, {"presentation": "gitsvn.html", "title": "GIT + GIT-SVN", "image": "_images/Sketch27014711.png", "changed": "2023-06-12 14:06:24"}, {"presentation": "gitflow.html", "title": "GIT Flow", "image": "_images/git-workflow-gitflow.png", "changed": "2023-06-12 14:06:24"}, {"presentation": "rust-legal.html", "title": "O Que Rust Tem de Legal", "image": "_images/rust.png", "changed": "2023-06-12 14:06:24"}, {"presentation": "tchelinux.html", "title": "O Que \u00c9 o Tchelinux?", "image": "_images/tchelinux.png", "changed": "2023-06-12 14:06:24"}, {"presentation": "porque-como-opensource.html", "title": "Por que e Como Participar de Projetos Open Source", "image": "_images/osi_keyhole_300X300_90ppi_0.png", "changed": "2023-06-12 14:06:24"}, {"presentation": "porque-rust.html", "title": "Porque Voc\u00ea Deveria Aprender Rust", "image": "_images/rust-ferris.png", "changed": "2023-06-19 15:07:54"}, {"presentation": "pycaxias2020.html", "title": "PyCaxias 2020", "image": "_images/pycaxias.png", "changed": "2023-06-12 14:06:24"}, {"presentation": "pypoa.html", "title": "PyPoa 2014", "image": "_images/poa.jpg", "changed": "2023-06-12 14:06:24"}, {"presentation": "python23six.html", "title": "Python 2 + 3 = Six", "image": "_images/snake-six.jpg", "changed": "2023-06-12 14:06:24"}, {"presentation": "python36.html", "title": "Python 3.6", "image": "_images/python.jpg", "changed": "2023-06-12 14:06:24"}, {"presentation": "rest.html", "title": "ReST", "image": "_images/Seascapeshd.png", "changed": "2023-06-12 14:06:24"}, {"presentation": "rust-em-10-minutos.html", "title": "Rust Em 10 Minutos", "image": "_images/rust-ferris.png", "changed": "2023-09-04 15:49:15"}, {"presentation": "rustlatam-2019.html", "title": "Rust Latam 2019", "image": "_images/rustlatam.png", "changed": "2023-06-12 14:06:24"}, {"presentation": "quick-rust.html", "title": "R\u00e1pida Introdu\u00e7\u00e3o ao Rust", "image": "_images/rust-ferris.png", "changed": "2023-06-12 14:06:24"}, {"presentation": "spa.html", "title": "SPA", "image": "_images/Eau_Rouge_1997.jpg", "changed": "2023-06-12 14:06:24"}, {"presentation": "intro-stream-processing.html", "title": "Uma N\u00e3o-Gentil Introdu\u00e7\u00e3o ao Stream Processing", "image": "_images/streamprocessing.jpg", "changed": "2023-06-12 14:06:24"}] \ No newline at end of file diff --git a/rust-em-10-minutos.html b/rust-em-10-minutos.html new file mode 100644 index 0000000..661d20f --- /dev/null +++ b/rust-em-10-minutos.html @@ -0,0 +1,306 @@ + + + + + + Rust Em 10 Minutos + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+

Rust Em 10 Minutos

+
+ +
+

+ História + +

+ +
    +
  • Criada em 2006 por Graydon Hoare.
  • +
  • Patrocinada pela Mozilla em 2009.
  • +
  • Versão 1.0 em 2015.
  • +
  • Versão atual: 1.72
  • +
+ + +
+ +
+ +
+ +
+ +
+ +
+

Microsoft: 70 percent of all security bugs are memory safety issues

+

(2019)

+
+ +
+ +
+ +
+ +
+ + +
+

Green Energy Language

+ + + + +
+ +
+

+ "Speaking of languages, it's time to halt starting any new + projects in C/C++ and use Rust for those scenarios + where a non-GC language is required. For the sake of + security and reliability. the industry should declare + those languages as deprecated" +

+ +

+ - Mark Russinovich, Azure CTO, 2022 +

+
+ +
+

+ StackOverflow Survey 2023: "Most Admired Language" (84.6%) +

+ +

+ ... pelo 8o ano seguido. +

+
+ +
+ +
+ +
+

Borrow Checker

+ +

(and lifetimes)

+
+ +
+

+fn main() {
+    let hello = String::from("Hello!");
+    {
+       let world = String::from("World!");
+       println!("{hello} {world}");
+    }
+
+    println!("{hello} {world}");
+}
+                    
+
+ +
+

+fn i_own_this_now(s: String) {
+    println!("Hello {s}!")
+}
+
+fn main() {
+   let name = String::from("Julio");
+   i_own_this_now(name);
+   println!("Goodbye {name}");
+}
+                    
+
+ +
+

+fn can_i_borrow_it_for_a_second(s: &str) {
+   println!("Hello {s}");
+}
+
+fn main() {
+    let name = String::from("Julio");
+    can_i_borrow_it_for_a_second(&name);
+    println!("Goodbye {name}");
+}
+                    
+
+ +
+

+func foo() {
+  regalo := Gift { .. }
+  channel <- regalo
+  regalo.open();
+}
+                    
+ + + ( + Niko Matsakis, RustLatam 2019 + ) + +
+ +
+ + + + ( + Niko Matsakis, RustLatam 2019 + ) + +
+ +
+ +
+ +
+

Cargo

+ +
    +
  • Dependency manager
  • +
  • Build tool
  • +
  • Distributable packages
  • +
  • Uploader to the registry (crates.io)
  • +
+
+ +
+

+ Serde + Pest + Ratatui +

+ +

The Rust Book

+ +

+ Tokio + Async-Std + Actix +

+
+ +
+
+
+
+ + + + + + + +