techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users

#rustlang

110 posts88 participants12 posts today
Jan :rust: :ferris:<p><span class="h-card" translate="no"><a href="https://genomic.social/@kloetzl" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>kloetzl</span></a></span> You can use a concept called "Borrow Splitting" in combination with scoped threads.</p><p>This way, your slices that your threads operate on, can have a lifetime shorter than 'static and you don't need to use <a href="https://floss.social/tags/unsafe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>unsafe</span></a> shenanigans. :ferris: </p><p>Please see this playground with comments on how to do this:<br><a href="https://play.rust-lang.org/?version=stable&amp;mode=debug&amp;edition=2024&amp;gist=6b028d5bab84d739d34d76d66a750578" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">play.rust-lang.org/?version=st</span><span class="invisible">able&amp;mode=debug&amp;edition=2024&amp;gist=6b028d5bab84d739d34d76d66a750578</span></a></p><p>On Borrrow Splitting:<br><a href="https://doc.rust-lang.org/nomicon/borrow-splitting.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">doc.rust-lang.org/nomicon/borr</span><span class="invisible">ow-splitting.html</span></a></p><p>On scoped threads API:<br><a href="https://doc.rust-lang.org/std/thread/fn.scope.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">doc.rust-lang.org/std/thread/f</span><span class="invisible">n.scope.html</span></a></p><p><a href="https://floss.social/tags/Rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rust</span></a> <a href="https://floss.social/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a> <a href="https://floss.social/tags/BorrowChk" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BorrowChk</span></a> <a href="https://floss.social/tags/Concurrency" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Concurrency</span></a> <a href="https://floss.social/tags/Threads" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Threads</span></a></p>
Orhun Parmaksız 👾<p>Another Sunday, another release day.<br>New version of **git-cliff** is out! 🥳💯</p><p>🦀 A customizable Changelog Generator written in Rust!<br>⛰️ Now supports adding release statistics to the changelog!<br>✨ Other highlights: <a href="https://git-cliff.org/blog/2.10.0/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">git-cliff.org/blog/2.10.0/</span><span class="invisible"></span></a></p><p>⭐ GitHub: <a href="https://github.com/orhun/git-cliff" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/orhun/git-cliff</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> <a href="https://fosstodon.org/tags/commandline" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commandline</span></a> <a href="https://fosstodon.org/tags/changelog" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>changelog</span></a> <a href="https://fosstodon.org/tags/generation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>generation</span></a> <a href="https://fosstodon.org/tags/automation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>automation</span></a> <a href="https://fosstodon.org/tags/cli" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cli</span></a> <a href="https://fosstodon.org/tags/git" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>git</span></a></p>
Eduardo Pinho<p>Just released DICOM-rs 0.8.2! DICOM-rs is an ecosystem of DICOM libraries and tools for the next generation of medical imaging systems.</p><p>This new revision brings a wide array of backward-compatible contributions. A major release is already in the works as we pave the way for v0.9.0, but until then, version 0.8.2 already offers some interesting features, including a new API to read DICOM data in small parts, and several improvements to pixel data decoding.</p><p><a href="https://github.com/Enet4/dicom-rs/releases/tag/v0.8.2" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Enet4/dicom-rs/rele</span><span class="invisible">ases/tag/v0.8.2</span></a></p><p><a href="https://hachyderm.io/tags/opensource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opensource</span></a> <a href="https://hachyderm.io/tags/dicom" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dicom</span></a> <a href="https://hachyderm.io/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a></p>
Guillaume Gomez<p>In rust, if the macro expansion failed, you get a lot of errors related to the missing macro expansion, which is just noise basically.</p><p>I implemented in <a href="https://github.com/rust-lang/rust/pull/144409" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/rust-lang/rust/pull</span><span class="invisible">/144409</span></a> a check to stop compilation if a macro expansion failed, greatly reducing the number of noisy errors.</p><p>Enjoy!</p><p><a href="https://toot.cat/tags/rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rust</span></a> <a href="https://toot.cat/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a></p>
AerynOS.com<p>The latest issue of <span class="h-card" translate="no"><a href="https://mastodon.social/@thisweekinrust" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>thisweekinrust</span></a></span> is out. We have included 3 issues in the “Call for Participation” section. If you are a Rust developer and want to help fix some issues in our project then please check them out. </p><p>These blog posts is a great way to learn about what is going on in the Rust world so definitely worth a read in general.</p><p><a href="https://this-week-in-rust.org/blog/2025/07/23/this-week-in-rust-609/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">this-week-in-rust.org/blog/202</span><span class="invisible">5/07/23/this-week-in-rust-609/</span></a></p><p><a href="https://hachyderm.io/tags/rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rust</span></a> <a href="https://hachyderm.io/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> <a href="https://hachyderm.io/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://hachyderm.io/tags/AerynOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AerynOS</span></a></p>
Pablo Fernandez 🧉<p>I'm not sure I understand this JavaScript to Rust migration that I've heard some people talk about. Is it even happening? <a href="https://mastodon.social/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> <a href="https://mastodon.social/tags/rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rust</span></a> <a href="https://mastodon.social/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> <a href="https://mastodon.social/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a></p>
Kushal Das :python: :tor:<p>In <a href="https://toots.dgplug.org/tags/rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rust</span></a> / <a href="https://toots.dgplug.org/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> I have a <a href="https://toots.dgplug.org/tags/HTTP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTTP</span></a> endpoint (<a href="https://toots.dgplug.org/tags/actix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>actix</span></a>) , where for a given query, it fetches <a href="https://toots.dgplug.org/tags/JWT" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JWT</span></a> from the given parameter (URLS) and validates, puts some logic and returns the result. How to write unittest for this care in rust?</p>
Ainiriand<p>Just launched a new project where I’m learning (and building!) high-frequency trading systems using Rust - from scratch.</p><p>I'm documenting everything in a series of hands-on articles: system design, performance tricks, real trading concepts, and clean, idiomatic Rust.</p><p>If you're into trading, low latency systems, or just love Rust, follow the journey here: <a href="https://rustquant.dev" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">rustquant.dev</span><span class="invisible"></span></a></p><p>No fluff, just serious tech and a bit of fun.</p><p><a href="https://mastodon.social/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> <a href="https://mastodon.social/tags/trading" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>trading</span></a> <a href="https://mastodon.social/tags/hft" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hft</span></a> <a href="https://mastodon.social/tags/lowlatency" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lowlatency</span></a> <a href="https://mastodon.social/tags/opensource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opensource</span></a> <a href="https://mastodon.social/tags/rustacean" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustacean</span></a></p>
Roger BW 😷<p>The Weekly Challenge 331: Stringing Up Your Last Buddy <a href="https://discordian.social/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> <a href="https://discordian.social/tags/RakuLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RakuLang</span></a> <a href="https://discordian.social/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a> <a href="https://discordian.social/tags/Postscript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Postscript</span></a> <a href="https://discordian.social/tags/CrystalLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CrystalLang</span></a> <a href="https://discordian.social/tags/Typst" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Typst</span></a> <a href="https://discordian.social/tags/PerlWeeklyChallenge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PerlWeeklyChallenge</span></a> <a href="https://discordian.social/tags/BlogFiredrakeOrg" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BlogFiredrakeOrg</span></a> <a href="https://blog.firedrake.org/archive/2025/07/The_Weekly_Challenge_331__Stringing_Up_Your_Last_Buddy.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.firedrake.org/archive/202</span><span class="invisible">5/07/The_Weekly_Challenge_331__Stringing_Up_Your_Last_Buddy.html</span></a></p>
Rust Bytes<p>"Hiiii Rust haters!! Everyone else... hi I guess..."</p><p>credit: <a href="https://www.reddit.com/r/rustjerk/comments/1m6px3p/hiiii_rust_haters_everyone_else_hi_i_guess/?utm_source=share&amp;utm_medium=web3x&amp;utm_name=web3xcss&amp;utm_term=1&amp;utm_content=share_button" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">reddit.com/r/rustjerk/comments</span><span class="invisible">/1m6px3p/hiiii_rust_haters_everyone_else_hi_i_guess/?utm_source=share&amp;utm_medium=web3x&amp;utm_name=web3xcss&amp;utm_term=1&amp;utm_content=share_button</span></a><br><a href="https://mastodon.social/tags/rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rust</span></a> <a href="https://mastodon.social/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a></p>
This Week in Rust<p>This Week in Rust #609 <a href="https://this-week-in-rust.org/blog/2025/07/23/this-week-in-rust-609/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">this-week-in-rust.org/blog/202</span><span class="invisible">5/07/23/this-week-in-rust-609/</span></a> <a href="https://mastodon.social/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a></p>
Francis Beaudet<p>Finished setting-up github access on my little Tauri app. <br>- oAuth login<br>- Use API to get repo info<br>- Clone repo<br>- Store the auth tokens in the OS credential manager so I don't have to login each time I start he app.</p><p>I'm pretty happy about the progress.</p><p><a href="https://cosocial.ca/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> <a href="https://cosocial.ca/tags/tauri" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tauri</span></a></p>
musicmatze :rust: :nixos:<p>My hobby project - a notmuch-backened TUI/GUI mailreader (which can only do TUI for now) - can now show mails. Next step is to hide headers by default and then show the individual parts of a multipart message individually ... <a href="https://social.linux.pizza/tags/rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rust</span></a> <a href="https://social.linux.pizza/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a></p>
phosh<p>Thanks to <span class="h-card"><a href="https://mastodon.social/@arunmani" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>arunmani</span></a></span> the app chooser <a href="https://social.phosh.mobi/tags/portal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>portal</span></a> is now adaptive too (and in <a href="https://social.phosh.mobi/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a>):</p><p><a href="https://social.phosh.mobi/tags/phosh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>phosh</span></a> <a href="https://social.phosh.mobi/tags/linuxmobile" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LinuxMobile</span></a></p>
glyn<p>Rust is one of the few programming languages for which I don't feel the need to discover a safe/correct/comprehensible subset in which to write my code (except, of course, for "unsafe" which is declared as such, rather than needing to be discovered). This is part of the suitability of Rust for use in teams: there's no need to agree on, and police the use of, such a subset.</p><p><a href="https://fosstodon.org/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a></p>
Shane Celis<p>YOU, a normal person: Rust is great but it compiles so slowly.</p><p>ME, an idiot: Really? It's a little slow, I guess, but it's the noise of the fans that gets me.</p><p>FANS: Fuck yeah! Woooooooooooooosh!</p><p><a href="https://mastodon.gamedev.place/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a></p>
Ainiriand<p>He subido mis artículos sobre Rust a <a href="https://rustaceo.es" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">rustaceo.es</span><span class="invisible"></span></a>, no son más que las notas que fui tomando a medida que aprendía con el Libro de Rust, pero son una base sólida para aprender Rust en Español</p><p><a href="https://mastodon.social/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> <a href="https://mastodon.social/tags/spanish" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>spanish</span></a> <a href="https://mastodon.social/tags/rusthispano" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rusthispano</span></a></p>
Orhun Parmaksız 👾<p>Tachyonfx brings web-level animations to the command line..<br>Then Ratzilla puts it back in browsers where it belongs 🤷‍♂️</p><p>Witness this beautiful chaos: <a href="https://junkdog.github.io/exabind" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">junkdog.github.io/exabind</span><span class="invisible"></span></a> 🌀</p><p>🦀 Powered by Rust &amp; <span class="h-card" translate="no"><a href="https://fosstodon.org/@ratatui_rs" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ratatui_rs</span></a></span> ecosystem<br>⭐ GitHub: <a href="https://github.com/junkdog/exabind" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/junkdog/exabind</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> <a href="https://fosstodon.org/tags/ratatui" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ratatui</span></a> <a href="https://fosstodon.org/tags/tui" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tui</span></a> <a href="https://fosstodon.org/tags/animations" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>animations</span></a> <a href="https://fosstodon.org/tags/commandline" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commandline</span></a> <a href="https://fosstodon.org/tags/webgl2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webgl2</span></a> <a href="https://fosstodon.org/tags/terminal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>terminal</span></a></p>
Rust Bytes<p>Vivo open-sourced their BlueOS kernel which is written in Rust, featuring security, lightweight, and generality. </p><p>It is compatible with POSIX interfaces and supports Rust's standard library.</p><p><a href="https://mastodon.social/tags/rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rust</span></a> <a href="https://mastodon.social/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> </p><p><a href="https://github.com/vivoblueos/kernel" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/vivoblueos/kernel</span><span class="invisible"></span></a></p>
Francis Beaudet<p>Trying to make a Tauri app that can clone a github repo.</p><p>My app is not about development, it just uses git as a database. I want it to be standalone. It can't require git itself to be installed on the machine.</p><p>It is quite an involved sequence of steps to get there (involving oauth and the git2 crate)</p><p>I think that I was just successful. </p><p>Can't wait for my GF to come back from work so I can test it on her laptop.</p><p><a href="https://cosocial.ca/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> <a href="https://cosocial.ca/tags/tauri" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tauri</span></a></p>