seanmonstar, to rust
@seanmonstar@masto.ai avatar

There's now a hyper guide using the new graceful shutdown utility: https://hyper.rs/guides/1/server/graceful-shutdown/

Elendol, to rust
@Elendol@hachyderm.io avatar

Trying to resist the urge to reimplement a badly implemented python library using and a simple python wrapper…

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

Ja und Nein, denn Rust ist im grunde sicherer aber auch das kommt darauf an wie mensch es umsetzt. Ich vertraue Rust mehr als anderes Coding, ich schau mir die Libs-Daten an.

»Speichersicherheit – Fast 20 Prozent aller Rust-Pakete sind potenziell unsicher:
Nach Angaben der Rust Foundation verwendet etwa jedes fünfte Rust-Paket das Unsafe-Keyword. Meistens werden dadurch Code oder Bibliotheken von Drittanbietern aufgerufen.«

🦀 https://www.golem.de/news/speichersicherheit-fast-20-prozent-aller-rust-pakete-sind-potenziell-unsicher-2405-185452.html


chrisbiscardi, to rust
@chrisbiscardi@hachyderm.io avatar

controller support plus 32-angles of sprite rendered out for each animation. Makes it feel much more "3d"-y even though its all 2d sprites.

isometric projection is now also being applied to the directional input and the raycasts, etc.

video/mp4

dpom, to rust
@dpom@fosstodon.org avatar

Expand glob imports is an underrated feature of Rust Analyzer. It’s amazing how the black box melts away when you understand what your framework is bringing into scope.

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

🎆 Bevy Hanabi v0.11.0 is out!

Plenty of changes for that new version. Most notably, 🎆Hanabi now supports (a bit experimentally) trails and ribbons!

Another exciting change is that alpha-masked particles now use the depth buffer, fixing any flickering due to indeterminate Z order.

Migration guide: https://github.com/djeedai/bevy_hanabi/blob/v0.11.0/docs/migration-v0.10-to-v0.11.md, and
CHANGELOG for a full list of changes: https://github.com/djeedai/bevy_hanabi/blob/v0.11.0/CHANGELOG.md

📦https://crates.io/crates/bevy_hanabi/0.11.0
🦀https://github.com/djeedai/bevy_hanabi

#bevyengine #rustlang

Firework particle effect showing sparks fading from white and yellow to red before disappearing. The particles appear bent, thanks to the use of small trails giving some curvature to them, very much like a real world spark trail of a real firework.

mo8it, to rust
@mo8it@fosstodon.org avatar

We made a cute Ferris ('s mascot) at :ferris:

thisweekinrust, to rust
@thisweekinrust@mastodon.social avatar
GameFromScratch, to opensource
@GameFromScratch@mastodon.gamedev.place avatar

Today we check out Helix Editor

It's a very NeoVim like #opensource terminal based code editor written entirely in #rustlang. It comes out of the box configured for coding with syntax and language server support.
https://gamefromscratch.com/helix-code-editor/

#gamedev #indiedev

happyborg, to android
@happyborg@fosstodon.org avatar

Having beaten Windows .BAT files and FTP into submission on one laptop (thanks #WinSCP) while getting my #TauriV2 app to build for #Android on another, today I will be figuring out how to debug it with #AndroidStudio.

It almost works. I can call #RustLang from the #Svelte GUI, but my custom protocol handlers aren't being called. 🤔
#Tauri

jarkko, to rust
@jarkko@social.kernel.org avatar

I think there would be still space for systems programming language with a constraint from day zero that it would 1:1 compatible with plain C”s binary layout and memory model:

  1. Roughly just .text, .bss, .rodata and ,data.
  2. No symbol mangling at all.

All the memory safety etc. fancy features would be then designed within exactly those constraints.

is essentially a derivative of C++ when compiled to binary, which does not really make it a strong competitor for plain #C. It can substitute C in many cases for sure, just like C++ did, but there’s always need for minimal systems programming language, which also looks elegant in binary, not just in source code.

A compiled C program can be quite easily understood with a binary with no debug symbols at all if you understand the CPU architecture well enough. That is, and will be a strong asset for C.

underlap, to rust
@underlap@fosstodon.org avatar

Started another little Rust project with rustup update and cargo new .... I just love Rust's tooling.

#RustLang

underlap,
@underlap@fosstodon.org avatar

So my project needs a fairly simple HTTP server. So much choice:

  • std::net::TcpListener
  • hyper
  • warp
  • Rocket
  • tide

I'm tempted to start with warp as I like the functional approach and I want to write decent tests.

jgayfer, to gamedev
@jgayfer@fosstodon.org avatar

I published my first plugin for Bevy! 🎉

🕯️bevy_light_2d is a general purpose 2d lighting crate for Bevy.

It’s designed to be simple to use, yet expressive enough to fit a variety of use cases.

⭐️ GitHub https://github.com/jgayfer/bevy_light_2d

#gamedev #bevy #rustlang #rust

triskelion, to rust
@triskelion@floss.social avatar

Hey RIIR enthusiasts, sorry to disappoint you, but LLVM and glibc are not written in . Feel free to express your frustrations xD

vinc, to rust
@vinc@mastodon.social avatar

Today, I'm improving the network logs in my hobby operating system

chrisbiscardi, to rust
@chrisbiscardi@hachyderm.io avatar

I'm doing a lot of Blender -> Bevy work at the moment, and I needed a way to visually check the resulting texture atlases. Hence this sprite viewer that pulls in the metadata I'm generating via python scripts and Blender.

bevy_inspector_egui on a Resource + the generated information and I can check the animation for any directionality and any animation.

video/mp4

nrc, to rust
@nrc@hachyderm.io avatar

I wrote an overview and sales pitch for for my new website: https://www.ncameron.org/rust/ What do you reckon? Does it tell you what you'd need to know if you're curious about Rust, but don't know much about it?

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

During our work towards openpgp-card v0.5 (https://fosstodon.org/@hko/112520486266094575), we wondered how to deal with secrets in log files.

It's often good if secrets are redacted in logs: This avoids accidental publication of a user PIN (or decrypted payload) in bug reports.
On the other hand, it can be useful for a developer to have full and verbatim logs (including secrets) for debugging.

We started work on this, but would like to hear from you. What should we do?

hko, to rust
@hko@fosstodon.org avatar

I just released openpgp-card v0.5.0: https://crates.io/crates/openpgp-card/0.5.0

openpgp-card is a Rust client library for using card hardware security devices.

This version comes with a significantly adjusted API:
The low-level API has been moved to the "ocard" module. At the top level of the crate, more convenient abstractions are now directly available (including PIN handling for cards in KDF mode).

tymwol, to rust
@tymwol@hachyderm.io avatar
  • What is the religion of developers?
  • It's not a religion, it's a cargo cult.
epage, to rust
@epage@hachyderm.io avatar

If Cargo gained a [diagnostics] table to mirror the recent #[diagnostic] attribute, what use cases would you have for improving Cargo errors related to your packages?

See https://github.com/rust-lang/rfcs/pull/3383#issuecomment-2135594569 for more context

seanmonstar, to rust
@seanmonstar@masto.ai avatar

Here's hyper-util v0.1.5 :rust:

  • Graceful shutdown helper for coordinating many connections
  • Enable service with less features.

https://github.com/hyperium/hyper-util/releases/tag/v0.1.5

dekirisu, to gamedev
@dekirisu@mastodon.social avatar

🦛 added ground type 'base'
🐔 ground tiles can be gathered
🐊 ..and placed if the tile is 'base'

video/mp4

nrc, to rust
@nrc@hachyderm.io avatar

nother page up on the website, and perhaps the most interesting one: training courses! https://www.ncameron.org/training/ There's a bit of detail about the courses I'm planning to offer and I'm really interested to hear what you all think about them (and of course any thoughts on the website design - this is the busiest page yet).

nrc,
@nrc@hachyderm.io avatar

I'm very excited about these courses. I love writing high-performance code and this is really what we all use for, right? But coming from managed, high-level languages to Rust means learning a lot about systems and performance engineering. I reckon the performance course will help a lot of folk in that position. https://www.ncameron.org/training/#performance

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