tymwol, to rust
@tymwol@hachyderm.io avatar

Stages of using lifetimes in :

  1. Start with no lifetimes,
  2. The compiler complains, so you put lifetimes everywhere,
  3. It's so ugly that you simplify it, so it doesn't need any lifetimes anymore.
dekirisu, to gamedev
@dekirisu@mastodon.social avatar

🐉 reworked the fireball to be a quick ranged attack
🦊 ..which completes the first combat rotation!

#bevyengine #gamedev #indiegame #rustlang

video/mp4

RogerBW, to raku
@RogerBW@emacs.ch avatar
jgayfer, to rust
@jgayfer@fosstodon.org avatar

I must be losing it. Is there no way to format a docstring with cargo fmt?

#rustlang

herberticus, to rust
@herberticus@fosstodon.org avatar

Wow, I'm blown away - thank you so much for the warm response! Advanced Hands-on Rust is atop the publisher's best sellers list already!

I've started work on the next beta release - fixing bugs, improving code, updating the Bevy version and tuning the next chapter. (Beta readers get every update including the final release)

https://pragprog.com/titles/hwmrust/advanced-hands-on-rust/

seanmonstar, to rust
@seanmonstar@masto.ai avatar
rusticorn, to rust
@rusticorn@fosstodon.org avatar

Join me for the 3rd and final talk of today's virtual @bevy meetup, @i_am_feenster talks about building a #townscaper clone in Bevy: https://www.youtube.com/watch?v=rnE_nINEs2M #rustlang #gamedev #indiedevs

lily, to rust
@lily@glaceon.social avatar

cargo update -Z minimal-versions && cargo test

good thing to add to your CI to make sure that the minimum version you say you need is actually the minimum required version

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

The Rust Powered open source Fyrox 2D/3D game engine just gots some huge updates in the 0.34 release.

Hot reload, GTLF, multiple scripts per object and much more. Impressive release.
https://gamefromscratch.com/fyrox-0-34-rust-powered-game-engine/

#gamedev #indiedev #rustlang

seanmonstar, to rust
@seanmonstar@masto.ai avatar

Some may wonder why people would block CI on #rustlang nightly.

My answer is simple: either I block in CI, or I will completely ignore it. if we all stopped blocking on nightly, then a problem wouldn't be noticed until it reached beta, which is a much bigger deal to fix.

tastapod, to Kotlin
@tastapod@mas.to avatar

In #kotlin everything is fun, but in #rustlang everything starts with a pub. It's a tough choice.

rusticorn, to rust
@rusticorn@fosstodon.org avatar

Today is virtual @bevy Meetup time again! Don't miss this awesome lineup at 7pm CEST / 10am PT: https://www.meetup.com/bevy-game-development/events/300919821 #rustlang #gamedev #indiedev 🦀🎮

dekirisu, to gamedev
@dekirisu@mastodon.social avatar

🦜 added a gap closing attack
🤏 another small step towards a combat system

The attack is lacking some VFX to feel better, but future-me will figure something out! 👀

#bevyengine #gamedev #indiegame #rustlang

video/mp4

kubikpixel, to rust German
@kubikpixel@chaos.social avatar

Nun ja, auch wenn Passkey was gutes ist und von grossen Firmen bereits angeboten im Einsatz ist, fast keine kleinere Firma investiert in die Tools daführ. Dies auch mMn weil sie es als "zu teuer & unnötig" ansehen.

»Chance verpasst – Webauthn-rs-Entwickler hält Passkeys für geplatzten Traum:
's sollen Anmeldevorgänge sicherer und benutzerfreundlicher machen. Der Entwickler einer -Bibliothek für sieht das Vorhaben inzwischen als gescheitert an.«

🔑 https://www.golem.de/news/chance-verpasst-webauthn-rs-entwickler-haelt-passkeys-fuer-geplatzten-traum-2404-184648.html

kubikpixel,
@kubikpixel@chaos.social avatar

🧵 …wie im obigen verlinkten Artikel schon erwähnt, kann ich durchaus @bitwarden oder deren in Rust entwickelten Klon @vaultwarden_releases empfehlen, obwohl ich persönlich @keepassxc bevorzuge und über eine @nextcloud Instanz die Daten zwischen den Geräten synchronisiere 🔑


#itsicherheit #passwort #pwmanager #keepassxc #keepass #bitwarden #it #websec #rust #rustlang #sicherheit

kubikpixel, to rust German
@kubikpixel@chaos.social avatar

»Transforming website images into WebP with Rust for faster loading times«

Wait what? Cool image solution for a web app or site.

⚙️ https://tduyng.dev/blog/rust-webp-transform/


nrc, to rust
@nrc@hachyderm.io avatar

More content is now online on my website: information about #RustLang consulting (https://ncameron.org/consulting/) and coaching/mentoring/online support (https://ncameron.org/mentoring.html). Let me know if you have feedback, and of course if your're interested in the services!

orhun, to rust
@orhun@fosstodon.org avatar

Today I found a tool for presenting on the terminal! 🔥

🌊 presenterm: A markdown terminal slideshow tool.

🚀 Supports images, GIFs, code highlighting and more!

🦀 Written in Rust!

⭐ GitHub: https://github.com/mfontanini/presenterm

video/mp4

dekirisu, to gamedev
@dekirisu@mastodon.social avatar

🦀 added target locking
🐪 ..to a nearby enemy on key press
🐧 most attacks will be directed towards it

#bevyengine #gamedev #indiegame #rustlang

video/mp4

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

I'm a and try learning / , what is the "best" stable distro about? I don't like @manjarolinux any more.

@rockylinux vs. @opensuse

:BoostOK:

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

I wonder how to best describe how #RustLang influences design, for better or worse. Here is some rambling...

It makes you avoid cyclical data structures, and you are far more aware of ownership. This makes surprising action at a distance harder. It also makes it more difficult to misuse globals or struct fields as globals just to pass data along to where it is needed no matter how.

Enums turn out to replace dynamic dispatch very often. Inheritance is just gone.

1/n

janriemer,

@ekuber @faassen

For me, #Rust programs feel very often like a state machine:

Data gets transformed (by taking ownership) from one data structure to the next data structure.

This is why I think Ownership/Borrowing is useful for much more than "just" memory safety - it actually ensures correctness (of data flow).

#RustLang's focus on separating data and behaviour and defining both easily makes all the difference (I've written about it in some forum post: https://users.rust-lang.org/t/im-still-thinking-oop-in-rust-please-help-me-for-escape/93737/36?u=janriemer)!

❤️

heaths, to rust
@heaths@fosstodon.org avatar

“Dev by a thousand cuts”

That’s often what #rustlang feels like. I started learning C in the late 80s and BASIC before that. Since then I’ve become an expert in several languages and proficient in several others. I’m an experienced #polyglot and though the rust compiler is by far the most helpful - and pushing other compilers to improve - there’s a lot of sharp edges in the grammar itself. Some other polyglots I’m getting into the language agree.

heaths,
@heaths@fosstodon.org avatar

Sure, #rustlang gets easier over time as you become more familiar with nuances but it’s not beginner-friendly, which makes it hard to teach - especially with most modern languages people are learning being GC’d.

Personally, I have no problems with the memory model coming from a C and C++ background, but the various issues with traits such as blanket impls preventing me from specializing (being worked on). Also hard to know when I’ll be allocating or not, even within std.

heaths,
@heaths@fosstodon.org avatar

@ekuber one thing that would help both newer and more experienced alike is a sort of “best practices” guide. There’s so many helpful macros - derive macros especially, which make other #rustlang features work - that are hard to discover. Iterators unlock a lot of cool functionality that also isn’t always discoverable.

Idiomatic patterns could really help people not only learn the language but better participate in the community without feeling foolish.

soller, to random
@soller@fosstodon.org avatar

I wrote a PDF reader with libcosmic yesterday. While it is very basic and not likely to be ready for the first COSMIC release, it is pure rust, lightweight, GPU accelerated, and highly portable.

lw64,

@soller Saying an application is "pure Rust" feels to me like saying " I am pure [nationality]"

I don't get how every dependency needs to be 100% written in Rust, otherwise it's not "safe" or something. Different programming languages have different strengths, and Rust isn't the only language you can write "safe" code with.

Just my opinion, and I guess you didn't mean it, but just saying...

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