home.social

#rustlang — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #rustlang, aggregated by home.social.

fetched live
  1. A first-person ASCII RPG in the terminal coming soon!

    ⚔️ **swaggerfall** — A fantasy RPG with procedural worlds, real 3D models & ASCII-purist mode

    🎥 Watch the demo: youtube.com/watch?v=E-KhW3qnucQ

    🦀 Written in Rust & cooked with @ratatui_rs

  2. Did a performance pass on my Rust RCS library.

    1. Add checkout caching so we don't recalculate every n-1th revision for a diff of every nth revision.
    2. Use a `BufWriter` for printing, because direct Rust stdout is *slow*. By, like, a couple of orders of magnitude slow. I was scratching my head over why I was getting 30-60MB/s.

    With these, generating a unified diff for every revision of every OpenBSD and NetBSD file, 8 processes:

    rcshist: 71.9GiB 0:00:54 [1.32GiB/s]
    rcsfile: 74.4GiB 0:00:31 [2.37GiB/s]

    Guess I should be releasing this at some point...

    #FreshBSD #NetBSD #OpenBSD #rustlang #RCS #CVS

  3. I also updated the untextured version with a purple floor and a sky that’s moving when turning. It doesn’t affect wasm fuel consumption too much. It should hopefully still be possible to run on the real hardware.

    #RayCaster #RustLang #GameDev #FireflyZero

  4. I tried to do some optimization, but it didn’t seem to make much of a difference. So I changed all the textures instead.

    #RayCaster #GameDev #RustLang

  5. A Small language model by a friend of mine and old style hacker:
    'Yachay #SLM"
    github.com/unimauro/yachay-slm

    Documentation in Spanish but code is in python and rust :-)

    Created to work in regular hardware

    #AI #Opensource #Python #rustlang

  6. No AI, this one will keep reading and learning 💪

    #rustlang

  7. If I don't need any fancy linear algebra (say I just need basic operations on 1d-vectors like adding them together, things like that), are there any benefits of using ndarray/nalgebra over simple Vecs in Rust?

    #ScientificComputing #Rust #RustLang

  8. @rustaceans actually i just opened my mastodon account to start blogging about my journey of developing an e2ee messaging app called #parley in #rustlang and i've just started working on it :3

  9. Spent some time figuring out the right way to reuse #rustlang macro_rules in a crate.

    > For historical reasons, the scoping of macros by example does not work entirely like items.

    Indeed they are. Anyway, documentation is here.

    doc.rust-lang.org/reference/ma

  10. Is your company currently hiring for a role that includes using Rust?

    Reply with a link to the opening and any relevant context.

    If you're not, we'd appreciate a repost for visibility

    #rust #rustlang #programming

  11. Suddenly you got that crazy idea for a future #FOSS project. This time it won't be enough to use just shell script. So most likely it will be #rustlang for this one.

    Normally I start with the code. As I need to learn Rust first, the code has to wait anyways.

    1. Work out what components there are
    2. Think of a name
    3. Create a website and documentation
    4. Build some code

    BTW, there is a bundle now with O'Reilly books: humblebundle.com/books/python-

    #humbleBundle

  12. «rustkvd — Production-grade Distributed Key-Value Store in Rust:
    A battle-hardened distributed KV store built from scratch in Rust - Raft consensus, custom LSM tree, consistent hashing, MVCC, and gRPC API. Six crates. Zero compromises.»

    Know this which of you and do you use it productively, what is your impression and experience with it?

    🦀 vignesh2027.github.io/rustkvd/

    #rustlang #database #keyvaluestore #api #rust #coding #kvdb #lsmtree #mvcc #db #grpc #question #askfedi

  13. Playlists in #Chilen now have covers, too!

    This was a bit of a hassle to implement, mainly because of the tiling cover thingy. I didn't want to arrange four images in a grid and be fine with it, as I want to implement setting custom covers sometime in the future.

    Also I was feeling kinda down past those three days, I had a hard time trying to focus and couldn't really bring myself to do much... (and I have no idea why >_<)

    #rust #rustlang #music #devlog #programming

  14. The raycaster now has support for stationary sprites. Next up is probably adding support for sprite scaling and changing height position.

    #RustLang #RayCaster #FireflyZero

  15. Started indexing the Rust standard library docs so I can search for function signatures!

    Example: search.corrode.dev/search?q=ma

    #rustlang #rust

  16. Finally, I can understand what the coding agents are doing 👀

    🎞️ **zoetrope** — Watch a Claude Code session as a live flow graph

    💯 See the tool calls, workflows token usage & more in the terminal

    ⏳ Supports replaying an entire session with time travel

    🦀 Written in Rust & built with @ratatui_rs

    ⭐ GitHub: github.com/furkankly/zoetrope

  17. 🦀 Atac de tip Supply Chain în ecosistemul Rust: Pachetul extrem de popular arrayref (245M+ descărcări) a fost compromis!Pe 20 august 2026, comunitatea de securitate și echipa Rust Security Response Team au intervenit de urgență pentru a elimina versiuni contaminate ale câtorva crate-uri extrem de populare. Contul de menținător al dezvoltarorului David Roundy a fost compromis, permițând atacatorilor să lanseze versiuni otrăvite de pachete în doar câteva zeci de minute. ✨ Detaliile atacului și modul de funcționare:📦 Pachetele afectate și modul de infectare:• Versiunile otrăvite publicate au fost arrayref 0.3.10, internment 0.8.7 și append-only-vec 0.1.9.• Atacatorii au injectat o dependență nouă numită proc-macro1, un pachet typosquat ce imita cunoscutul proc-macro2. ⚡ Execuție la nivel de compilare (Build-Time RCE):• Codul malițios era ascuns în fișierul build.rs al dependenței proc-macro1.
    • Deoarece Cargo rulează fișierele build.rs automat în momentul compilării, simpla compilare a unui proiect care aducea indirect pachetele afectate executa malware-ul pe calculatorul dezvoltatorului, fără ca pachetul să fie apelat efectiv în cod. 🕵️ Payload și exfiltrare de date:• Scriptul descarca un binary specific sistemului de operare (Linux, macOS sau Windows).• Pachetul software funcționa ca un Infostealer, extras de date de sistem și de date de autentificare stocate în browsere bazate pe Chromium (Google Chrome, Brave, Microsoft Edge).• Analizele oferite de cercetători de securitate (cum ar fi Wiz) leagă infrastructura atacului de gruparea de hackeri nord-coreeni Sapphire Sleet. 🚨 Răspunsul rapid al echipei Rust:• Versiunile compromise au fost șterse complet de pe crates.io într-o fereastră de doar 86–107 minute de la publicare.• Contul afectat a fost securizat, iar pachetele au fost restaurate la versiunile sigure. 🔍 Ce trebuie să faci dacă lucrezi cu Rust?Verifică memoria cache locală din folderul Cargo pentru a te asigura că nu ai descărcat una dintre versiunile problematice:Bashfind ~/.cargo/registry/cache -type f \( -name 'arrayref-0.3.10.crate' -o -name 'internment-0.8.7.crate' -o -name 'append-only-vec-0.1.9.crate' -o -name 'proc-macro1-*.crate' \)
    Un memento serios că atacurile de tip supply chain rămân o amenințare majoră, chiar și în ecosisteme cu accent pe siguranță precum Rust! 🚀#Rust #RustLang #SupplyChainAttack #CyberSecurity #InfoSec #Arrayref #Cargo #Linuxiac #TechNews #OpenSource

  18. I am *really* excited about the algebraic floating point operators in yesterday's Rust release: blog.rust-lang.org/2026/08/20/

    Think -ffast-math but at the expression level 🤯 So many optimization possibilities are opening!

    #RustLang #Rust #ScientificComputing

  19. Seems like there was a supply chain attack on a rust crate. Check your local cache or projects!

    blog.rust-lang.org/2026/08/20/

    #rust #rustlang

  20. Rust’s security team has disclosed a supply-chain attack involving a malicious arrayref 0.3.10 release and several related crates on crates.io.
    linuxiac.com/rust-supply-chain

    #rustlang #opensource

  21. Maybe having build scripts that can do whatever they want is not such a good idea? Maybe having a centralized package repository is not such a good idea? Or maybe the whole premise of pulling in hundreds of dependencies to build pretty much anything is not such a good idea?
    #rustlang #softwaredevelopment
    blog.rust-lang.org/2026/08/20/