social.tchncs.de is one of the many independent Mastodon servers you can use to participate in the fediverse.
A friendly server from Germany – which tends to attract techy people, but welcomes everybody. This is one of the oldest Mastodon instances.

Administered by:

Server stats:

3.9K
active users

#rust

213 posts186 participants8 posts today

It seems the new #Ryzen laptop CPUs come with 3 performance cores and 5 efficiency cores. For daily business tasks, this probably helps save battery. But what if a laptop is used for #Rust compiling 4 to 6 hours a day? Would the older Ryzen with 8 strong cores perform better than the new Ryzen's 3P+5E core strategy?
#cpu #amd #intel

Surprisingly easy time yanking dynamic dispatch out of my url-shortener project just now.

Is it me or does it seem a bit nuts to introduce dynamic dispatch to _everything touching the data access layer_ in order to be able to mock it for testing?

I mean I suppose you're hitting a networking or I/O boundary there anyways in most cases...

And it doesn't work on the server. I'm getting failures to send on all the stuff that worked on localnet.

I'm useless for today, I've begged both #Rust Discord for help and been very much ignored and banged my head against GPT that has tried and failed to help.

Fuck.

I can't begin to describe how like crap I feel right now - this morning I was *done* with probably the only interesting thing I might have ever done.

And now just reading from a TCP port is a show stopper and nothing works.

I am annoyed at a library for writing Rust in German[1] which suddenly got popular (a friend who doesn’t even write Rust found it) (even though it’s been out for a while, and is a fork of the same idea, but in French[2]), because I think the person making it either didn’t put much thought into it or just doesn’t actually speak German (the GitHub user has a German name and claims to be located in Germany, so probably not).
[1] github.com/michidk/rost
[2] github.com/bnjbvr/rouille/tree
#rust #german

Rust programming in German. Contribute to michidk/rost development by creating an account on GitHub.
GitHubGitHub - michidk/rost: Rust programming in German.Rust programming in German. Contribute to michidk/rost development by creating an account on GitHub.

In these trying times where beloved, overcomplicated #Linux distros get flooded with normies and their weird ideas and requests, remember to send your local #FOSSBro some lines of compassion.

Just make sure those lines aren't written in #Rust. They might not support that.

Replied in thread

@joxean

@n0iroh at iroh.computer may be an interesting #p2p case study for you. #iroh is in turn used by @delta for instance.

You can read more on how #DeltaChat use iroh in their blog post at: delta.chat/en/2024-11-20-webxd

Iroh's programming language used is #Rust though, but via the #WebAssembly support it may be usable in the languages you mention, but I am not sure.

iroh. less net work for networks
iroh.computerirohless net work for networks