Loading [MathJax]/jax/output/CommonHTML/jax.js
Skip to main content

Items tagged with: Rust

Search

Items tagged with: 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: https://turbo.fish/::%3CHashMap%3CString,%20Arc%3CRwLock%3CThingy%3E%3E%3E

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

https://nextcloud.com/blog/nextcloud-hub10/


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: https://doc.rust-lang.org/1.85.0/src/core/any.rs.html#225
Cast: https://doc.rust-lang.org/1.85.0/src/core/any.rs.html#294

#Rust


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

https://news.itsfoss.com/rust-kernel-policy-linux/

#linux #rust


some of the more modern (usually rust-based) tools described on https://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: https://github.com/tmaklin/kbo 1/3

#rust #rustlang #bioinformatics


Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust. It is still in Alpha 0.4.2.
https://www.spacedrive.com/
https://github.com/spacedriveapp/spacedrive

#spacedrive #file #sharing #Rust


Just released nix-weather, a #rust cli-tool to check how many of your NixOS system’s build dependencies are in a binary cache.


$ nix-weather -n myhost -c /etc/config/
Found Nix Requisites in 8 seconds
Checked 2789 packages in 1 seconds
Found 2676/2789 (95.95%) in cache

This is useful to e.g. “check the weather” before going for an update. If the dependencies you want still haven’t been cached, it can be useful to know you can postpone an update to a later day when the weather is better on the cache.

Feel free to try it out from the GitHub mirror (it’s likely faster than my forgejo instance, and I’d appreciate saving the bandwidth).

https://github.com/cafkafk/nix-weather/releases/tag/v0.0.2

#nix #nixos


The Cosmic desktop is still alpha but the concept of a desktop enviroment based of Rust is promising. I am looking forward to seeing the progress of this project in the coming months.

#linux #rust #cosmic #desktop #system76


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. https://github.com/ruffle-rs/ruffle #flash #adobe #webdev #javascript #rust #retrogaming


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


i'm working on a little #rust library that lets you define a set of rules and then simulate a cellular automaton. here it is running game of life in a terminal, but you can have arbitrarily many¹ rules and states. i'm planning to make a web app out of this, so you can play around with cellular automata in your browser :3

¹ it's actually just 232, thanks for pointing out that very relevant distinction

#Rust


Multiplayer voxel RPG 'Veloren' v0.15 is out adding the first world boss https://www.gamingonlinux.com/2023/07/multiplayer-voxel-rpg-veloren-v015-is-out-adding-the-first-world-boss/ #RPG #Rust #OpenSource #FOSS #Linux


just in case: You know #Veloren https://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.


Do you know #Rust? Of course you do, you're on the fediverse!

There are a couple of 'good first tasks' like https://phabricator.wikimedia.org/T319102 which could use your attention! 🦀
#Rust


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:


Well. I'll write tests probably tomorrow and on the plane but that's a reasonably complete #uxn implementation in #rust https://git.arrdem.com/arrdem/uxn/src/branch/trunk/src/vm.rs. Don't even get me started on keep mode.
#Rust #uxn


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!

https://blog.rust-lang.org/2021/12/08/survey-launch.html
#Rust

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