orhun, to rust
@orhun@fosstodon.org avatar

I'm so excited to announce the new version of Ratatui — with the brand new forum for Rust & TUI enthusiasts! 🥳

🚀 Join us here: https://forum.ratatui.rs

🦀 Ratatui is a Rust library for cooking up terminal user interfaces (@ratatui_rs)

✨ Release highlights: https://ratatui.rs/highlights/v0263

⭐ GitHub: https://github.com/ratatui-org/ratatui

video/mp4

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

So I wrote a rest API for a note app to learn the language. The code looks horrible I guess but I learned a lot about rust.

I used rocket to do so, now I just need an frontend properly written with clap or ratatui.

happyborg, to rust
@happyborg@fosstodon.org avatar

Is there a deterministic HashMap for , one that serialises to the same data every time, for the same content?

davy,
@davy@hachyderm.io avatar
happyborg,
@happyborg@fosstodon.org avatar

@davy Thanks. My VPN is blocked by Reddit, any chance of a tl;dr?

I had no idea what a van it works I was opening! Glad I asked though.

BTreeMap may be the way to go by I've not looked into that yet.

predrag, to rust
@predrag@hachyderm.io avatar

Nice round numbers coming up for your friendly neighborhood SemVer linter for Rust 👀

orhun, to rust
@orhun@fosstodon.org avatar

New terminal game is being cooked! 👨‍🍳

🌌 astray: A TUI-based space strategy game.

🚀 Fully customizable spaceships and spaceship parts.
🛰️ Real orbit calculations and maneuvers.
🦀 Written in Rust & built with @ratatui_rs

⭐ GitHub: https://github.com/Vinermy/astray

kubikpixel, to rust
@kubikpixel@chaos.social avatar

»Parser library using nom for VB6 (projects, forms, designers, etc).
VB6Parse aims to be a complete, end-to-end parser library for VB6. Including.«

It was a very, very, very long time ago when I had to extend and correct VisualBasic code, now I can also do it via Rust. Admittedly, the project is very young and I don't want to have to use it, but I understand why it exists.

🦀 https://github.com/scriptandcompile/vb6parse


hywan,
@hywan@fosstodon.org avatar
RogerBW, to raku
@RogerBW@emacs.ch avatar
chrisbiscardi, to rust
@chrisbiscardi@hachyderm.io avatar

Still in need of y/z-indexing for visuals, but the collisions are working.

Colliders are defined in Tiled by visually placing vertices on the tilesheet. collider information is read when building the bevy_ecs_tilemap tilemap and translated into bevy_xpbd Colliders.

player is a kinematic rigidbody with a ellipse collider placed on a child entity. level colliders are static.

the switch plate in the middle is also a sensor, which is data added in Tiled as well.

video/mp4

onelson,
@onelson@mastodon.social avatar

@chrisbiscardi how do you like xpbd?

I started out rolling my own collision systems, but it's been harder to get right than I hoped 😅

Rapier is great, but I worry it's too much for my "side-scrolling 2d platformer adjacent" project. Maybe xpbd is a better fit.

onelson,
@onelson@mastodon.social avatar

@chrisbiscardi (reading up on xpbd, and Parry) this sounds pretty good to me. I don't care about physics simulation, forces, etc but I do welcome help with overall collision detection. Seems like I can get a good balance with these.

carol, to rust
@carol@crabby.fyi avatar

I love what @leahawasser is doing with the pyOpenSci open peer review of packages https://www.pyopensci.org/about-peer-review/ that results in a list of recommended packages https://www.pyopensci.org/python-packages.html

This seems like a way more effective and accessible solution to the "what libraries are appropriate to use" problem than, say, cargo-crev.

leahawasser,
@leahawasser@fosstodon.org avatar

@carol thank you carol!! I'm so glad that you find our communtiy work useful!! That is the goal!!! ✨️join us in making the ecostsem more user friendly!!

happyborg, to random
@happyborg@fosstodon.org avatar

There's a Tui for that" is a coming phrase.

+ =

tb, to rust German
@tb@hachyderm.io avatar

:ferris_gesture: crates.io has an experimental dark UI mode now! 😱

we finally implemented our most upvoted feature request over the past weeks. while we are still searching for potential issues, the default mode is "Light". once we feel confident about the dark mode we will switch it over to "System".

let us know via https://github.com/rust-lang/crates.io/issues if you find any issues!

image/png

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

Faster linking times on nightly on Linux using `rust-lld, https://blog.rust-lang.org/2024/05/17/enabling-rust-lld-on-linux.html.

> Here are more details from the ripgrep example mentioned above: linking is reduced 7x, resulting in a 40% reduction in end-to-end compilation times

tl;dr: Rust now packages a rust-lld linker (it’s LLVM’s lld), and uses it on Linux by default on nightly, which decreases compilation time greatly.

hywan,
@hywan@fosstodon.org avatar

@aoanla 😇

mo8it,
@mo8it@fosstodon.org avatar

@hywan Why not mold?

rusticorn, to rust
@rusticorn@fosstodon.org avatar

I am hyped to share the second speaker for the upcoming virtual @bevy meetup next Friday May 24th 7pm CEST: Lorenz shares insights about "Hooking into the Bevy Rendering Pipeline". Join us: https://www.meetup.com/bevy-game-development/events/300919821/ 🦀🎮

rustnl, to rust
@rustnl@fosstodon.org avatar

Looking back at a wonderful conference: 10 cool things at RustNL 2024!

Part 1 of 10: @Mara and Niko had a booth gathering input (problems!) from the community.

image/jpeg

whynothugo,
@whynothugo@fosstodon.org avatar

@rustnl @Mara Can we add a lack of compile time reflection to that list, please?

ekuber, to rust
@ekuber@hachyderm.io avatar

Sometimes I wish that rustc had a database of small breaking changes that affect only a handful of crates, so that we could on the fly patch them going forward. Things like "we now correctly check for lifetimes in assoc types" can technically be a breaking change that affects a handful of crates, but I want to ensure that building a project from today in 15 years doesn't require a compiler tool chain from today.

I guess this is the windows backwards compatibility approach.

kornel,
@kornel@mastodon.social avatar

@ekuber Can this be in Cargo instead, and force-upgrade known-broken crates?
And yeah, that requires releasing fixed versions of the broken crates.

ekuber,
@ekuber@hachyderm.io avatar

@kornel you would want to make patch releases for pretty much every affected dot release, but that would likely be the best option.

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