ekuber, to rust
@ekuber@hachyderm.io avatar

Request for feedback: how would you change this compiler error? Can you tell what's going on? What the problem is? Do you get a sense of how you might be able to solve it?

nahratzah, to rust
@nahratzah@mstdn.social avatar

Okay, the documentation on generic struct-structs is really difficult. And for some reason I cannot omit the where-clause.
I'm probably not understanding.

But... omg, traits are amazing. They're what I wanted c++' constraints to be. <3

This will make working with templates so much easier.
(Just have to figure out type arithmatic, then I suppose I'm pretty much where I want to be.)

(Despite my complaint about the documentation, the documentation is pretty good. Nice language too.)

dekirisu, to rust
@dekirisu@mastodon.social avatar

introducing: smol ferris 🤏🦀

I'm pretty sure that's what's happening during compilation. 😁

video/mp4

downgrade, to rust Russian
@downgrade@fosstodon.org avatar

👋 Hello, Mastodon! recently I had to update my website and decided to create a Mastodon account to share my thoughts to the world.

The idea of a decentralized, federated social network looks comfortable to me.

for now I have plans to just write something about my projects, sometimes , UI/UX , and maybe

rafaelcaricio, to Nvidia
@rafaelcaricio@nullpointer.social avatar

I was so happy yesterday! I had a desktop computer that had been sitting around my house for several years, and I decided to bring it back to life. I bought a new NVIDIA RTX 4060 card and a new case for it. I transferred all the old components to the new case and fired it up, installed Fedora Silverblue, and even played a bit of Fallout 4 at full graphics settings. It was such a breeze!

However, today when I tried to turn it on, I think the motherboard just gave out. Looks like it's time for a new CPU, motherboard, and memory.

For the fellow nerds out there, what would you recommend? I'm looking to play some games and compile Rust code.

#Desktop #NVIDIA #RustLang #Silverblue #Fedora

mo8it, to rust
@mo8it@fosstodon.org avatar

Announcing axum-ctx: Axum error handling library inspired by anyhow :ferris:

Documentation with examples 📚️
https://docs.rs/axum-ctx

The first screenshot shows the code without axum-ctx, the second one with it ✨

It lets you write concise "one-liners". Any chaining fans here? ⛓️🤩

I will write a blog post about it. But first, I would like to get some feedback here 🥰

#RustLang

With axum-ctx

faassen, to rust
@faassen@fosstodon.org avatar

I go to

I figure doing XML in Rust is rather obscure. I queue for lunch, mention it to someone, someone else just ahead of me in the queue says "oh I am working on that too!"

I also chatted to two different speakers at the conference who worked on a different XSLT engine in the past (way before Rust)

rusticorn, to rust
@rusticorn@fosstodon.org avatar

Excited to announce the 4th virtual
@bevy meetup on Friday May 24th at 7pm CEST (5pm UTC) - save the date! Speaker announcements follow soon! https://meetup.com/bevy-game-development/events/300919821/ Hope to see y'all there! 🦀🎮

timClicks, to rust
@timClicks@mastodon.nz avatar

Fun (?) 4 min watch for developers https://youtu.be/dJiL9gHNgKU

thisweekinrust, to rust
@thisweekinrust@mastodon.social avatar
chrisbiscardi, to rust
@chrisbiscardi@hachyderm.io avatar

8-way sprite exported from blender, using seldom_state and leafwing_input_manager for controls and animation control. idle, running, and dashing are the only animations implemented at the moment.

Just a prototype, but happy with the way it turned out, and I got a little blender scripting in too.

video/mp4

nrc, to rust
@nrc@hachyderm.io avatar

How has Rust changed since it's 1.0 release (9 years ago!)? I made a list of the big changes: https://www.ncameron.org/blog/rust-through-the-ages/ It's a good list.

claras_universe, to chess
@claras_universe@ieji.de avatar

I did the first board render with my chess engine :o I'm really happy with how it turned out. And it also shows that the white kingside castling worked xD (Assets from itch.io)

rusticorn, to iOS
@rusticorn@fosstodon.org avatar

Zoolitaire 🐼 finally released all 100 premium levels! Happy jumpy animals! https://apps.apple.com/de/app/zoolitaire/id6479218498 - made with @bevy for 🦀🎮

video/mp4

MevLyshkin, to gamedev
@MevLyshkin@mastodon.gamedev.place avatar

Finally, some progress on my card game! I was able to finally reach a point when it is more feature complete than previous iteration written a few years ago with different framework (quicksilver, it's dead now) 😅

video/mp4

ekuber, to rust
@ekuber@hachyderm.io avatar

Proc macros in are objectively bad in a number of ways (limited to only dealing with tokens/no type system access, hard for newcomers to grasp and write, force a lot of attributes to be written to annotate specific items, etc.) but they exemplify "worse is better" perfectly. They are incredibly powerful and allow people to build amazing abstractions that are in some cases best in class. We want to have something better, but there isn't a pressing need now to rush a replacement.

ekuber,
@ekuber@hachyderm.io avatar

I'm glad that is now at a stage where there aren't any major missing pieces, almost anything you want to do can be represented, just in round about ways and sharp corners that we can chip away in time. Better than the situation years ago where most people used nightly exclusively because there was missing functionality in stable. We still need a way to have "stable early access" for features close to completion, though.

heaths,
@heaths@fosstodon.org avatar

@ekuber They are far better than C macros that have no restrictions on input or output. That’s not to say things can’t be better, but how could this even work? So much type information isn’t available without expanding macros recursively already, then you need to resolve dependencies and compile. You have a chicken or the egg problem then.

My biggest gripe is that proc-macros2 is still necessary and knowing when I have to convert types between that or the extern’d proc_macro types.

nlnetlabs, to rust
@nlnetlabs@fosstodon.org avatar

As part of our ‘domain' library project, we are including diagnostics tooling. Instead of simply reimplementing ‘dig' in , we wanted to rethink what operators would want from such a command line tool. Today, we're happy to release version 0.1.0 of ‘dnsi’. https://crates.io/crates/dnsi

alexband,
@alexband@hachyderm.io avatar

@nlnetlabs “DNS Investigation" begs for release names. “Next up, on DNSI Miami…”

kubikpixel, to rust
@kubikpixel@chaos.social avatar

Do any of you #Rust developers know what the #EMail Server @stalwartlabs uses for an #OpenPGP solution – Is it #rPGP or even Sequoia--PGP? 🤔

I would like to use @sequoiapgp on the basis of personal arguments and this #RustLang E-Mail #encryption 🔐📧

nlnetlabs, to rust
@nlnetlabs@fosstodon.org avatar

We love contributing to the community! For day 2 of @rustnl 2024, @alexband passed the hosting baton to the newest member of our dev team, @terts. 💚🦀

arendjr, to rust
@arendjr@mstdn.social avatar

@sophiajt just introduced : an systems language that is easier to use and learn, possibly quite interesting for application development. Will supposedly have interoperability. Very interesting!

An example of a circular linked list
Lots of roads ahead: Continue building reference compiler, better abstractions, Rust interop and more exploration of easy-to-use safety mechanisms

alexband, to rust
@alexband@hachyderm.io avatar

Do you think interacting with the Domain Name System is hard in ? @nlnetlabs is working on making this easier with 'domain', our toolkit with building blocks for application developers. Come talk to @partim, @terts, Philip and me at @rustnl to learn more. https://blog.nlnetlabs.nl/domain-dns-building-blocks-for-rust-application-developers/

chrisbiscardi, to rust
@chrisbiscardi@hachyderm.io avatar

blender -> sprites -> bevy

for 8-way directional movement

a character running

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • everett
  • magazineikmin
  • Youngstown
  • thenastyranch
  • rosin
  • slotface
  • ngwrru68w68
  • Durango
  • PowerRangers
  • kavyap
  • cisconetworking
  • tsrsr
  • DreamBathrooms
  • modclub
  • mdbf
  • tacticalgear
  • khanakhh
  • ethstaker
  • vwfavf
  • InstantRegret
  • tester
  • osvaldo12
  • cubers
  • GTA5RPClips
  • Leos
  • normalnudes
  • provamag3
  • All magazines