Skip to main content

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

#Rust


Level up your terminal with Rust tools that outshine classic Linux commands. 🔥

itsfoss.com/rust-alternative-c…

#linux #rust #cli


I’ve started using #rust for work, after decades of C/C++. Overall I like it, even if some of the syntax is overly clever. This move is a Good Thing by for the future of #Debian and friends.


Ubuntu's Rustification has some hurdles to cross.

news.itsfoss.com/ubuntu-uutils…

#linux #ubuntu #rust


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…


look gary, there i am! :bunsmile:

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! :ferrisdance:

#Rust


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.


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!

:ferrisdance: :ferris_party: :ferrisdance:

#Rust


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. :boost_requested:

#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…

#Rust


👀 Any chance that you're using servo to render some of that? Or is crates.io data structured enough already (markdown, reStructuredText) to pipe into some other renderer? Been thinking about trying to use servo for a project if it's in the "good enough" stage for more modern HTML5/CSS3 documents. #rust #servo


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! :ferris_worried:

do i get a prize for discovering my first memory safety issue in a #rust dependency? :unsafe_ferris:

#Rust


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!

#Rust? #golang? Your choice!

🔗 Read more with other improvements in our blog:

nextcloud.com/blog/nextcloud-h…


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…

#Rust


The drama surrounding Rust in the Linux kernel has taken a new turn.

news.itsfoss.com/rust-kernel-p…

#linux #rust


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


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


Sudo rewrite sudo in #rust - just received this postcard at #FOSDEM.


rust9x 1.76.0 is close! Now with unwinding, backtrace support and thread parking working :V

#rust #retrocomputing


How retro kick ass is that? Flash is resurrected sans the neglected, proprietary, security ridden, plugin bs of Adobe; thanks to Rust, and modern day sandboxed WebAssembly. No plugin required; small, compact, compatible engine, that unlocks decades of lost SWF content in all its vector visuals, MP3 stereo, and ActionScript-y glory. github.com/ruffle-rs/ruffle #flash #adobe #webdev #javascript #rust #retrogaming


Redox OS: Unix-Like OS Written In Rust #YouTube #Rust youtu.be/Quh3FauAaWE


Multiplayer voxel RPG 'Veloren' v0.15 is out adding the first world boss gamingonlinux.com/2023/07/mult… #RPG #Rust #OpenSource #FOSS #Linux


just in case: You know #Veloren veloren.net/ it's having a new release now. A nice open source game written with #rust #rustlang combining inspirations from minecraft and legends of zelda.


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.

#rustlang #rust #programming #developers


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. :robotok:


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/…

#Rust

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.