Statically Typed APIs with Poem and Rust

preview_player
Показать описание
Today I'm going to make some web service recommendations, mixing some of my favourite rust crates together into something that I use across most of my Rust projects.
The stack I'm going to talk about today isn't the best stack, nor most fully featured or fanciest.
It's my favourite stack, it showcases what rust is GREAT at, and it focusses on correctness above all else.

🖊️ Corrections are in the pinned ERRATA comment.

🙏🏻 CREDITS & PROMO
My name is Tris Oaten and I produce fast, technical videos.

👏🏻 Special thanks to my patreon sponsors:
- JC Andrever-Wright
- Miah Beach
And to all my patrons!
Рекомендации по теме
Комментарии
Автор

Sqlx tapping into the compiler to validate SQL is deep magic. You're making me want to write web apps just to get a look at all this witchcraft.

codetales
Автор

Thank you for the tribute and mention of Aaron. I get so mad at people who trample on the things he's created; he was a good dude who only wanted what was supposed to be free information to actually be .. free.

tsalVlog
Автор

I don't really get a chance to use Rust, but learning it made me a better TS developer. My codebases now use deeply immutable objects and zod for runtime validation. When it comes to making API calls its like the KGB. "Trust, but verify" I return errors instead of throwing them too.

adamdggg
Автор

5:00 Wow! Congratulations and respect on taking that step, and best of luck to you in the future.

Your content stands out to me for being both unique and high in quality:
A distinct style with a clear structure that shows technical expertise and practicality in the matter, while still integrating your personal (occasionally uncommon, yet intriguing) preferences.

LinkEX
Автор

I'm slowing getting into rust using your videos, these rust videos are so underrated!

ItsVasl
Автор

There are so many, but one of the things I LOVE about your videos is the blue line at the bottom to indicate slide progress. **chef's kiss**

ETBCOR
Автор

I think it would be really cool to cover Leptos in the UI stack talk. It’s a very interesting framework that and I think you’d enjoy it

hmbil
Автор

Sqlx compile time checking is pure dark magic and I love it

alangamer
Автор

Please make more videos on the frontend side. Rust options vs react, svelte etc vs htmx or any combination

masoodahmad
Автор

Hah, I did some work a few years back on what-would-become the activej framework :)
Yes the uber-optimization down to writing specific java code that would get JIT-ed to specific machine code was something that they did - not me, I was a student, too dumb for that part of the thing, at least at the time - ok one thing I worked on was the dependency injection thing, that part I'm proud of lol

Also the magic specializer which converts DSL code into handwritten-like bytecode at startup, essentially getting those sweet zero-cost abstractions in Java 🙃

necauqua
Автор

This is amazing, also congrats on 100k+! You blew past that milestone

eboatwright_
Автор

Really love your videos! The perfect length and information density!

ChrisPatti
Автор

I just started learning Rust, and even the configs and basic boilerplate looks intimidating. I'm defiantly not going to be leaving my SvelteKit safe space in the front end for a long time, but the Rust ecosystem for backend looks like it's worth my time.

isaacdruin
Автор

I'm blown away what rust can to again and the reason I am is that you can get across what's special about it really well. You are great at simplifying things. Maybe you someone outside the field of web dev could have benefited from this skill by you explaining a little more of the server client structure of the web upfront? Just a thought. Having experience in this field it was really pleasant to follow. 

PS: I still would wish for chapter marks.

thebaconbreadful
Автор

Was binging your videos and this came up fresh from the oven!! Thanks for all the quality, time-respecting content.

hartvenus
Автор

I make stacks by planning their acronyms.
like the FAST stack
(F)lutter (A)ctix (S)velte (T) ypeScript
I never used it, but I have to say its my favourite to look cool.

Dev-Siri
Автор

Amazing videos! They slowly got me into rust

sasha
Автор

Adding rust to my resume to become one among the elite

kaushikkumarbora
Автор

My main problem with picking a stack is that it should be easier to make your own. A reasonably good async framework should be possible without unsafe using only the standard library. And my brain almost broke trying to convert Pin<Box<MaybeUninit<T>>> to Pin<Box<T>> (I accept that this one might need some unsafe).

Turalcar
Автор

Your English and your voice are wonderful, I am learning English and I will try to imitate you, you have the most beautiful English I have ever heard

gertrudessampaio
visit shbcf.ru