
not associated or affiliated with @rustlang or the @rust_foundation • 5k ⭐️https://nitter.gq/t.co/I4GoUujKjh
water
Joined April 2023
- Tweets91
- Following78
- Followers2K
- Likes1.2K
crablang retweeted
Replying to @crablang
crablang retweeted
what an endorsement of @crablang 💜
crablang retweeted
Replying to @Shreyassanthu77
can confirm this an actual photo of me presenting at @CrabLangConf™
crablang retweeted
this is where @crablang shines - raw speed, performance, and being able to say the name in public
This Post is from an account that no longer exists. Learn more
crablang retweeted
here's what i've been doing the past two hours.
let's say we want to represent a HashMap as an array of tuples, like this:
of course, we can't implement the From trait for this directly, because both types are defined outside the crate.
so the first move here is to use the newtype pattern, creating a new struct that wraps the HashMap struct
now we can implement From<[(&str, &str)]> for Record<String, String> right?? well, not yet...
since it's an array, we need to know the size at compile time... but that throws off our whole plan!
thankfully, all is not lost, and we can use const generics to implement From on an array of any type. so here's what i did:
it works!
so was all of this worth it just to save 4 characters by not using the `vec!` macro? absolutely. should this have been a blog post instead of a super long xeet? maybe
crablang retweeted
Replying to @crablang
crablang retweeted
Full episode starring @techsavvytravvy is finally live! We talk about forking Rust, amazing bash scripts, and more
backendbanter.fm/episodes/01…
crablang retweeted
Replying to @crablang @WarrenInTheBuff @techsavvytravvy @gitpush_gitpaid @MDKhoo @trshpuppy @loftwah @AstraKernel @kiyov09 @ThePrimeagen @adibhanna @HumansNoContext @trashh_dev @ScriptAlchemist
Don't mess with the crabo or get stabbo
crablang retweeted
ayyyy if you have questions or concerns about @crablang then go check this vid! thanks again for coming on @adibhanna !! – at Kalamazoo, MI
New YouTuber video » Crablang! « 🦀
In this video, I talk to @techsavvytravvy on his Twitch stream about @crablang
👇
youtu.be/UOy3GwRnCJs
crablang retweeted
New life goal. Get crablang into the Linux kernel @kalilinux
This Post is from an account that no longer exists. Learn more



















