seanmonstar, to rust
@seanmonstar@masto.ai avatar

I spent a few hours on a toy project: a gateway app (reverse proxy) like nginx.

Written using hyper and tower, it was pretty easy to get something powerful already...

magnusmanske, to rust
@magnusmanske@wikis.world avatar

I just updated my crate "tool_interface"
https://crates.io/crates/tools_interface/

Besides new supported tools, it also includes a command-line binary for running tools, such as PetScan, PagePile, and Missing Topics from the shell. Examples:
https://github.com/magnusmanske/tools_interface/blob/main/src/bin/ti.rs

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


kubikpixel,
@kubikpixel@chaos.social avatar

@Denian ja auch meine Meinung und auch deswegen gepostet – Technik innerhalb von "Sekunden" neu zu erfinden ist einfach eine falsche Illusion 🤷‍♂️

Denian,
@Denian@chaos.social avatar

@kubikpixel Sehr schade finde ich, dass der Artikel nicht darauf eingeht, dass viele der "unsicheren" Pakete tatsächlich nur Wrapper sind, die explizit diese eine Fremdbibliothek einbinden und evtl. abstrahieren - also tatsächlich eine zusätzliche Sicherheitsschicht, um diese Bibliotheken möglichst einfach aktualisieren oder auswechseln zu können.

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

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 terminal based code editor written entirely in . It comes out of the box configured for coding with syntax and language server support.
https://gamefromscratch.com/helix-code-editor/

bram,
@bram@gamedev.lgbt avatar

@GameFromScratch love this editor! definitely recommend it to people that love modal editors ✨

kubikpixel,
@kubikpixel@chaos.social avatar

@bram @GameFromScratch i to and i use it (and i learn it) 😀

happyborg, to android
@happyborg@fosstodon.org avatar

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

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

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.

kornel,
@kornel@mastodon.social avatar

@jarkko Safety is like a thread you start to pull, and pulls more and more stuff. You need collections for bound checks and robust realloc, but void* casts complicate verification, so you need generics for collections. To reduce bounds checks, you need iterators. Safe unions require sum types. Unsafe free() can be replaced with destructors, which need owned+borrowed pointers. You need thread safety too, etc.
There isn't much that can be removed from Rust without creating holes in the safety.

underlap, to rust
@underlap@fosstodon.org avatar

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

mo8it,
@mo8it@fosstodon.org avatar

@underlap +1 for Axum. I have a blog post about getting started with it:
https://mo8it.com/blog/getting-started-with-rust-backends/

underlap,
@underlap@fosstodon.org avatar

Started looking at hyper, warp, and axum, but loading a file at server startup and sharing that across handlers is a common source of friction. I may have to resort to lazy static, but https://docs.rs/axum/latest/axum/#sharing-state-with-handlers might be a cleaner solution.

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

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