Jeremy Chone
Rust Channels - Patterns and Best Practices
updated
Context: I need to update the `aip` CLI to use Ratatui, and as I always do, I start with a `rust-xp-ratatui` project to get familiar with the technology. This might eventually end up as an edited "Ratatui Intro" video in the future.
GitHub: github.com/jeremychone-channel/rust-xp-ratatui
Part 1: youtube.com/live/9if0Va0_hE8
🔥 All public live streams will now remain public indefinitely!!!
=== Links
➜ Discord general-rust - discord.gg/W2besKCzjx
➜ Discord genai & aipack - discord.gg/6KkpQBKGFS
➜ Twitter - twitter.com/jeremychone
➜ Join or support this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- "Office Hours" members - For real-time live meetings about Rust design/coding and cloud system design
- "Early Access" members - For early access to videos
➜ AIPACK - aipack.ai - Built in Rust, 20MB CLI to run, build, and share custom agents
➜ AIPACK Blog - news.aipack.ai/archive - Posts and videos about AIPACK
➜ pro@coder demo - news.aipack.ai/p/production-coding-example-with-procoder - Production coding with AI
GitHub repo: github.com/jeremychone-channel/rust-xp-valkey-stream
- 00:00 - Intro
- 00:20 - Concepts
- 01:15 - Setup
- 02:05 - C01 - Simple Set/Get
- 05:10 - C02 - XADD / XREAD
- 12:21 - C03 - Async
- 21:01 - C04 - xgroups
- 29:00 - C05 - groups & consumers
A few notes about Valkey, Redis, and MQ:
1) Valkey is a fork of Redis, maintained by the Linux Foundation, and used by AWS, Google, Oracle, and other companies. It's usually our go-to for "Redis server."
2) It's important to note that the Redis/Valkey Stream feature is not about providing a key/value feature set, but provides the core functions of an MQ infrastructure. It is very simple, efficient, and feature-rich for a basic MQ infrastructure.
3) The one most comparable would be NATS/JetStream, which also has more advanced features. Although in our case, simple scales better, hence our preference to go with Valkey.
4) Kafka, RabbitMQ, and other more complex MQ systems might be required in some use cases, but we found that Valkey Stream is a great solution for most MQ needs.
=== Links
➜ Discord general-rust - discord.gg/W2besKCzjx
➜ Discord genai & aipack - discord.gg/6KkpQBKGFS
➜ Twitter - twitter.com/jeremychone
➜ Join or support this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- "Office Hours" members - For real-time live meetings about Rust design/coding and cloud system design
- "Early Access" members - For early access of video
➜ AIPACK - aipack.ai - Built in Rust, 20MB CLI to run, build, share custom agents
➜ AIPACK Blog - news.aipack.ai/archive - Posts and videos about AIPACK
➜ pro@coder demo - news.aipack.ai/p/production-coding-example-with-procoder - Production coding with AI
➜ Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
== JC Playlists:
- Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- AI Production Coding - youtube.com/playlist?list=PL7r-PXl6ZPcB2zN0XHsYIDaD5yW8I40AE
- AIPACK Playlist - youtube.com/playlist?list=PL7r-PXl6ZPcDBodiiTdUeCmUwsYFyDzGt
- Rust AI Programming Series: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
Rust10x - Coding Resources for Production Coding in Rust. ➜ rust10x.com
Other notes:
- Davinci Resolve and Fusion video editing.
- ScreenBrush for the green lines. (Gromit seems to be the equivalent on Linux)
- Sketchapp for some graphics.
- VSCode with Google Material icon themes (with some customization)
Context: I need to update the `aip` CLI to use Ratatui, and as I always do, I start with a `rust-xp-ratatui` to get familiar with the technology. This might end up as an edited "Ratatui Intro" video in the future.
GitHub: github.com/jeremychone-channel/rust-xp-ratatui
🔥 All public live streams will now stay public indefinitely!!!
=== Links
➜ Discord general-rust - discord.gg/W2besKCzjx
➜ Discord genai & aipack - discord.gg/6KkpQBKGFS
➜ Twitter - twitter.com/jeremychone
➜ Join or support this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- "Office Hours" members - For real-time live meetings about Rust design/coding and cloud system design
- "Early Access" members - For early access of video
➜ AIPACK - aipack.ai - Built in Rust, 20MB CLI to run, build, share custom agents
➜ AIPACK Blog - news.aipack.ai/archive - Posts and videos about AIPACK
➜ pro@coder demo - news.aipack.ai/p/production-coding-example-with-procoder - Production coding with AI
This will be a quick live session to show if-let chain and while-let chain with simple examples.
Rust 1.88 release post: blog.rust-lang.org/2025/06/26/Rust-1.88.0
🔥 All public live streams will now stay public indefinitely!!!
=== Links
➜ Discord general-rust - discord.gg/W2besKCzjx
➜ Discord genai & aipack - discord.gg/6KkpQBKGFS
➜ Twitter - twitter.com/jeremychone
➜ Join or support this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- "Office Hours" members - For real-time live meetings about Rust design/coding and cloud system design
- "Early Access" members - For early access of video
➜ AIPACK - aipack.ai - Built in Rust, 20MB CLI to run, build, share custom agents
➜ AIPACK Blog - news.aipack.ai/archive - Posts and videos about AIPACK
➜ pro@coder demo - news.aipack.ai/p/production-coding-example-with-procoder - Production coding with AI
It's a utility I use all the time, and I just wanted to re-implement it from scratch. It will work on Mac, but should work on Windows and Linux with the right keyring feature.
🔥 All public live streams will now remain public indefinitely!!!
GitHub repo: github.com/jeremychone/rust-key-cli
=== Links
➜ Discord general-rust - discord.gg/W2besKCzjx
➜ Discord genai & aipack - discord.gg/6KkpQBKGFS
➜ Twitter - twitter.com/jeremychone
➜ Join or support this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- "Office Hours" members - For real-time live meetings about Rust design/coding and cloud system design
- "Early Access" members - For early access of video
➜ AIPACK - aipack.ai - Built in Rust, 20MB CLI to run, build, share custom agents
➜ AIPACK Blog - news.aipack.ai/archive - Posts and videos about AIPACK
➜ pro@coder demo - news.aipack.ai/p/production-coding-example-with-procoder - Production coding with AI
We covered the first part yesterday (youtube.com/live/NUDuLQhLnYY), where we added multi-content to the chat request/response, and now we'll add it for the streaming API.
🔥 All public live streams will now remain public indefinitely!!!
=== Links
➜ Discord general-rust - discord.gg/W2besKCzjx
➜ Discord genai & aipack - discord.gg/6KkpQBKGFS
➜ Twitter - twitter.com/jeremychone
➜ Join or support this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- "Office Hours" members - For real-time live meetings about Rust design/coding and cloud system design
- "Early Access" members - For early access of video
➜ AIPACK - aipack.ai - Built in Rust, 20MB CLI to run, build, share custom agents
➜ AIPACK Blog - news.aipack.ai/archive - Posts and videos about AIPACK
➜ pro@coder demo - news.aipack.ai/p/production-coding-example-with-procoder - Production coding with AI
This was a feature request that was made, so we will live code it live.
🔥 All public live streams will now remain public indefinitely!!!
=== Links
➜ Discord general-rust - discord.gg/W2besKCzjx
➜ Discord genai & aipack - discord.gg/6KkpQBKGFS
➜ Twitter - twitter.com/jeremychone
➜ Join or support this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- "Office Hours" members - For real-time live meetings about Rust design/coding and cloud system design
- "Early Access" members - For early access of video
➜ AIPACK - aipack.ai - Built in Rust, 20MB CLI to run, build, share custom agents
➜ AIPACK Blog - news.aipack.ai/archive - Posts and videos about AIPACK
➜ pro@coder demo - news.aipack.ai/p/production-coding-example-with-procoder - Production coding with AI
🔥 All public live streams will now remain public indefinitely!!!
=== Links
➜ Twitter - twitter.com/jeremychone
➜ Discord general-rust - discord.gg/W2besKCzjx
➜ Discord genai & aipack - discord.gg/6KkpQBKGFS
➜ Join or support this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- "Office Hours" members - For real-time live meetings about Rust design/coding and cloud system design
- "Early Access" members - For early access of video
➜ AIPACK - aipack.ai - Built in Rust, 20MB CLI to run, build, share custom agents
➜ AIPACK Blog - news.aipack.ai/archive - Posts and videos about AIPACK
➜ pro@coder demo - news.aipack.ai/p/production-coding-example-with-procoder - Production coding with AI
This live covers:
- Quick review of what we did in Part 1
- Stream - XREADGROUP
- Multiple Groups and Multi consumers
🔥 All public live streams will now remain public indefinitely !!!
Note: Sorry, for part of the video I turned off my camera overlay and forgot to turn it back on. But at least the code and voice were fine.
=== Links
➜ Twitter - twitter.com/jeremychone
➜ Discord general-rust - discord.gg/W2besKCzjx
➜ Discord genai & aipack - discord.gg/6KkpQBKGFS
➜ Join or support this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- "Office Hours" members - For real-time live meetings about Rust design/coding and cloud system design
- "Early Access" members - For early access
➜ AIPACK - aipack.ai - Built in Rust, 20MB CLI to run, build, share custom agents.
➜ AIPACK Blog - news.aipack.ai/archive - Posts and videos about AIPACK
➜ pro@coder demo - news.aipack.ai/p/production-coding-example-with-procoder - Production coding with AI
This live stream covers:
- Simple - get/set (no stream, just basic key-value cache)
- Stream - Single XADD / XREAD
- Stream - Async & multiple XADD / XREAD
🔥 All public live streams will now remain public indefinitely !!!
=== Links
➜ Twitter - twitter.com/jeremychone
➜ Discord general-rust - discord.gg/W2besKCzjx
➜ Discord genai & aipack - discord.gg/6KkpQBKGFS
➜ Join or support this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- "Office Hours" members - For real-time live meetings about Rust design/coding and cloud system design
- "Early Access" members - For early access
➜ AIPACK - aipack.ai - Built in Rust, 20MB CLI to run, build, share custom agents.
➜ AIPACK Blog - news.aipack.ai/archive - Posts and videos about AIPACK
➜ pro@coder demo - news.aipack.ai/p/production-coding-example-with-procoder - Production coding with AI
We will refactor and clean up the transport/client communication layer, and then add the sampling server-to-client communication.
Also, we'll check out all those transport sequence diagrams, which is going to be cool.
===
➜ Join or support this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
➜ Members Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
We'll start with the stdio transport, and then move on to adding it to the streamableHttp one.
Also, we'll check out all those transport sequence diagrams, which is going to be cool.
Here is the MS Teams link to join with real-time video/audio (and ask real-time chat/audio questions)
teams.microsoft.com/meet/2148170546210?p=Gv6JadMeHuLQNmxg1y
====
➜ Join or support this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
➜ Members Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
I'll drop a Microsoft Teams link in the chat for anyone who wants to join via Teams for real-time audio and video participation.
===
➜ Join or support this channel (for more live streams) - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
➜ Members Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
Note: This is a live, unscripted coding session, something I’m coding on the spot. I’ll also keep adding scripted Rust and production coding videos to this channel.
===
➜ Join or support this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
➜ Members Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
Make sure to handle the mcp-session-id, and ensure we can send multiple commands.
Join on MSTeam during streaming (for realtime video/audio) - teams.microsoft.com/meet/2680401389990?p=G4wIlBZagNTvkenEiK
Note: This is a live, unscripted coding session—something I’m coding on the spot. I’ll also keep adding scripted Rust and production coding videos to this channel.
===
➜ Join or support this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
➜ Members Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
Note: This is a live, unscripted coding session, something I’m coding on the spot. I’ll also keep adding scripted Rust and production coding videos to this channel.
Live streams availability:
- Public → While streaming (+48 hours)
- Support & Early Access members → For a few days
- Live Stream members → Indefinitely
➜ Join or support this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
➜ Members Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
You can also join this event on MSTeam (realtime Audio/Video): tinyurl.com/ycawpjrr
===
➜ Join or support this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
➜ Members Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
You can also join this event on MSTeam (realtime Audio/Video):
teams.microsoft.com/meet/256200413272?p=fVl5UAoqyuNXdWuoRm
===
➜ Join or support this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
➜ Members Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
GitHub repo: github.com/jeremychone-channel/rust-xp-sqlite
- 00:00 Intro
- 00:26 Simple CRUD
- 06:12 Join
- 11:46 Dynamic Values
- 17:19 JSON
- 24:34 JSONB
- 28:07 ASYNC
GitHub repo: github.com/jeremychone-channel/rust-xp-sqlite
NOTE: For `cargo watch ..`, do `cargo install cargo-watch`. I sometimes use bacon, but I still like the simplicity of cargo watch.
Join this channel for early access to production coding videos and live streams:
youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
== Jeremy Chone:
- Join this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- Member Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
- Rust Production Coding with AI youtube.com/watch?v=zL1BzPVM8-Y&list=PL7r-PXl6ZPcB2zN0XHsYIDaD5yW8I40AE (using `pro@coder` and `pro@rust10x`)
- Check out AIPACK aipack.ai (Built with Rust) with the
- Video about AIPACK and Production Coding: news.aipack.ai/archive
- Twitter - twitter.com/jeremychone
- Discord general-rust - discord.gg/W2besKCzjx
- Discord genai & aipack - discord.gg/6KkpQBKGFS
- AIPACK - aipack.ai (and then 'aip install jc@coder')
- Rust10x - rust10x.com - Rust resources for production coding.
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
Rust10x - Coding Resources for Production Coding in Rust. ➜ rust10x.com
=== Other notes:
- ScreenBrush for the green lines. (Gromit seems to be the equivalent on Linux)
- Sketchapp for some graphics.
- Davinci Resolve and Fusion video editing.
- VSCode with Google Material icon themes (with some customization)
It's a small and simple example, but it shows, at least from my approach, how this differs from those "Coding" vibe videos.
It took me a while to fully embrace AI for PRODUCTION CODING, as the overwhelming Vibe Coding noise was distracting and frustrating. But once we use AI to code our way, the force multiplier is really exhilarating.
I have been using pro@coder AI Pack with my pro@rust10x best practices, and it has changed the way my team and I do production coding. Hopefully, I can share some of that expertise and those techniques with the YouTube audience.
My recommendation for any production coder is to, IGNORE the Vibe Coding videos, but embrace AI for PRODUCTION CODING today, your way.
Use whatwever tools work for you, but if you want to try AIPACK for production coding,
- you can install AIPACK aipack.ai
- See a demo with pro@coder news.aipack.ai/p/procoder-ai-pack-demo-generate-doc
== Jeremy Chone:
- Join this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- Member Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
- AIPACK: aipack.ai (Built with Rust)
- AI Pack News: new.aipack.ai/archive
- pro coder AI Pack: youtube.com/watch?v=YquLVtXhUvo&list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigq
- Twitter - twitter.com/jeremychone
- Discord general-rust - discord.gg/W2besKCzjx
- Discord genai & aipack - discord.gg/6KkpQBKGFS
- AIPACK - aipack.ai (and then 'aip install jc@coder')
- Rust10x - rust10x.com - Rust resources for production coding.
Correction - Big thanks to @doudeman's comment below, the Windows target should be *x86_64-pc-windows-msvc* and NOT the *i686...*, which is the old 32bit version (see below for the corrected Windows x86 instructions).
Here is the gist with all commands (with the windows x86_64 correction): gist.github.com/jeremychone/5d8af328b67bdd653997e6bd94f67ae0
The machine is an Apple Silicon, MacBook Pro Mx or Studio.
- 00:00 - Intro
- 00:12 - Mac Arm (simplest)
- 01:51 - Mac x86
- 02:31 - Linux Arm
- 04:57 - Linux x86
- 06:04 - Windowx Arm
- 10:33 - Windows x86
This is using:
- Mac/Rust host for both Arm and x86
- Docker with Arm and x86 for the Linux binaries
- And Parallels with Windows 11 Arm for both Arm and Windows x86 .exe
== *Correction for the Windows x86 target*
As noted above, use the *x86_64-pc-windows-msvc* for the x86 64 bit target. The i686... is for old 32 bits target (rarely what we need)
FROM WINDOWS
rustup target add x86_64-pc-windows-msvc
cargo build --release --target x86_64-pc-windows-msvc
FROM MAC HOST
COPYFILE_DISABLE=1 tar -czpf dist/x86_64-pc-windows-msvc/aip.tar.gz -C dist/x86_64-pc-windows-msvc aip.exe
rm dist/x86_64-pc-windows-msvc/aip.exe
I fixed my CI, all work nicely, big thanks @doudeman for the correction.
== Jeremy Chone:
- Join this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- Member Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
- AIPACK: aipack.ai (Built with Rust)
- AI Pack News: news.aipack.ai/archive
- pro coder AI Pack: youtube.com/watch?v=YquLVtXhUvo&list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigq
- Twitter - twitter.com/jeremychone
- Discord general-rust - discord.gg/W2besKCzjx
- Discord genai & aipack - discord.gg/6KkpQBKGFS
- AIPACK - aipack.ai (and then 'aip install jc@coder')
- Rust10x - rust10x.com - Rust resources for production coding.
Code Repo: github.com/jeremychone-channel/rust-xp-blake3
✅ **Blazing Fast**: BLAKE3 is orders of magnitude faster than SHA256, making it ideal for high-performance Rust apps.
✅ **Flexible Output Length**: Need a short hash or a long one? BLAKE3 gives you control over output size.
✅ **From Tiny to Huge Files**: Whether you're hashing a config file or a 100GB backup, BLAKE3 handles it efficiently.
✅ **Great for Web Tokens & Signatures**: Perfect for JWTs, short-term auth tokens, and real-time systems.
== Jeremy Chone:
- Join this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- Member Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
- AIPACK: aipack.ai
- AI Pack News: new.aipack.ai
- pro coder AI Pack: youtube.com/watch?v=YquLVtXhUvo&list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigq
- Twitter - twitter.com/jeremychone
- Discord general-rust - discord.gg/W2besKCzjx
- Discord genai & aipack - discord.gg/6KkpQBKGFS
- AIPACK - aipack.ai (and then 'aip install jc@coder')
- Rust10x - rust10x.com - Rust resources for production coding.
I started putting my best practices into a pro/Rust10x AI Pack that can be used with the pro/coder AI Pack (https://aipack.ai).
*Install AIPACK* (this is the generic aip CLI to run AI Packs)
cargo install aipack
*IMPORTANT:* Currently supports Mac and Linux; for Windows, use WSL. Windows support and binaries for all OSes coming soon.
*Install the Pro coder & rust10x packs*
aip install pro@coder
aip install pro@rust10x
This quick demo demonstrates the power of AIPACK Agent Composability by combining the pro@coder and pro@rust10x AI Packs to start a new Rust project with good production coding best practices.
Obviously, you can have your own best practices. Everything is open source, even those pro packs. You can find the pro packs at:
github.com/aipack-ai/packs-pro
You can make your own pack with
`aip pack path/to/agent-folder/`
Anyway, no matter what tool you use, my strong recommendation is to embrace AI for production coding. I built AIPACK to give you full control and agent composability, but if other tools work great for you, that's fine. The point is to embrace AI and learn how to multiply ourselves with it.
== Jeremy Chone:
- AIPACK: aipack.ai
- AI Pack News: news.aipack.ai
- pro coder AI Pack: youtube.com/watch?v=YquLVtXhUvo&list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigq
- Join this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- Member Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
- Twitter - twitter.com/jeremychone
- Discord general-rust - discord.gg/W2besKCzjx
- Discord genai & aipack - discord.gg/6KkpQBKGFS
- AIPACK - aipack.ai (and then 'aip install jc@coder')
- Rust10x - rust10x.com - Rust resources for production coding.
I talk about why I use Rust and how, when used right, AI tools can be just as transformative. This channel is all about real-world coding, not hype.
The AIPACK `pro coder` is all about produciton coding, and it has changed the way I and my team code.
pro coder AI Pack: youtube.com/watch?v=YquLVtXhUvo&list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigq
If you're into Production Coding, Rust programming, and efficient software engineering, embrace AI Coding for Production Coding, regardless of the tool you use.
== Jeremy Chone:
- AIPACK: aipack.ai
- AI Pack News: new.aipack.ai
- pro coder AI Pack: youtube.com/watch?v=YquLVtXhUvo&list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigq
- Join this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- Member Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
- Twitter - twitter.com/jeremychone
- Discord general-rust - discord.gg/W2besKCzjx
- Discord genai & aipack - discord.gg/6KkpQBKGFS
- AIPACK - aipack.ai (and then 'aip install jc@coder')
- Rust10x - rust10x.com - Rust resources for production coding.
In upcoming videos, we'll see how the Pro Coder uses Pro / Rust10x best practices. So, bear with me; it's all going to fit together nicely and will remain focused on Rust.
I created AIPACK to fully leverage AI for Production Coding, and most solutions emphasize ease of use rather than control. For a great return on investment, come responsibilities.
It has completely changed how my team and I code, for my projects and my client's projects, and I want to share that with all of you.
Check out: aipack.ai and Substack: news.aipack.ai
Until next time, happy coding!
== Jeremy Chone:
- Join this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- Member Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
- Twitter - twitter.com/jeremychone
- Discord general-rust - discord.gg/W2besKCzjx
- Discord genai & aipack - discord.gg/6KkpQBKGFS
- AIPACK - aipack.ai (and then 'aip install jc@coder')
- Rust10x - rust10x.com - Rust resources for production coding (soon part of the pro@rust10x AI Pack)
While this demo is very simple and might fall into the "snake game" AI coding category, it demonstrates the flexibility of the JC Coder pack—which I am using to code AIPACK itself (about 13k LOC) and other production projects.
Video chapters:
- 00:00 - AIPACK installation and initialization
- 00:10 - Install and run jc coder pack
- 00:37 - Creating the initial Pong game
- 02:34 - Refactor 1 – Separating JS and CSS into their own files
- 03:24 - Refactor 2 – Using the type module and splitting JS files
- 04:47 - Adding Particle explosion
- 06:07 - The final result
Check out: aipack.ai and Substack: news.aipack.ai
Key Concepts for the JC Coder Pack:
- Works with any IDE, as it is just a command line tool (Tip: map "cmd + r" to send 'r' to the terminal).
- *File-based* – the prompt is a single Markdown file, with the top section containing the instructions and the bottom containing the AI response. So, *no copy/paste code into the terminal* or get lost in chats.
- Fully *parametric* – thanks to AIPACK parametric agent support, JC Coder allows the prompt to customize the model, knowledge/source context files, and even concurrency and temperature.
- AI response info – returns *usage and cost details* in the prompt file.
- The JC Coder AIPACK is extremely small (currently under 8 KB zipped) and implements all of the agent coding logic.
- Once installed, the JC Coder Pack can be found at `~/.aipack-base/pack/installed/jc/coder`. For very advanced users, it can be copied into your `~/.aipack-base/pack/custom/my/coder` directory so that you can customize it and run it with `aip run my@coder`.
Key Concepts/Benefits for AIPACK:
- AIPACK is built with Rust, ensuring efficiency and high concurrency.
- It leverages the Rust genai crate, which supports all major AI providers and models.
- AIPACK is an agentic runtime offering a multi-stage, Markdown-based model and Lua as the efficient embedded scripting language, providing full flexibility and simplicity.
- AIPACK features an innovative parametric agent model that allows agents to extract deterministic parameters directly from the prompt—or even from the AI response.
- AIPACK is designed for concurrency, allowing agent packs like JC Coder to parallelize agent tasks across multiple input files (demo video coming).
- AIPACK can run any multi-stage agent Markdown file using a command like: `aip run path/my-agent-aip`
- It can also pack, install, and run AI Packs whenever users are ready to share their agents.
- See intro video at aipack.ai
== Jeremy Chone:
- Join this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- Member Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
- Twitter - twitter.com/jeremychone
- Discord general-rust - discord.gg/W2besKCzjx
- Discord genai & aipack - discord.gg/6KkpQBKGFS
- AIPACK - aipack.ai (and then 'aip install jc@coder')
- Rust10x - rust10x.com - Rust resources for production coding.
#aicoding #ProductionCoding #openai #claude #anthropic
- Article: thenewstack.io/the-rise-of-rust-and-webassembly-in-web-development
- Join this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
Here are some of the key points from this article:
- Rust and WebAssembly are gaining popularity in web development, with 35% of Rust developers involved in web projects.
- WebAssembly is particularly useful for heavy processing tasks, such as data visualization and image processing.
- Visual Studio Code is the most popular IDE among Rust developers, with 74% usage.
- Many Rust developers come from JavaScript and Python backgrounds, appreciating Rust's performance benefits.
- Rust is not expected to replace JavaScript for DOM manipulation, but it excels in backend and processing-heavy applications.
== Jeremy's Links
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Twitter - twitter.com/jeremychone
== Playlists:
- Rust AI Programming Series: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
Rust10x - Coding Resources for Production Coding in Rust. ➜ rust10x.com
Other notes:
- ScreenBrush for the green lines. (Gromit seems to be the equivalent on Linux)
- Sketchapp for some graphics.
- Davinci Resolve and Fusion video editing.
- VSCode with Google Material icon themes (with some customization)
*Key Points:*
*Serverless (e.g., AWS Lambda):*
- Event-driven; pay only when code runs.
- Limited by 15-minute max execution, ephemeral storage, and AWS constraints.
- Best for short, scalable tasks.
*Traditional Servers:*
- Long-running, highly customizable, with persistent storage.
- Pay for uptime, even during idle periods.
- Ideal for complex, flexible systems.
*Hybrid Options (e.g., AWS Fargate):*
- Mix of server and serverless benefits with managed orchestration.
*Best Practices:*
- Use *event-driven architecture* for scalability and resilience, for Server and "Serverless" services.
- Start with managed Kubernetes (EKS) for complex apps, then adapt as needed.
#Serverless #CloudComputing #AWSLambda #Kubernetes
== Jeremy's links
- Join this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- Member Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Twitter - twitter.com/jeremychone
britesnow.com - BriteSnow is my enterprise consulting company that I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britesnow.com if you have any questions.
We will learn:
- How I used cargo watch to run examples
- How to use *bacon run --example ...*
- How to use *bacon for test*
#rustprogramming
== Jeremy's links
- Join this channel - youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
- Member Only Videos - youtube.com/playlist?list=UUMOiT_r1GD7JSftnbViKHcOtQ
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Twitter - twitter.com/jeremychone
britesnow.com - BriteSnow is my enterprise consulting company that I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britensow.com if you have any questions.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Jeremy Chone Rust Video Playlists:
- JC - Rust - Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- JC - Rust & AI Programming: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- JC - Software Engineering: youtube.com/playlist?list=PL7r-PXl6ZPcChyMZuJt1aqdvpqAEPLV9O
- JC - Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- JC - Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- JC - Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- JC - Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- JC - Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
Join link (if you do not see the join button)
youtube.com/channel/UCiT_r1GD7JSftnbViKHcOtQ/join
I'm excited to keep delivering Rust and production coding content for everyone, now with extra perks:
*Level 1 - $4.99*:
- Early access to videos
- Priority responses
- And help support this channel
*Level 2 - $14.99*:
- Everything in Level 1
- 1-2 live streams/month on coding & design
- Q&A sessions and members-only polls
🎉 First live stream: Wednesday Dec 18th, at noon PT!
Big thanks to Patreon supporters – let’s transition together with bonus perks!
This channel is all about **production coding** with a focus on Rust and Architecture First design. Let’s flatten the software complexity curve together.
Happy coding!
ull code example in 4 chapters: simple eval, scope, Rust calls a Lua function, and Lua calls a Rust function.
- 00:00 - c00 - Intro
- 00:36 - c01 - Cargo Toml & Setup
- 01:43 - c01 - First Lua exec & eval
- 05:03 - c02 - Scope - Globals
- 07:14 - c02 - Scope - set_environment
- 09:41 - c03 - call lua fn - why
- 11:27 - c03 - call lua fn - load Lua function
- 13:11 - c03 - call lua fn - calling
- 14:58 - c03 - call lua fn - with args
- 16:23 - c04 - Lua calls Rust Functions
- 21:52 Thanks
rust-xp-lua - GitHub Repo - github.com/jeremychone-channel/rust-xp-lua
*Why Lua?*
- Light - only ~300 KB when embedded.
- Simple - Thanks to the mlua crate (crates.io/crates/mlua), it's a blast to use in Rust programming.
- Efficient - Small Memory footprint, fast.
- Powerful - Supports multithreading, async, and ergonomic APIs for Rust integration.
- Designed for embeddability, making it efficient, simple, and battle-tested for scripting needs.
== Jeremy Chone:
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Twitter - twitter.com/jeremychone
britesnow.com - BriteSnow is my enterprise consulting company I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britensow.com if you have any questions.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Jeremy Chone Rust Video Playlists:
- JC - Rust - Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- JC - Rust & AI Programming: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- JC - Software Engineering: youtube.com/playlist?list=PL7r-PXl6ZPcChyMZuJt1aqdvpqAEPLV9O
- JC - Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- JC - Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- JC - Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- JC - Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- JC - Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
To *Automate* - don't chat - *Iterate*
*devai* is built on top of the Rust *genai* crate and therefore supports OpenAI, Anthropic, Google Gemini, Ollama, Cohere, and Groq.
*devai* gives you complete control over your AI agents—build, iterate, and automate with ease, at
- ﹤15MB
- ✓ No Dependencies
- Rust SPEED
- Lua Simplicity
- Site: https://devai.run
- GitHub: github.com/jeremychone/rust-devai
- Discord: discord.gg/W2besKCzjx
cargo install devai
devai run proof-read -f ./README.md
*devai* development is sponsored by **BriteSnow**, britesnow.com, Jeremy Chone's consulting company of 15 years that helps companies build Big Cloud Applications with small teams.
*devai* is built on top of the *genai* crate:
genai Rust Crate: crates.io/crates/genai
genai repo: github.com/jeremychone/rust-genai
Here is the related JC Rust & AI Programming Playlist: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
== Jeremy Chone:
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Twitter - twitter.com/jeremychone
britesnow.com - BriteSnow is my enterprise consulting company I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britensow.com if you have any questions.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Jeremy Chone Rust Video Playlists:
- JC - Rust - Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- JC - Rust & AI Programming: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- JC - Software Engineering: youtube.com/playlist?list=PL7r-PXl6ZPcChyMZuJt1aqdvpqAEPLV9O
- JC - Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- JC - Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- JC - Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- JC - Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- JC - Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
NOTE: This was the video for devai 0.1.0. Now devai v0.5 is available.
# Google Gemini + Rust + Structured Output - Rust Live Coding
**devai** (crates.io/crates/devai) is a new Rust-powered command line tool that enables AI to code our way, rather than the AI's way. Built using the **genai** Rust crate, this CLI works seamlessly with any model or IDE, making it simple and customizable. **devai** agents are as easy as a single markdown file, giving you full control over data scripting, instruction templating, and data processing for your AI projects.
devai Rust Crate: crates.io/crates/devai
devai repo: github.com/jeremychone/rust-devai
Built on genai:
genai Rust Crate: crates.io/crates/genai
genai repo: github.com/jeremychone/rust-genai
Here is the related JC Rust & AI Programming Playlist: - youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
== Jeremy Chone:
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
- Twitter - twitter.com/jeremychone
britesnow.com - BriteSnow is my enterprise consulting company I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britensow.com if you have any questions.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Jeremy Chone Rust Video Playlists:
- JC - Software Engineering: youtube.com/playlist?list=PL7r-PXl6ZPcChyMZuJt1aqdvpqAEPLV9O
- JC - Rust - Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- JC - Rust & AI Programming: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- JC - Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- JC - Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- JC - Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- JC - Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- JC - Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
This is a good example of how to design an adapter pattern in Rust.
genai Rust Crate: crates.io/crates/genai
genai repo: github.com/jeremychone/rust-genai
This video's commits: github.com/jeremychone/rust-genai/compare/vid-0060-start...vid-0060-end
Here is the related JC Rust & AI Programming Playlist: - youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
== Jeremy Chone:
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
- Twitter - twitter.com/jeremychone
britesnow.com - BriteSnow is my enterprise consulting company I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britensow.com if you have any questions.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Jeremy Chone Rust Video Playlists:
- JC - Software Engineering: youtube.com/playlist?list=PL7r-PXl6ZPcChyMZuJt1aqdvpqAEPLV9O
- JC - Rust - Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- JC - Rust & AI Programming: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- JC - Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- JC - Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- JC - Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- JC - Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- JC - Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
This is a good example of how to design an adapter pattern in Rust.
genai Rust Crate: crates.io/crates/genai
genai repo: github.com/jeremychone/rust-genai
This video's commits: github.com/jeremychone/rust-genai/compare/vid-0059-start...vid-0059-end
Here is the related JC Rust & AI Programming Playlist: - youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
== Jeremy Chone:
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
- Twitter - twitter.com/jeremychone
britesnow.com - BriteSnow is my enterprise consulting company I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britensow.com if you have any questions.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Jeremy Chone Rust Video Playlists:
- JC - Software Engineering: youtube.com/playlist?list=PL7r-PXl6ZPcChyMZuJt1aqdvpqAEPLV9O
- JC - Rust - Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- JC - Rust & AI Programming: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- JC - Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- JC - Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- JC - Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- JC - Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- JC - Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
This is part of the new live coding style. Feedback is more than welcome.
Crate URL: crates.io/crates/value-ext
GitHub repo: github.com/jeremychone/rust-value-ext
I'm trying to worry less about YouTube views and the algorithm, and focus more on sharing what I think might add value. Feedback is more than welcome.
#rustprogramming #rustlang #ProductionCoding
Let's embrace GenAI in our development workflow, embed it in our next app, and ignore those who say the developer's job is dead. This is usually wishful thinking by people who want to start tech companies without paying big bucks for tech talent.
If we continue to learn what matters, we will be where the puck is going, while others will be playing catch-up by prompting their way out of understanding what truly matters.
Until next one, happy coding.
#genai #softwareengineering #programming
== Jeremy Chone:
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
- Twitter - twitter.com/jeremychone
britesnow.com - BriteSnow is my enterprise consulting company I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britensow.com if you have any questions.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Jeremy Chone Rust Video Playlists:
- JC - Software Engineering: youtube.com/playlist?list=PL7r-PXl6ZPcChyMZuJt1aqdvpqAEPLV9O
- JC - Rust - Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- JC - Rust AI Programming Series: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- JC - Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- JC - Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- JC - Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- JC - Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- JC - Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
In addition, we will write a real unit test for the library.
Part 1: youtube.com/watch?v=XCrZleaIUO4&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
Part 2: youtube.com/watch?v=LRfDAZfo00o&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
Part 3 (this one): youtu.be/93SS3VGsKx4
- 00:00 - Intro
- 00:12 - c07: When to Rust async and not async
- 02:41 - c08: Rust Project files
- 10:01 - c09: Rust Versioning Strategy
#rustprogramming #programming #tutorial
== Jeremy Chone:
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
- Twitter - twitter.com/jeremychone
britesnow.com - BriteSnow is my enterprise consulting company I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britensow.com if you have any questions.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Jeremy Chone Rust Video Playlists:
- Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust AI Programming Series: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
The goal is to flatten the complexity curve.
- Software complexity curves are more like step curves.
- Don't over-implement.
- But don't stick to close the necessary curve either.
- Anticipate and flatten each step.
- All-in-one and "easy first" approaches often end up making the complexity curve exponential.
- "Architecture first," where we compose smaller parts together, tends to create a flatter curve.
My two mantras for choosing technology:
1. Lame is the new Cool
2. Dumb is the new Smart
(We will get back to Rust coding soon, but sometimes, top-down views keep us on track)
#systemdesign #softwareengineering #programming #jeremychone
== Jeremy Chone:
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
- Twitter - twitter.com/jeremychone
britesnow.com - BriteSnow is my enterprise consulting company I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britensow.com if you have any questions.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Jeremy Chone Rust Video Playlists:
- Rust - Live Coding Rust Programming
- Rust Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust AI Programming Series: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
Feedback is welcome. Comments, likes, and subscriptions are greatly appreciated.
genai multi-AI providers library: crates.io/crates/genai
Rust AI Programming Playlist: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
== Jeremy Chone:
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
- Twitter - twitter.com/jeremychone
britesnow.com - BriteSnow is my enterprise consulting company I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britensow.com if you have any questions.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Jeremy Chone Rust Video Playlists:
- Rust - Live Coding Rust Programming
- Rust Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust AI Programming Series: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
Video coming soon about the new features in genai v0.1.7.
genai multi-AI providers library: crates.io/crates/genai
Rust AI Programming Playlist: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
== Jeremy Chone:
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
- Twitter - twitter.com/jeremychone
britesnow.com - BriteSnow is my enterprise consulting company I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britensow.com if you have any questions.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Jeremy Chone Rust Video Playlists:
- Rust - Live Coding Rust Programming
- Rust Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust AI Programming Series: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
00:00 - Intro
00:08 - Step 1 - The Book One
01:07 - Step 2 - The Useful One
08:10 - Step 3 - The Magic One
13:24 - Step 4 - The Learning One
21:05 - Step 5 - The Boring One
LearnRust GitHub Readme: github.com/ImplFerris/LearnRust
(dinf GitHub Repo: github.com/jeremychone/rust-dinf)
== Jeremy Chone:
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
- Twitter - twitter.com/jeremychone
britesnow.com - BriteSnow is my enterprise consulting company I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britensow.com if you have any questions.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Jeremy Chone Rust Video Playlists:
- Rust - Live Coding Rust Programming
- Rust Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust AI Programming Series: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
- DARPA's TRACTOR program aims to convert legacy C code to memory-safe Rust.
- Current bug-finding tools for C are insufficient to address memory safety issues.
- DARPA uses AI to automate this code conversion process.
- C's memory safety issues are a major security vulnerability.
- Industry consensus is growing that Rust offers superior memory and thread safety.
- Major companies like Google and Microsoft are increasingly adopting Rust Programming for existing and new projects.
Rust Programming is rapidly gaining momentum due to its unique memory and thread safety features, transforming the industry standard.
== Jeremy Chone:
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
- Twitter - twitter.com/jeremychone
britesnow.com - BriteSnow is my enterprise consulting company I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britensow.com if you have any questions.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Jeremy Chone Rust Video Playlists:
- Rust - Live Coding Rust Programming
- Rust Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust AI Programming Series: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
Rust 10x Web App is a blueprint for building multi-service cloud applications in Rust.
Both of these pull requests make the library more composable for web services.
- lib-rpc is now split into lib-rpc-core and lib-rpc-app, allowing the web services of the system to have their own RPC handlers using lib-rpc-core and reuse lib-rpc-app if the service needs to expose common application RPCs.
- The common web "support" logic is now packaged as a library, lib-web, allowing all web services of the system to implement only the delta needed for their functions.
Big thanks to GitHub user vamsi-juvvi for these two pull requests and syncing on Discord (see below).
Until next one, happy coding!
New playlist for "Rust - Live Coding Rust Programming": youtube.com/playlist?list=PL7r-PXl6ZPcBp4237h6im24Svef2yEOQf
== Jeremy Chone:
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
- Twitter - twitter.com/jeremychone
britesnow.com - BriteSnow is my enterprise consulting company I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britensow.com if you have any questions.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Jeremy Chone Rust Video Playlists:
- Rust - Live Coding Rust Programming
- Rust Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust AI Programming Series: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
In addition, we will write a real unit test for the library.
Part 1: youtube.com/watch?v=XCrZleaIUO4&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
Part 2 (this one): youtube.com/watch?v=LRfDAZfo00o&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
Part 3: youtube.com/watch?v=93SS3VGsKx4&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
In this episode, we will go through the following four chapters:
1) (c04) Utils and Trait Extensions best practices (for single crate and multi-crates project)
2) (c05) Examples best practices
3) (c06) Integration and Unit Testing best practices
- 00:00 - Intro
- 00:19 - c04: Utils & Support
- 10:03 - c04: Extension Trait Intro
- 12:22 - c04: ValueExt (Extension trait by example)
- 19:27 - c05: Examples best practices
- 25:05 - c06: Integration Tests code review
- 35:23 - c06: Unit Tests, by example
c01..c03 are in the part 1 video: youtube.com/watch?v=XCrZleaIUO4&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
Part 3 coming soon.
== Jeremy Chone:
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
- Twitter - twitter.com/jeremychone
britesnow.com - BriteSnow is my enterprise consulting company I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britensow.com if you have any questions.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Jeremy Chone Rust Video Playlists:
- Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust AI Programming Series: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
GitHub (at v0.1.5, this video code version): github.com/jeremychone/rust-genai/tree/v0.1.5
Part 1 (this one): youtube.com/watch?v=XCrZleaIUO4&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
Part 2: youtube.com/watch?v=LRfDAZfo00o&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
Part 3: youtube.com/watch?v=93SS3VGsKx4&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
This is part of a 3-part series, and in this episode, we will focus on the following Rust Programming best practices,
1) Module Structure - Rust Nampespacing, Scoping and code orgnaization
2) Rust Error Handling practices
3) Rust Constructors, chainable setters, and builder patterns and best practices.
- 00:00 - Intro
- 00:10 - c01: Module Structure
- 06:14 - c02: Error Handling
- 11:57 - c03: (a) Constructors, Builders, Setters
- 22:45 - c03: (b) Constructors/builders Code example
== Jeremy Chone:
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
- Twitter - twitter.com/jeremychone
britesnow.com - BriteSnow is my enterprise consulting company I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britensow.com if you have any questions.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Jeremy Chone Rust Video Playlists:
- Rust AI Programming Series: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
Some key points:
- Rust Programming
- Tauri - Device/Desktop framework
- genai - Multi-AI providers library - See github.com/jeremychone/rust-genai (see video youtube.com/watch?v=uqGso3JD3eE&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q)
- Will be released open source mid/end August
- Will have videos about code design and best practices followed
One client, one API for OpenAI, Gemini, Ollama, Anthropic, Cohere, and more to come.
crates.io/crates/genai
In this episode, we are going to learn this library with some cool examples.
In the next episode, we will do a code review of the design patterns and best practices I am using when building this library. That's going to be pretty cool as well.
Best of all, I will be using this library in the upcoming AwesomeApp reboot, which will be a Tauri application for building and running AI agents. This will come later this summer. (See https://awesomeapp.dev)
britesnow.com - BriteSnow is my enterprise consulting company I have been running for 15 years. We help enterprises build and modernize next-gen applications. Feel free to send an email to jeremy.chone@britensow.com if you have any questions.
== Jeremy Chone:
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
- Twitter - twitter.com/jeremychone
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Rust10x AI / OpenAI / Ollama
- Rust OpenAI API Tutorial: youtube.com/watch?v=PHbCmIckV20&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Ollama Tutorial: youtu.be/OcH-zT5VNgM
== Other
Other popular Rust Programming videos:
- Rust Web App Production Coding Blueprint - youtube.com/watch?v=3cA_mk4vdWY&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Axum - Full Course - youtube.com/watch?v=XZtlD_m59sM&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Type State Builder Pattern - youtube.com/watch?v=pwmIQzLuYl0&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Quick Start Code Layout - youtube.com/watch?v=oxx7MmN4Ib0&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- AWESOME-APP Full Overview - Rust template for building Awesome Desktop Application: youtube.com/watch?v=BY_ZjPGqJJk&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Tauri Quick Introduction (Desktop App wit Rust Programming): youtube.com/watch?v=kRoGYgAuZQE&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Web App tutorials series: youtube.com/watch?v=VIig9IcQ-w8&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q&list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Bevy Full Tutorial - Game Development with Rust: youtube.com/watch?v=j7qHwb7geIM&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust for Java Developers series: youtube.com/watch?v=iFdh4sPC5Tg&list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc&index=2&t=654s
Playlists:
- Rust AI Programming Series: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
Rust10x - Coding Resources for Production Coding in Rust. ➜ rust10x.com
Other notes:
- ScreenBrush for the green lines. (Gromit seems to be the equivalent on Linux)
- Sketchapp for some graphics.
- Davinci Resolve and Fusion video editing.
- VSCode with Google Material icon themes (with some customization)
User expectations of what an app should be able to do have fundamentally changed.
So, it's better to embrace it than fight it.
My advice on building next-gen app is threefold:
1) See Gen-AI as a new processor type. (So, we have CPU, GPU, and now LLU for human to machine)
2) Embrace AI in your app design.
3) Focus on user value first, price optimization second.
And yes, Rust is the best language for building robust and scalable cloud and client applications, and the opportunity should be to use it to build next-gen apps.
Also, I'm working on something pretty cool with my revised Awesome App plan. It will be Rust, Open Source, and involve agents. More on that soon...
accent-free version: You can find this video, accent-free, on my BriteSnow channel (see link in the description).
britesnow.com
(BriteSnow is my enterprise consulting company I have been running for 15 years, and how we crafted our production coding best practices that I am now sharing in Rust)
== Rust AI-Related Coding Videos
- Rust AI Function Calling (critical for next-gen apps) - youtube.com/watch?v=2M0PSijLnis&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust full tutorial on OLLAMA - youtube.com/watch?v=OcH-zT5VNgM&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust AI-Buddy - youtube.com/watch?v=PHbCmIckV20&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
== Jeremy Chone:
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
- Twitter - twitter.com/jeremychone
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Rust10x - rust10x.com - Rust resources for production coding.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
- For tests and examples, use "box dyn error" instead of "anyhow."
- Prefer the "?" pattern over "unwrap" or "expect," even in tests and examples, to align with production coding standards.
- "Box dyn error" is excellent for error passthrough, as are `map_err` and `ok_or` with static strings and formatted strings.
- In production code, use an enum with fully descriptive variant names and favor struct variants with clear names over tuple variants.
- Avoid relying on the display to convey the meaning of error variants.
- In web or device applications, human error rendering might not occur at the enum/type level, so using Debug for display may suffice.
- For web or device applications, using Serialize for errors that need to be logged or sent to the client for display can be a powerful and straightforward pattern.
- Prioritize clarity in error naming (variants) and focus on consistency as the code develops.
- Don't be afraid of medium-length enum variant names; remember, type refactoring is straightforward.
- In summary, start with progressive and clear practices, and become more structured as the code matures.
== Jeremy Chone:
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)
- Twitter - twitter.com/jeremychone
- Discord general-rust - discord.gg/W2besKCzjx
- Discord rust10x - discord.gg/XuKWrNGKpC
- Rust10x - rust10x.com - Rust resources for production coding.
Big thanks to CrabNebula (https://crabnebula.dev/) for sponsoring this channel.
== Rust10x AI / OpenAI / Ollama
- Rust OpenAI API Tutorial: youtube.com/watch?v=PHbCmIckV20&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Ollama Tutorial: youtu.be/OcH-zT5VNgM
== Rust10x Web App production coding:
Episode 01: youtube.com/watch?v=3cA_mk4vdWY&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
Episode 02: youtube.com/watch?v=-dMH9UiwKqg&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
Episode 03: youtube.com/watch?v=zUxF0kvydJs&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
Episode 04: youtube.com/watch?v=3E0zK5h9zEs&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
Episode 05.1: youtube.com/watch?v=Gc5Nj5LJe1U&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
Web Site: rust10x.com/web-app
GitHub: github.com/rust10x/rust-web-app
Discord rust10x - discord.gg/XuKWrNGKpC
Patreon - patreon.com/jeremychone - Any help is a big help (for Rust Production Coding educational content)
== Other
Other popular Rust Programming videos:
- Rust Web App Production Coding Blueprint - youtube.com/watch?v=3cA_mk4vdWY&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Axum - Full Course - youtube.com/watch?v=XZtlD_m59sM&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Type State Builder Pattern - youtube.com/watch?v=pwmIQzLuYl0&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Quick Start Code Layout - youtube.com/watch?v=oxx7MmN4Ib0&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- AWESOME-APP Full Overview - Rust template for building Awesome Desktop Application: youtube.com/watch?v=BY_ZjPGqJJk&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Tauri Quick Introduction (Desktop App wit Rust Programming): youtube.com/watch?v=kRoGYgAuZQE&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Web App tutorials series: youtube.com/watch?v=VIig9IcQ-w8&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q&list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Bevy Full Tutorial - Game Development with Rust: youtube.com/watch?v=j7qHwb7geIM&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust for Java Developers series: youtube.com/watch?v=iFdh4sPC5Tg&list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc&index=2&t=654s
Playlists:
- Rust AI Programming Series: youtube.com/playlist?list=PL7r-PXl6ZPcBcLsBdBABOFUuLziNyigqj
- Rust Web App Production Coding Series: youtube.com/playlist?list=PL7r-PXl6ZPcCTTxjmsb9bFZB9i01fAtI7
- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- Rust for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
Rust10x - Coding Resources for Production Coding in Rust. ➜ rust10x.com
Other notes:
- ScreenBrush for the green lines. (Gromit seems to be the equivalent on Linux)
- Sketchapp for some graphics.
- Davinci Resolve and Fusion video editing.
- VSCode with Google Material icon themes (with some customization)


