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. #rustlang #rust

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 #OCaml it was (with affection) "here's hello world and here's a dense academic paper on implementing event systems in OCaml 5!"

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

#RustLang 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

#rust #rustlang

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.

#rustlang #rust

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/

dekirisu, to rust
@dekirisu@mastodon.social avatar

🦊 added placeholder items
🐹 and a player inventory to store them

This uses bevy_ui and a custom abstraction on top.
(the macros I posted about a few weeks ago)

video/mp4

ekuber, to rust
@ekuber@hachyderm.io avatar

The online discourse:

"It's like C++ and OCaml had a baby! (Positive)"
"It's like C++ and OCaml had a baby! (Pejorative)"

janriemer, to ArtificialIntelligence

Zed Decoded: Rope & SumTree - by Zed Industries

https://zed.dev/blog/zed-decoded-rope-sumtree

Absolutely fascinating deep-dive into the core data structures the folks at Zed Industries use for their !

"Currently there are over 20 uses of the SumTree in Zed. [...] The list of files in a project is a SumTree. The information returned by git blame is stored in a SumTree. Messages in the chat channel: SumTree. Diagnostics: SumTree."

Oh, how I love this! ✨

janriemer, to rust

Practical suggestions for building #intuition around borrow errors - by quinedot

https://quinedot.github.io/rust-learning/lifetime-intuition.html

If you're struggling with the #Rust borrow checker and lifetimes, this is an excellent resource!

In some past toot I've said that Rust lends itself very well to intuition-based learning...

https://floss.social/@janriemer/109415274612140073

...so this learning resource takes the same line (according to its title)! Nice!

#RustLang #BorrowChk

ecton, to rust
@ecton@fosstodon.org avatar

I've released v0.3, a reactive GUI crate for . It's been a while, so the changelog is pretty massive. It's still very much an alpha GUI framework, but it's made significant strides since v0.2.

I'm starting working on a blog post highlighting some of the changes and new features, which I'll of course post here when I've published it.

https://github.com/khonsulabs/cushy/releases/tag/v0.3.0

rusticorn, to iOS
@rusticorn@fosstodon.org avatar

The #iOS integration of in-app-purchases used in Zoolitaire is now #opensource and on Github: https://github.com/rustunit/bevy_ios_iap - hope to see more @bevy #mobile games now 🤩 #rustlang #gamedev 🦀🎮

video/mp4

mttaggart, to rust

Late-night tool release!

Introducing entropyscan-rs, a entropy scanner for analyzing files and directories during incident response. Used carefully, this can quickly identify likely malware when not all stages of an attack have been discovered, such as during a web server compromise without adequate logging. Enjoy!

github.com/mttaggart/entropyscan-rs

njoseph, to rust
@njoseph@social.masto.host avatar

Wrote a little app launcher for all of my manually installed applications using Tauri in about 2 hours and with less than 100 lines of code. The .deb package it generated is just 2.8 MB in size. I added this to my startup applications using Gnome Tweak Tool.

P.S. One hour was spent fighting the borrow checker. AppImage is 164 MB.

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