Rust Programming
!rust@lemmy.ml
help-circle
rss
I built a CLI tool in Rust that allows you to manage files as if you're playing a text adventure.
Hi everyone! This is my first post on Lemmy and it's to showcase a little project I've been working on lately which is my first public project made in Rust. It's a file management tool called Vento, which allows you to move files as if you're playing a text adventure. It's based on an original concept made by a friend of mine on Bash. It consists of three comands: `vento`, `take` and `drop`. I've recorded a demo on Asciinema to showcase its functionality. [![asciicast](https://asciinema.org/a/524454.svg)](https://asciinema.org/a/524454) The project is available to install through [Cargo](https://crates.io/crates/vento) and the source code is hosted on [Codeberg](https://codeberg.org/nixgoat/vento). I'm open to suggestions!
fedilink

System76's Pop!_OS COSMIC Desktop To Make Use Of Iced Rust Toolkit Rather Than GTK
> The UX team has been carefully designing widgets and applications over the last year. We are now at the point where it is critical for the engineering team to decide upon a GUI toolkit for COSMIC. After much deliberation and experimentation over the last year, the engineering team has decided to use Iced instead of GTK. > > Iced is a native Rust GUI toolkit that's made enough progress lately to become viable for use in COSMIC. Various COSMIC applets have already been written in both GTK and Iced for comparison. The latest development versions of Iced have an API that's very flexible, expressive, and intuitive compared to GTK. It feels very natural in Rust, and anyone familiar with Elm will appreciate its design. The main jumping-off point for COSMIC is this repository, I think: https://github.com/pop-os/cosmic-epoch The iced crate is here: https://github.com/iced-rs/iced Other GUI tookits for Rust can be found here: https://www.areweguiyet.com/
fedilink

Unsafe Rust in the Wild
Not really a "sky is falling" sort of post, but it seems like there is room for further exploration and improvement of practices here
fedilink

Tesla is writing their Robots simulation engine in Rust
*The engine simulates physics/discrete/firmware scenarios as movement of robot hands and joints.*
fedilink

Western Digital is already working on an NVMe driver written in Rust
*During the “Linux Plumbers 2022” conference that was ongoing these days, a Western Digital engineer gave a presentation on the development of a controller experimental for SSD NVM-Express (NVMe) written in Rust and running at the Linux kernel level.*
fedilink


Today's Rust and Linux project is up :) I built this plugin so that I could see NetworkManager controls in results that come back from [`pop-launcher`]( https://github.com/pop-os/launcher) I'm using [`onagre`](https://github.com/oknozor/onagre) to query/display/action those results
fedilink


How Rust beats NGINX, or, How we built Pingora, the proxy that connects Cloudflare to the Internet
*Across all customers, **Pingora makes only a third as many new connections per second** compared to the old [NGINX] service. For one major customer, it increased the connection reuse ratio from 87.1% to 99.92%, which reduced new connections to their origins by 160x. To present the number more intuitively, by switching to Pingora, we save our customers and users 434 years of handshake time every day...* *In production, **Pingora consumes about 70% less CPU and 67% less memory** compared to our old [NGINX] service with the same traffic load ...*
fedilink


Should Rust replace C/C++ in industrial and educational level?
I'm not a programmer (or just a beginner one) So just wanted to know if it is possible and will happen in the near future. Isn't C/C++ decades old and has some good amount of limitations?
fedilink





How to make cargo link to native dynamic libraries
I have a build script like this: ```rust println!("cargo:rustc-link-lib=libname"); ``` It works if a static (.a) version of the library is installed, but if only a dynamic version (.so) is installed, building fails with an error like `usr/lib/gcc/x86_64-alpine-linux-musl/11.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -llibname: No such file or directory`.
fedilink

RustConf 2022 Schedule
It's happening! ![](https://lemmy.ml/pictrs/image/678e3ac2-6334-4eee-8ab7-960470fd8c23.mp4)
fedilink




Rust Programming
!rust@lemmy.ml
    • 0 users online
    • 1 user / day
    • 12 users / week
    • 21 users / month
    • 54 users / 6 months
    • 2 subscribers
    • 156 Posts
    • 177 Comments
    • Modlog
    Lemmy
    A community of leftist privacy and FOSS enthusiasts, run by Lemmy’s developers

    What is Lemmy.ml

    Rules

    1. No bigotry - including racism, sexism, ableism, homophobia, transphobia, or xenophobia. Code of Conduct.
    2. Be respectful. Everyone should feel welcome here.
    3. No porn.
    4. No Ads / Spamming.

    Feel free to ask questions over in: