AWS now officially supports Rust!
HTML-код
- Опубликовано: 26 июн 2024
- Exciting news for developers! AWS has officially added support for Rust. Watch this video to learn more about how Rust can now be utilized on AWS for seamless and innovative development experiences.
Free Rust cheat sheet: letsgetrusty.com/cheatsheet
Chapters
0:00 Intro
0:10 The SDK
1:30 Hope for Rust
2:01 Conclusion Наука
📝Get your *FREE Rust cheat sheet* :
letsgetrusty.com/cheatsheet
I've been using the Rust CDK for a while now and have never had any real issues with it, great to know it's finally production-ready!
As for Lambda Runtime, it would be really interesting to compare unofficial runtimes, like cargo-lambda, with an optimized, production-ready one. We'd probably see reduced cold starts (which are already great in unofficial runtimes) and ultra-low memory consumption.
Just don't think Rust is a good fit for CDK though, Typescript already does the job pretty well. Bear in mind all CDK does is generate a Cloudformation template, no need to use a compiled language for that
Ive been using cargo lambda. its a bit clunky but...fine enough. I really would love to see an official runtime for it where you can just provide a lib crate with a named export for it to load, similar to how the c# one works. Rust is such a great language for lambda though, dont need to give much memory for it to run, start times are good, runs fast and has all of rusts great guarantees. It really is a language that i think would be worth them supporting more
Take a look at Dr. Werner Vogels' keynote from AWS re:Invent 2023 last week, he is calling out Rust as a great programming language.
Waiting for AWS-CDK to support on Rust too ❤
Goodbye fast CI/CD build prep times 🙄
Isn't Typescript/Python already good enough ? It's not code that needs to be safe, nor to be fast (CDK only creates the Cloudformation file, which is not the speed bottleneck)
@@evols7028 no I agree, Typescript and Python have excellent documentation, and CDK libs, but think of it this way.
I want to build say a pure microserivce using rust and now just to deploy it as a Cloudformation I am relying on another language like TS & Python.
It’s those scenarios where a pure Rust based project would still be dependent on another language is why we need Rust based CDK
I have been using Typescript CDK v2 and I enjoy working with it.
You can emit deCDK, today, to use the AWS CDK with Rust. However, right now the best way to deploy Rust to AWS is still SAM.
Are there any statistics on read and write performance to S3 and EBS compared to local HDD and NVME SSD?
Great news for rust community 🎉
Great news🎉
Infrastructure as code would be cool, but the industry standard infrastructure as Yaml keeps the box checkers happy.
Good point!
Maybe now it might be affordable to run a production web app on AWS without having to go full-server.
Maybe.
good news!
Let's Goo! 🦀
I think this is great news.
One question:
Does the released SDK still require async? I think it is a pity if it does as it dictates how an application should be built. I know that there are workarounds, but ...
I think given Rust's semantics about borrow checking, it's best if they make one client style. It's far easier to "convert" async to sync by wrapping it, and it's simply not possible to gain benefit by doing it the other way around.
@EbonySeraphim
thanks, you are probably right. It just feels weird.
Nice
🎉
Hey man…. With ur videos, i started learning rust ….. Can i land my first job in rust as a fresher….?
> IMA
it’s over
Wow... this will make a 200% more rust jobs....
i have to get into that 4 new dev jobs that opened
And McDonalds officially supports cheeseburgers made from bugs
Is this considered a win now ?
Thumb nail funny lol
hmmm AWS Lambda in Rust?.... Damn... One more reason to learn this language
I wish Google would support a cloud sdk as well. The libs out there work fine, but it would be nice to have officially backed.
Some of them are in that they are sponsored by Google.
you're telling it like it's good news and corporization of communities ever helped someone. this must be an alarm, not "great news". if billionaire leech is involved into your field - you're doomed to become a shell of yourself for their profit.
Brah
It literally gives Rust devs more potential job opportunities
@@Marcus001i think both can be true
your anger is misplaced. Amazon hasn't changed anything in Rust itself. they just provided bindings for their services. you can still write raw http requests and parse the response yourself if you want. it's just easier to do it connect to aws if needed.
All that sdk does is make http requests and give you nicely formatted responses. There were a few community maintained sdks before this.