Magdeburger DevDays: Why I Think Everybody Should Learn Rust

  Рет қаралды 1,619

Rainer Stropek

Rainer Stropek

Күн бұрын

Recording of my session at the community conference "Magdeburger Developer Days 2024" (md-devdays.de/....
Curious about why Rust has consistently been one of the most beloved programming languages? Wondering why its adoption is soaring in major projects like the Linux kernel, Android, Windows, and cloud computing? Join Rainer Stropek in this engaging session for a whirlwind tour of Rust, designed to help you decide if you want to explore this captivating language further. This is NOT a structured into to Rust! It is NOT filled with slides and theory. This hands-on demonstration involves building an end-to-end sample-a socket-based chatbot utilizing the brand-new OpenAI GPT-4o LLM. Along the way, Rainer highlights practical Rust language constructs and tools that he finds invaluable. This is a session by a developer, for developers.
GitHub Repo: github.com/rst...
00:00:00 Welcome, intro
00:04:51 Rust has macros
00:06:54 Async IO with tokio
00:09:20 Error handling with Result and anyhow
00:11:28 No "return" needed
00:12:45 Setting up socket listener (with await)
00:16:18 Error propagation ("?")
00:19:20 Background work with tokio
00:21:05 Immutable variables
00:28:30 Handling user input
00:30:12 enums in Rust
00:32:17 Arrays
00:34:09 Reading from socket
00:35:04 match statement
00:41:00 Echoing back to user
00:43:23 More about results
00:46:13 Using create to access OpenAI GPT 4o
00:55:03 Closing, summary
00:57:24 Q&A

Пікірлер
Lecture for 02.3
40:46
IST 140 Fall 24
Рет қаралды 38
JWT Authentication in Rust [Full Guide : Axum & Actix]
46:50
cudidotdev
Рет қаралды 3,5 М.
Apple peeling hack @scottsreality
00:37
_vector_
Рет қаралды 128 МЛН
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 50 МЛН
C# Fundamentals - Stack, Heap, and References
30:42
Rainer Stropek
Рет қаралды 2,9 М.
OOP 2024: Rust Memory Management Introduction
57:05
Rainer Stropek
Рет қаралды 1,4 М.
Java and Rust by Yishai Galatzer
47:11
Devoxx
Рет қаралды 9 М.
Techorama 2024: Turbocharge Coldstarts with ASP.NET Core NativeAOT
55:03
C# and .NET: Fundamentals of Exceptions
40:14
Rainer Stropek
Рет қаралды 1 М.
SAG 2023: Introduction to OpenAI Embeddings (with Python code samples)
45:52
Rust Error Handling - Best Practices
21:33
Jeremy Chone
Рет қаралды 21 М.