Search
Items tagged with: Rust
i think .collect::<Vec<_>>() is the ugliest piece of #rust code i have to write on a regular basis
yes i know i can avoid it with let x: Vec<_> = ... or even (collect_vec from itertools)[docs.rs/itertools/latest/itert…]
no i don't have anything against the beloved turbofish in general
Itertools in itertools - Rust
An `Iterator` blanket implementation that provides extra adaptors and methods.docs.rs
Level up your terminal with Rust tools that outshine classic Linux commands. 🔥
itsfoss.com/rust-alternative-c…
Better Than Original? 14 Rust-based Alternative CLI Tools to Classic Linux Commands
Hyped on the Rust wagon? How about using these Rust-based, modern, easier to use, better-looking alternatives to the classic Linux commands.Neville Ondara (It's FOSS)
Ubuntu's Rustification has some hurdles to cross.
news.itsfoss.com/ubuntu-uutils…
Rust Coreutils Are Performing Worse Than GNU Coreutils in Ubuntu
Ubuntu’s Rust move shows promise, but questions remain on performance.Sourav Rudra (It's FOSS News)
Two open positions in my lab to develop scientific software with python and javascript.
Software: CATMAID
Documentation:
catmaid.readthedocs.io/en/stab…
Source code:
github.com/catmaid/CATMAID/
Example:
l1em.catmaid.virtualflybrain.o…
If you have experience with #SQL (#postgresql), #python and its many libraries (particularly #django), #rust, and #javascript, write to me and let's discuss.
Examples of open issues: github.com/catmaid/CATMAID/iss…
GitHub - catmaid/CATMAID: Collaborative Annotation Toolkit for Massive Amounts of Image Data
Collaborative Annotation Toolkit for Massive Amounts of Image Data - catmaid/CATMAIDGitHub
i submitted a pull request to #rust to add more detailed docs for async blocks. i added about 60 lines of comments describing control flow behaviour, most of which appears on the async keyword doc page.
submitting my changes to rust was really easy and there's lots of information about the procedures to follow. i'm a bit proud of my little docs contribution haha. hopefully this is just my first pull request of many! 
Clarify `async` block behaviour by Lynnesbian · Pull Request #139608 · rust-lang/rust
Adds some documentation for control flow behaviour pertaining to return and ? within async blocks. Fixes (or at least improves) #101444. r? rust-lang/docsGitHub
Hall effect joysticks, not bad.
Something equivalent to a Ryzen AI MAX would be nice. But I suspect it's too much power to handle in a portable format. And too much money for the average pocket.
The AI MAX do not have a bandwidth bottleneck and have fewer CPU cores, too.
The port of the #Zotac launcher is written in #Rust and they get rid of #Pacman to use only #Flatpak.
Well, it's not something I like. Robustness can be achieved with the "traditional" means. GNU Guix is an example. It doesn't require to bloat the system. Thankfully, changing to a system like that is as easy as what they've done.
FFmpeg didn't hold back. 😳
news.itsfoss.com/ffmpeg-swipe-…
#opensource #rust #c
"Rust is so good you can get paid $20k to make it as fast as C"
That's what FFmpged said while taking a jibe at the 'do everything in Rust' trend.Sourav Rudra (It's FOSS News)
my first ever pull request to the #rust language has been merged! 🎉
github.com/rust-lang/rust/pull…
it's a documentation change to clarify how async blocks behave in regards to control flow. there was only one requested change, so i did a pretty good job of matching the tone and style of the other docs.
it was really easy to contribute once i found out how to use x.py. strangely enough, there doesn't seem to be an enforced line length limit (at least not for this section of the docs) so i just matched what the surrounding text was doing.
coincidentally, the contributor who reviewed my code is the same person who made the papaya crate i reported a memory safety bug in a month or two ago.
my changes are scheduled to land in rust 1.88, which should release on the 26th of june!

Clarify `async` block behaviour by Lynnesbian · Pull Request #139608 · rust-lang/rust
Adds some documentation for control flow behaviour pertaining to return and ? within async blocks. Fixes (or at least improves) #101444. r? rust-lang/docsGitHub
i've been using relm4 for a while and i'm really happy with it. i love the #elm architecture - your app's state is a struct (or object), your user interface is rendered by a function that takes your state and returns a tree of widgets (or similar), widgets emit messages, messages modify state. i find it so much cleaner and easier to wrap my head around than traditional imperative methods or MVVM.
what are some other nice cross-platform #desktop app frameworks that use this architecture? i'm mainly familiar with #relm4 and #iced in #rust. 
#programming #gui #linux
me: what i like about #rust is how easy it makes it to write highly performant code, even when multiple threads are involved
also me whenever i have to think about ownership and lifetimes for more than two seconds: turbo.fish/::%3CHashMap%3CStri…
thought i found a really weird bug in jiff and spent a good ten or so minutes tracking it down, stepping through functions, etc. eventually i realised i was actually looking at a memory corruption bug in papaya! 
do i get a prize for discovering my first memory safety issue in a #rust dependency? 
GitHub - BurntSushi/jiff: A datetime library for Rust that encourages you to jump into the pit of success.
A datetime library for Rust that encourages you to jump into the pit of success. - BurntSushi/jiffGitHub
Developing apps is even more rewarding with Nextcloud Hub 10! 🧑💻
Now built into Nextcloud: develop apps in any dev language using our AppAPI and deploy via #Docker!
🔗 Read more with other improvements in our blog:
nextcloud.com/blog/nextcloud-h…
Nextcloud Hub 10 – your unified, modular digital workspace - Nextcloud
Welcome Nextcloud Hub 10 - reinforced performance, deeper integration, and dozens of new features that will make your day easier!Mikhail Korotaev (Nextcloud)
Hmm.
It looks like Microsoft wanted DEV_BROADCAST_HDR to be a discriminated union, but with the different variants having different sizes, presumably so that they could introduce new variants later without breaking existing code.
This is the correct way to accomplish that.
#Rust does something similar for trait object downcasting: check if the desired type is the same as the actual type, and if so, cast the pointer.
Check: doc.rust-lang.org/1.85.0/src/c…
Cast: doc.rust-lang.org/1.85.0/src/c…
The drama surrounding Rust in the Linux kernel has taken a new turn.
news.itsfoss.com/rust-kernel-p…
After Recent Kernel Drama, Rust for Linux Policy Put in Place
The recent Linux kernel drama over Rust code has resulted in the creation of a Rust kernel policy.Sourav Rudra (It's FOSS News)
some of the more modern (usually rust-based) tools described on terminaltrove.com/categories/. He interfaces are more intuitive and they are also a *lot* faster.
Rust FTW!
(psst: anyone wanna contribute some @tldr_pages?)
#terminal #terminal_apps #rust
Categories - Terminal Trove
All categories on Terminal Trove, showcasing CLI, TUI, and more developer tools.terminaltrove.com
New tool from me: I wrote a local aligner that can do approximate reference-based alignment and find genes in a query microbial genome, without a separate indexing step or any temporary disk space usage.
Written fully in Rust and there will be a browser version out later: github.com/tmaklin/kbo 1/3
#rust #rustlang #bioinformatics
GitHub - tmaklin/kbo: Spectral Burrows-Wheeler transform accelerated local alignment search.
Spectral Burrows-Wheeler transform accelerated local alignment search. - tmaklin/kboGitHub
rust9x 1.76.0 is close! Now with unwinding, backtrace support and thread parking working :V
GitHub - ruffle-rs/ruffle: A Flash Player emulator written in Rust
A Flash Player emulator written in Rust. Contribute to ruffle-rs/ruffle development by creating an account on GitHub.GitHub
Redox OS: Unix-Like OS Written In Rust
Redox OS is the other project that Jeremy is involved , but I'm not super familiar and maybe some of you aren't either so I was very curious what it was all ...YouTube
Multiplayer voxel RPG 'Veloren' v0.15 is out adding the first world boss
Free, open source and continuing to expand! Veloren is a multiplayer voxel RPG inspired by Cube World, Legend of Zelda: Breath of the Wild, Dwarf Fortress and Minecraft. Version 0.15 is out now and sounds fun.Liam Dawe (GamingOnLinux)
RT @AstraKernel
✨ The policy may or may not get passed.
But people are already using it as a point against using Rust. Some questioned whether they should continue learning Rust.
I expect they'd do a bunch of shortcuts for themselves to make it look in the public's eye like their own packages are done right from the day one, pretending to be this big and stable part of the #Rust ecosystem.
Why such lame outcome is expected? Because #Google has a history of abandoning stuff once money is sucked from it. 
Re-#introduction after coming back to this instance (hopefully for keeps). 😅
Hi! 👋
Like others, the birdsite used to be my primary platform, and now I'm seeing if the Fediverse can fill that void. I'm a big fan of western animation, and I'm hoping that the thriving #MastoArt community will eventually lead to more activity in the related hashtags (#amphibia, #bigcitygreens, #closeenough, #craigofthecreek, #owlhouse, #summercampisland, etc.). I'm also a former indie game developer, current professional Web Developer, and I tinker with #rust as my new favorite language.
Do you think #Rust sucks and it's an overhyped junk? Tell 'em!
blog.rust-lang.org/2021/12/08/…
Launching the 2021 State of Rust Survey | Rust Blog
Empowering everyone to build reliable and efficient software.blog.rust-lang.org
