home.social

#rustlang — Public Fediverse posts

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

fetched live
  1. No AI, this one will keep reading and learning 💪

    #rustlang

  2. 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

  3. @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

  4. 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

  5. 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

  6. 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

  7. «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

  8. 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

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

    #RustLang #RayCaster #FireflyZero

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

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

    #rustlang #rust

  11. 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

  12. 🦀 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

  13. 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

  14. 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

  15. 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

  16. 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/

  17. 🔒 snx-rs is an open-source client for Check Point VPN tunnels, with a settings UI.

    github.com/ancwrd1/snx-rs

  18. I should have called it "stamp" so that the fully-qualified path was `time::Stamp`.

    #Rust #RustLang

  19. 🦀 Rust 1.98 a fost lansat: Funcționalități noi pentru optimizarea numerelor în virgulă mobilă și unelte de compilare îmbunătățite!

    Limbajul de programare Rust ajunge la versiunea 1.98, aducând noi funcționalități în biblioteca standard, optimizări de nivel jos pentru calcule matematice și un control mai fin asupra procesului de compilare.

    ✨ Noutățile principale din Rust 1.98:

    ⚡ Optimizări avansate pentru virgulă mobilă (Floating-Point):
    • Introduce noi metode stabilizate în biblioteca standard pentru tipurile f32 și f64, permițând compilatorului să genereze instrucțiuni hardware mai rapide (cum ar fi operațiunile FMA — Fused Multiply-Add) pe procesoarele moderne x86_64 și ARM.

    🛠️ Stabilizarea de noi API-uri în std:
    • Un set suplimentar de funcții și trait-uri din biblioteca standard a primit statutul de stable, reducând nevoia de a folosi atribute de tip #![feature(...)] în codul de producție pentru gestionarea memoriei și manipularea pointerilor.

    📦 Cargo & Unelte de dezvoltare:
    • Managerul de pachete Cargo aduce îmbunătățiri la nivel de rezolvare a dependențelor (dependency resolution) și raportare mai clară a erorilor de compilare, alături de o integrare mai bună a analizorului static clippy.

    🚀 Performanță îmbunătățită a compilatorului (rustc):
    • Optimizările interne aduse etapelor de analiză de tipuri și generare de cod intermediar (LLVM) reduc timpii de compilare incrementală pentru proiectele mari.

    O actualizare solidă ce continuă tradiția Rust de a oferi performanță maximă fără a compromite siguranța memoriei! 🚀

    #Rust #RustLang #Programming #OpenSource #SoftwareEngineering #Linuxiac #TechNews #FOSS

  20. 🦀 Embedded Rust: How to utilise the P-State feature in Pico 2 to reduce power consumption

    - One of the complicated blinking LED Programs :P

    - POWMAN P-State and Low-Power Modes on Raspberry Pi Pico 2 (RP2350)

    blog.implrust.com/posts/2026/0...

    #rustlang #embedded #pico