rust Hot

swallez, to rust
@swallez@mastodon.tetaneutral.net avatar

"cargo-buttplug: ensuring positive reinforcement during long, tiring code sessions". Yup, you guessed it right: 10 seconds of vibration if Rust compilation is successful 😅 Be careful: as you become fluent with the language compilation succeeds more often 🤣 https://github.com/vmfunc/cargo-buttplug

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.

hywan,
@hywan@fosstodon.org avatar

Nice, it has found a flaw in my test suite. Thanks cargo mutants.

dekirisu, to rust
@dekirisu@mastodon.social avatar

🦉 added an action bar, placed items can be used via number keys
🦊 added item type 'spell' (no individual cooldowns yet)
🦐 made spell items out of the dash and past projectile attacks

video/mp4

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.

shram86,
@shram86@mastodon.gamedev.place avatar

@gabrielesvelto this is terrible advice unless you are actively working on Mozilla.

Why would I use a tool explicitly developed by them for their own internal software with my extremely delicate low level, hardware optimized code?

Yuck.

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

@shram86 this is a generic tool that works with all mainstream compilers and requires just a few lines of global configuration. After that it works completely transparently

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


tjunge,
@tjunge@twit.social avatar

@kubikpixel What's "the cear wheel"?

kubikpixel,
@kubikpixel@chaos.social avatar

@tjunge sorry for my bad ENG then I let it translate online:

"cear wheel" == ⚙️

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.

argv_minus_one, to rust
@argv_minus_one@mstdn.party avatar

I wonder if anyone has ever written an embedded in which there is no run-time interpreter, and all SQL queries are translated into machine code at compile time.

Kinda like sqlx, except queries are fully compiled at compile time, not just checked for correct syntax and types.

I'm guessing this would be extremely specific to one language, and outright impossible in most programming languages.

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/

gilbus,
@gilbus@metalhead.club avatar

@dgoosens hurl is just great. It's at the heart of our integration tests at work and I don't want to miss it anymore!

alcinnz,
@alcinnz@floss.social avatar

@dgoosens I named a Haskell Curl alternative "HURL", but that name's taken?

Oh well, I suspect we're in different enough contexts it shouldn't matter...

noth, to rust
@noth@ilyamikcoder.com avatar


ah yes

luis,

@ekuber @noth got it 😅

ekuber,
@ekuber@hachyderm.io avatar

@luis @noth don't sweat it, there's no obligation to be up to date with obscure Twitter memes from 8 years ago

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