thisweekinrust, to rust
@thisweekinrust@mastodon.social avatar
hywan, to rust
@hywan@fosstodon.org avatar

cargo mutants, https://mutants.rs/

A useful tool to do mutation-based testing on Rust projects.

Reminder: mutants aim at testing your test suites —whether they catch all your code details—, not your code itself.

rusticorn, to rust
@rusticorn@fosstodon.org avatar

I am happy to present to you the first speaker of our upcoming virtual @bevy Meetup on Friday May 24th: Bevy Maintainer
@FrancoisMockers with "Catching Rendering Regressions on all Platforms" - don't miss it and join us here: https://meetup.com/bevy-game-development/events/300919821/ 🦀🎮

gabrielesvelto, (edited ) to rust
@gabrielesvelto@fosstodon.org avatar

If you're doing a lot of work in C/C++/Rust consider using sccache to cache compilations. It's easy to set up and will save you a lot of time and a huge amount of power.

https://github.com/mozilla/sccache

As an example this is just a couple of hours of work on Firefox, it saved me from re-running the compiler almost 90% of the time.

orhun, to rust
@orhun@fosstodon.org avatar

Do you use Jira? Sorry to hear that.
At least there is a TUI for it! 🔥

🔧 jirust: Jira terminal UI.

🚀 Supports listing projects, moving tickets and more!
👀 Demo: https://youtu.be/gRgz1M30q9I

🦀 Written in Rust & built with @ratatui_rs
⭐ GitHub: https://github.com/Code-Militia/jirust

video/mp4

andybalaam, to rust
@andybalaam@mastodon.social avatar

Good stuff

https://without.boats/blog/references-are-like-jumps/

"Unfortunately, most people seem to have taken the wrong lesson from Rust. They see all of this business with lifetimes and ownership as a dirty mess that Rust has had to adopt because it wanted to avoid garbage collection. But this is completely backwards! Rust adopted rules around shared mutable state and this enabled it to avoid garbage collection. These rules are a good idea regardless."

dekirisu, to rust
@dekirisu@mastodon.social avatar

🦊 chests can be modified simultaneously

(duplicating/losing items due to parallel access is impossibru)

video/mp4

kubikpixel, (edited ) to rust
@kubikpixel@chaos.social avatar

Is today the day of the crab and is that a good thing? Yes, it means that the chainring is now number one! 🦀🎉

⚙️ Announcing Rust 1.0
https://blog.rust-lang.org/2015/05/15/Rust-1.0.html


secana, to rust
@secana@mastodon.social avatar

https://nexte.st/ is awesome. The expression language to filter for tests or simply display a list of available test made is "must-have" for me.

hrefna, to Java
@hrefna@hachyderm.io avatar

It's fascinating to me looking at beginning language guides and thinking "what does this say about the culture of the language"

When I was delving into it was (with affection) "here's hello world and here's a dense academic paper on implementing event systems in OCaml 5!"

guides used to be centered on the assumption that you were a web programmer looking to do applets, even long after that assumption died.

generally seems to assume a background in programming w/ a CLI.

mizah, to rust
@mizah@macrofurs.social avatar

It continues to surprise me how, with just kinda works once it compiles...

Yeah, not a 100% success rate, but... It's still surprisingly good at forcing you to put the square pegs into the square holes.

dgoosens, to rust French
@dgoosens@phpc.social avatar

This looks interesting

Hurl is a command line tool that runs HTTP requests defined in a simple plain text format.

It can chain requests, capture values and evaluate queries on headers and body response. Hurl is very versatile: it can be used for both fetching data and testing HTTP sessions.

Hurl makes it easy to work with HTML content, / SOAP / GraphQL APIs, or any other XML / JSON based APIs.

(Built with powered by )

https://hurl.dev/

dekirisu, to rust
@dekirisu@mastodon.social avatar

🦊 added a chest with items, which show on proximity
🐔 ..items can be moved freely between slots

video/mp4

orhun, to rust
@orhun@fosstodon.org avatar

Today I'm giving a talk at Rust for Lunch! 🥪

🚀 Join us to learn how rendering works in the terminal! (ft. @ratatui_rs)

🦀 Online-only Rust meet-up scheduled to fit into a lunch break.

➡️ Details: https://lunch.rs/meetups/2024-05-14/

alice_i_cecile, to opensource
@alice_i_cecile@mastodon.gamedev.place avatar

Hi! I'm back from RustNL! Taking it light today (definitely still exhausted) but I'm feeling ready for another . Let's take a look at the PRs that our community has made and reviewed for us this week :) There was a request to check the website repo, so let's start there! 9 PRs are ready, so that's a great call: https://github.com/bevyengine/bevy-website/pulls?q=is%3Aopen+is%3Apr+label%3AS-Ready-For-Final-Review

boozook, to rust
@boozook@mastodon.gamedev.place avatar

Tomorrow is a day of oxidized crab 🦀 — Rust programming language birthday 🎉

https://blog.rust-lang.org/2015/05/15/Rust-1.0.html

sonny, to GNOME
@sonny@floss.social avatar

Got very excited by @matt demo of AccessKit integration in #GTK

AccessKit is a cross-platform abstraction for accessibility infrastructure written in Rust.

His work will bring a11y support for GTK on macOS and Windows as well as for the new accessibility architecture on Linux code-named "Newton".

https://github.com/AccessKit/accesskit

https://blogs.gnome.org/a11y/2023/10/27/a-new-accessibility-architecture-for-modern-free-desktops/

#GNOME #rustlang #accessibility #a11y #Linux #Windows #macOS

hgrsd, to rust
@hgrsd@hachyderm.io avatar

Which IDE do you use for Rust development?

I've been moving between neovim, helix (can't get over the slightly different mental model compared to vim), vscode, rustrover... Curious what others use.

lily, to rust
@lily@glaceon.social avatar

here's an interesting way of expressing logic in a rust program:

match statements where the patterns are produced by a local macro.

one of the main problems with rust pattern matching imo is just how large the match statements often are, and local macros fix that.

it's much nicer to write key!('q') instead of Event::Key(KeyEvent{ code: KeyCode::Char($code), .. }

chrisbiscardi, to rust
@chrisbiscardi@hachyderm.io avatar

This Week in Bevy: ClearCoat, new examples, and game updates

This week there are a bunch of new examples added to the repo, new additions to the StandardMaterial, and more.

Out in the wider ecosystem, we'll see 400,000 entities on a flowfield in the showcases as well as crates for networking, ui, and signals.

On top of that there are game updates from past Bevy jams, card games and more.

https://thisweekinbevy.com/issue/2024-05-13-clearcoat-new-examples-and-game-updates

swiftcoder, to rust
@swiftcoder@mastodon.social avatar

I guess a stealth MacOS update decided I don't get to use anymore... How's your Monday?

lily, to rust
@lily@glaceon.social avatar

the rust "impl" keywork is kinda weird.

usually, it is used to define methods, but in function arguments, it serves as syntactic sugar so you don't have to name generic types... but in a return type, it has a meaning that is slightly different, and actually expresses a semantic not even vanilla haskell can represent!

basically, instead of being able to return any type implementing a trait, it states that it can return at least one type that implements a trait.

in haskell terminology, specifying a generic type parameter is "forall a", while returning an "impl" is "exists a".

karolherbst, to rust
@karolherbst@chaos.social avatar

Is there a good way in to prevent stackoverflows with long dependency chains of Arced objects?

Basically I need to prevent something like this from happening: https://godbolt.org/z/rxE4eaYe7

And no, Weak can't be used here as in my case I need to access the dependency reliably.

EDIT: updated to get rid of the Mutex, because apparently that allowed some things I've not intended.

rustlab, to rust
@rustlab@mastodon.uno avatar

🚀 Secure your spot at before prices go up! rates end tomorrow at noon (CET). Don't miss this opportunity to attend at the best price possible!
👉https://rustlab.it/tickets24

ecton, to rust
@ecton@fosstodon.org avatar

Here's some highlights from 's v0.3 release that went out yesterday. Cushy is a reactive GUI crate for

https://ecton.dev/cushy-v0-3/

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