crablang

91 posts

crablang banner
crablang

crablang

@crablang

not associated or affiliated with @rustlang or the @rust_foundation • 5k ⭐️https://t.co/I4GoUujKjh

water Katılım Nisan 2023
78 Takip Edilen2K Takipçiler
Dmitrii Kovanikov
Dmitrii Kovanikov@ChShersh·
Expectations from a new programming language are crazy nowadays. A new language has to Have a formatter Have a linter Have a build tool Have a package manager Have documentation Have project templates Have a friendly community Have a minimal ecosystem of CLI parsers, web servers, generic http clients Have a fancy website Compile fast Run fast Bring something new to the table Have great error messages Be better than OCaml It’s almost impossible to start a new thriving language.
English
209
50
1.5K
419.3K
OCaml
OCaml@ocaml_org·
I know there's some really nice packages in the OCaml ecosystem 🧡🐫 share some of your favorites and why you like them here ⤵️
English
9
6
31
5.7K
crablang
crablang@crablang·
We remain committed to our partnership with @htmx_org and have confidence in our product roadmap, our ability to continue to innovate with everything we announced at CrabLang Conf, and in continuing to support our customers and partners.
English
1
3
78
12K
crablang retweetledi
trav
trav@techsavvytravvy·
@Shreyassanthu77 can confirm this an actual photo of me presenting at @CrabLang​Conf™
trav tweet media
English
5
2
28
7.5K
crablang retweetledi
trav
trav@techsavvytravvy·
this is where @crablang shines - raw speed, performance, and being able to say the name in public
English
7
4
79
16.1K
crablang retweetledi
trav
trav@techsavvytravvy·
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 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
trav tweet mediatrav tweet mediatrav tweet mediatrav tweet media
English
12
4
68
9K
Travis-Canad/acc
Travis-Canad/acc@Travis_codez·
@verry_codes Rustlings accompanied with the Rust book is a great way to do it, after you install @crablang. The first step to learning Rust is to install Crab lang.
English
1
0
3
149
Verry 💙
Verry 💙@verry_codes·
Today is the day... I'm diving into #rust (ZERO knowledge, hello #chatgpt) and #dartffi and flutter_rust_bridge to fix my #flutter metronome. Be prepared for tears 😅!
English
8
0
44
4.1K
Bloq
Bloq@antonioJASR·
Wow, @crablang and @htmx_org will be my tech stack now. We are always getting so back.
Bloq tweet media
English
1
0
8
362