rsk, to gamedev
@rsk@mas.to avatar

Hey! my little rocket game "Scriptgrip" is now available online 🚀

video/mp4

kubikpixel, to rust
@kubikpixel@chaos.social avatar

»Prusti is an automated program verifier for Rust, based on the Viper infrastructure. It leverages Rust's strong type guarantees to simplify the specification and verification of Rust programs.«

Do any of you know this and use it or are there "better" or even integrated tools for this, if such a thing is needed at all?

🦀 https://www.pm.inf.ethz.ch/research/prusti.html


niklaskorz,
@niklaskorz@rheinneckar.social avatar

@kubikpixel I didn't use it myself yet but one of the creators of Prusti is giving a talk about it at RustFest Zürich next month: https://rustfest.ch/talks/beyond-memory-safety/

kubikpixel,
@kubikpixel@chaos.social avatar

@niklaskorz will videos of the conference presentations be available on the Internet?

(Unfortunately I can't be there for reasons)

rusticorn, to rust
@rusticorn@fosstodon.org avatar

Last Friday we had our 4th virtual @bevy meetup, let's say thank you to the amazing speakers: François, Lorenz and Jos - in case you want to (re)watch it here is the recording: https://youtube.com/live/rnE_nINEs2M - 🦀🎮

ponda, to rust
@ponda@mastodon.online avatar

#C compiler on error: Line 45: segfault 0x00000634634
compiler on error: There is an issue with your code in the line 45, see here: [you code]. To fix it you simply have to do this and this, like that [fixed code]. Please have a nice day!

0xDEADBEEF,
@0xDEADBEEF@fosstodon.org avatar

@ponda
Yeah, C compilers seem to assume the programmer knows what they're doing. Rather pedantic.

ekuber,
@ekuber@hachyderm.io avatar

@0xDEADBEEF @ponda understanding arcane errors are a sign of experience, but idealizing arcane errors is falling with Stockholm Syndrome.

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.
fil,
@fil@hachyderm.io avatar

@tymwol
4. Find the clone invocations in the profile flamegraph, try to switch some of them to use references instead, goto 2.

tymwol,
@tymwol@hachyderm.io avatar

@fil (opt 5) After several unsuccessful iterations, give up and rollback the clones.

dekirisu, to gamedev
@dekirisu@mastodon.social avatar

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

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?

onelson,
@onelson@mastodon.social avatar

@jgayfer I wonder if this is possible in nightly, but yeah. I sympathize. I have regularly copied and pasted backtick fenced code blocks out of my docstring just to get the formatting applied, then copy it back.

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/

#rust #rustlang #rustlang_gamedev #bevy #bevy_engine

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 clone in Bevy: https://www.youtube.com/watch?v=rnE_nINEs2M

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/

seanmonstar, to rust
@seanmonstar@masto.ai avatar

Some may wonder why people would block CI on 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.

predrag,
@predrag@hachyderm.io avatar

@seanmonstar this is valid and completely reasonable.

Personally, I choose a slightly different approach for cargo-semver-checks: I run nightly in CI but don't block it. This is because new rustdoc JSON versions come out often, and explaining to contributors that their PR failed CI due to reasons that are not their fault proved to be a harder support burden for me.

Also, the new rustdoc JSON version doesn't immediately come with a rustdoc-types release, so I might not be able to fix it yet.

seanmonstar,
@seanmonstar@masto.ai avatar

@predrag yea, that part is unfortunate, 100%.

Maybe some sort of weekly job that would open an issue could be good. But I will never open a CI job that doesn't alarm.

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.

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