CrabNebula · @crabnebula
36 followers · 127 posts · Server fosstodon.org

101:

In some cases you have to specify that a variable is mutable but also a vector, why is that? 👇

In computers you have 2 places to store data:

1️⃣ The stack, which is very fast, but the allocation is local to a function call, and is limited in size.

2️⃣ The heap, which is slower, and is explicitly allocated by your program. But it’s effectively unlimited in size.

⬇️

#rust

Last updated 1 year ago

Ruhrpott-Pilze · @RPilze
15 followers · 177 posts · Server masto.nu
Hacker News 50 · @hn50
3541 followers · 72886 posts · Server social.lansky.name

Ask HN: How is Rust used in the Linux kernel today?

Discussion: news.ycombinator.com/item?id=3

#rust #linux

Last updated 1 year ago

Adrian Tombu 🌱 · @to
255 followers · 95 posts · Server hachyderm.io

Another day, another rejection 🎉

I recently crossed a hundred applications in the last four months, all of which I’m qualified for. If it was not for the 4-day week, my job hunting would have ended after 5 applications back in June 😑

#FediHire #rust #rustlang #typescript #nodejs #saas #webdev

Last updated 1 year ago

Quadrivium Club · @quadrivium_club
1 followers · 180 posts · Server det.social
James Gayfer · @jgayfer
150 followers · 230 posts · Server fosstodon.org

Great video comparing traits to interfaces.

Didn’t realize Rust performs both static and dynamic dispatch.

youtu.be/5QFDQRkbllo?si=8jl28C

#rust #java

Last updated 1 year ago

lluni · @lluni
14 followers · 159 posts · Server layer8.space

Is there actually a simple library?

#rust #gui

Last updated 1 year ago

JordiGH · @JordiGH
916 followers · 22852 posts · Server mathstodon.xyz

Dang, I just saw in the sidebar a streamer streaming with 3.6k viewers and I was like HELL YEAH the Rust programming language finally hits the big time on Twitch but it's some silly modern video game or something.

#rust

Last updated 1 year ago

Hákarl · @Hakarl
41 followers · 315 posts · Server kolektiva.social

- how do you make a decision about which language to use?

I have a private project with a pal - no timeframe on it, we're very much doing it 'for fun'. We could whip it up with fairly easily but we're keen to try out new stuff.

We talked about but neither of us are very enthusiastic.

We've settled on building the first step in , and Python - to give ourselves an idea of which one looks like fun.

So the question, really - if you're starting a project and there's no clear reason to use language a over b, how to you make that decision?

#developers #python #php #rust #haskell

Last updated 1 year ago

Sean McArthur :rust: · @seanmonstar
1774 followers · 231 posts · Server masto.ai

A part of API contracts that doesn't seem very defined is the reliance on types in `Error::source()`.

So, uh, is it fair to simply document "The types in Error::source() are not part of the public API, and are subject to change at any time"?

#rust

Last updated 1 year ago

Alex · @stsquad
282 followers · 2215 posts · Server mastodon.org.uk

Time to re-engage my brain.

#rust

Last updated 1 year ago

FOSSlife · @fosslife
2159 followers · 236 posts · Server fosstodon.org

Did you miss anything from FOSSlife last week? Catch up with our weekly newsletter. Read it now and subscribe free to get it every Thursday app.moosend.com/show_campaign/

#foss #rust #greencoding #opentf #terraform #linux #starlite #tablet #darkweb #jobs #events #opensource

Last updated 1 year ago

洪 民憙 (Hong Minhee) · @hongminhee
265 followers · 2160 posts · Server todon.eu

I'm trying to code with , and so far so good.

#rust #zed

Last updated 1 year ago

Hacker News 50 · @hn50
3541 followers · 72826 posts · Server social.lansky.name

imma -ify . sorry-not-sorry 😘

#rust #opensuse

Last updated 1 year ago

Grant 👾 · @TheRussellParadox
11 followers · 65 posts · Server hachyderm.io

Going to take my astro site off of vercel and start self hosting on a raspberry pi. Will be lots of fun. I might even go back to the drawing board and rebuild my site using htmx/ bun or go the Rust route instead with something like leptos idk. Anyways I finished hackers and ghost in the wires. Both good books!

#rust #webdev #javascript #idk #indie

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
272 followers · 1201 posts · Server fosstodon.org

I assume there is a library that turns this ugly order of functional-style code:

map(bla, filter(blubb, stuff)

into -style syntax like:

stuff.filter(blubb).map(bla)

Not only do I find this much more readable (left-to-right instead of right-to-left), but the black code formatter also wouldn't explode those nested function calls all over the place.

#python #rust

Last updated 1 year ago

Pat · @patoconnor43
34 followers · 287 posts · Server hachyderm.io
Yoav Lavi · @yoavlavi
58 followers · 192 posts · Server hachyderm.io

What are your favorite utilities?

Bonus points:

- Fast
- Written in a memory safe language (e.g. )
- Has a good interface
- A good solution / increases productivity
- Installable via

#terminal #rust #nix #cli

Last updated 1 year ago

Pit :ferris_gesture: · @piturnah
110 followers · 1055 posts · Server hachyderm.io

Working on a new gamedev project!

#rust #bevyengine #chess

Last updated 1 year ago