Тёмный

Magdeburger DevDays: Why I Think Everybody Should Learn Rust 

Rainer Stropek
Подписаться 15 тыс.
Просмотров 1,6 тыс.
50% 1

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

Опубликовано:

 

21 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
C# Fundamentals - Stack, Heap, and References
30:42
Просмотров 2,9 тыс.
LIFEHACK😳 Rate our backpacks 1-10 😜🔥🎒
00:13
Rust & Zig Combined • Richard Feldman • GOTO 2023
45:34
Java and Rust by Yishai Galatzer
47:11
Просмотров 9 тыс.
Rust Error Handling - Best Practices
21:33
Просмотров 21 тыс.
Decrusting the tokio crate
3:31:48
Просмотров 95 тыс.
C# and .NET: Fundamentals of Exceptions
40:14
Просмотров 1 тыс.