Search
Items tagged with: rustlang
🦀 The first episode of 'Rust in Production' season 2 is live!
https://corrode.dev/podcast/s02e01-curl/
Super excited about talking to @bagder about using Rust in curl!
#rustlang #rust #rustinproduction #podcast
curl - Rust in Production Podcast | corrode Rust Consulting
In the season premier we talk to none other than Daniel Stenberg! We focus on integrating Rust modules in curl, their benefits, ways in which Rust and Rust crates helped improve curl, but also how curl helped those crates, and where curl is used in t…Corrode Rust Consulting
Congrats to the 9 applicants who got accepted into GSoC with GNOME! 🧑🎓
They'll be working on
• Rework Bustle's Diagram
• Add TypeScript Support to Workbench
• Port Workbench demos to Vala, new library
• Create a web IDE for Tracker SPARQL (2x)
• Mobile/touch support for Papers
• More durable synching for FlatSync
• Port libipuz to Rust
• Add support for the latest GIR attributes and gi-docgen formatting to Valadoc
And thanks to mentors!
Workbench 46.1 is out!
https://flathub.org/apps/re.sonny.Workbench
Happy International Workers' Day
See what's new and details at https://blog.sonny.re/workbench-46-1
#GNOME #GTK #JavaScript #rustlang #Python #Vala #Linux #development
Workbench 46.1
Labor day marks the release of Workbench 46.1 This new release comes with Save/restore window state and dimensions for each session/pro...Sonny's
GOSIM 2024 Europe Will Be Held in the Netherlands on May 6th: Embrace the Global Open Source Wave and Build a New Era of AI Here comes the GOSIM 2024 Europe!
https://medium.com/@gosimfoundation/the-latest-guest-lineup-of-gosim-2024-europe-revealed-gathering-global-masters-in-ai-open-source-a706eff5196e
For more information please visit: https://europe2024.gosim.org
Scan or register here:
https://www.eventbrite.com/e/gosim-2024-conference-tickets-873572969267?aff=oddtdtcreator
#rust #rustlang #rustnl #opensource #gui #mobile #app #ai #fediverse #matrix #gosim
The Latest Guest Lineup of GOSIM 2024 Europe Revealed, Gathering Global Masters in AI Open Source field
May 6th, 2024, GOSIM 2024 Europe hosted by the organization of Global Open-Source Innovation Meetup (GOSIM) will be officially held in Delft, Netherlands, Europe. This grand event has provided a…GOSIM Foundation (Medium)
#RustLang
Lessons learned after 3 years of fulltime Rust game development, and why we're leaving Rust behind
https://loglog.games/blog/leaving-rust-gamedev/
Discussions: https://discu.eu/q/https://loglog.games/blog/leaving-rust-gamedev/
A part of #Rustlang that doesn't get mentioned but is a ridiculous quality of life boon:
dbg!()
Just #[derive(Debug)] on a struct and print it. Suddenly you get insight into what's going on. Very rarely do you need to write your own print.
Insert a dbg in the middle of anything
let diffi = debug!(diffs).iter();
and you get a message with line number and the name of variable:
[src/lib.rs:192:19] diffs = [16, 86, 11]
Not even #Python has that!
I like to minimize the size of binaries I build. Unremovable debugging strings annoyed me, so I've added an option to completely neuter `Debug::fmt` in #Rustlang
https://github.com/rust-lang/rust/pull/123940
debug-fmt-detail option by kornelski · Pull Request #123940 · rust-lang/rust
I'd like to propose a new option that makes #[derive(Debug)] generate no-op implementations that don't print anything, and makes {:?} in format strings a no-op. There are a couple of motivations fo...GitHub
Some useful types for database-using Rust web apps
I’ve been writing a little web app in rust lately, and in it I decided to try to do it without an ORM.boinkor.net
I wrote a guest post on the Rust Foundation blog on my experience attending the #CISA Open Source Software Security Summit:
https://foundation.rust-lang.org/news/attending-cisas-open-source-software-security-summit/
Rust Foundation
The Rust Foundation is an independent non-profit organization to steward the Rust programming language and ecosystem, with a unique focus on supporting the set of maintainers that govern and develop the project.foundation.rust-lang.org
Today I found a TUI frontend for curl! 🔥
🌀**cute**: TUI HTTP client with API/auth key management and request history/storage.
🌐 Supports importing Postman collections!
🦀 Written in Rust & built with @ratatui_rs
⭐ GitHub: https://github.com/PThorpe92/CuTE
#rustlang #ratatui #tui #curl #http #request #api #auth
GitHub - PThorpe92/CuTE: HTTP client/libcurl TUI front end in Rust, with request + key storage
HTTP client/libcurl TUI front end in Rust, with request + key storage - PThorpe92/CuTEGitHub
#rust #rustlang devs: “inheritance is a plague! A pox upon beautiful programming! It must be banished and we shall never allow it!”
Also Rust devs: 🦀 can have a little inheritance as a treat uwu 🥺
https://aayushyavajpayee.substack.com/p/coming-soon
Write Cleaner, More Maintainable Rust Code with PhantomData
Solving the Redundancy Problem: How PhantomData Saves the Day in RustAayushya Vajpayee (Aayushya’s Substack)
New blog post: on that time when I decided that if being able to panic one Rust program is good, then a feature that lets you panic _other_ programs would be better, right?
No, really, it's awesome. Here's Hubris's oddest syscall.
Rpgp: Pure Rust implementation of OpenPGP
Discussions: https://discu.eu/q/https://github.com/rpgp/rpgp
GitHub - rpgp/rpgp: OpenPGP implemented in pure Rust, permissively licensed
OpenPGP implemented in pure Rust, permissively licensed - rpgp/rpgpGitHub
Fellow infosec folks:
If I wanted to incentivize people to try and exploit Hubris, what should I do? What would you want to see?
While open source, the system is mostly used by Oxide, a for-profit company, so I would expect "am I doing this for free" to come up. Explicit threat model is also good. What else?
We've hired firms for this but with mixed results (they mostly know C). I wanna open it to everyone else. I would be _delighted_ to give guidance.
Boost away.
So Hubris on stm32 has a task called "sys" that handles a lot of common shared peripherals, like GPIO and clocking and reset.
One of the challenges on Hubris is that _parts_ of your application (like sys) can crash, and the other parts need to figure out how to deal with that.
Well, as of this afternoon, sys can't. As in, I have squashed the last potential panic, and turned on a switch that makes new panics into build errors.
I think this is neat.
Rust finally gets its own official LLM RFC!
https://github.com/rust-lang/rfcs/pull/3603
Discussions: https://discu.eu/q/https://github.com/rust-lang/rfcs/pull/3603
Are you experienced with GTK and Rust ? ❤️
We are looking to contract someone to work on the new GNOME Password Manager 🔑
We want it to become a core/default app and help secure millions of users.
You'll be working with the GNOME Foundation, a non-profit dedicated to building emancipatory technologies for everyone.
Please send resume / portfolio to stf@gnome.org
Boosts welcome
#GTK #Rust #rustlang #GNOME #Linux #Ubuntu #Linux #Fedora #OpenSUSE #Debian
What if #rustlang only had panic="abort"? (Instead of panic="unwind", today's default.) It could simplify some parts of the language and prevent subtle bugs.
Do you absolutely need catch_unwind? If yes, please leave a reply!
(Panic hook and backtrace etc. will still work of course!)
- No, abort is fine. (64%, 167 votes)
- Yes, in tests/docs. (14%, 37 votes)
- Yes, in production code. (20%, 54 votes)
With the upcoming stabilization of the diagnostic namespace, I want to take stock of the compile time error messages generated by diesel and see what messages can be improved.
Please contribute your example of a bad diesel related compiler error message here: https://github.com/diesel-rs/diesel/discussions/3972
Review Diesel compile time error message · diesel-rs diesel · Discussion #3972
Diesel is known for sometimes generating sub-optimal compile time error messages. With the upcoming stabilization of the #[diagnostic] attribute namespace and the #[diagnostic::on_unimplemented] at...GitHub
GitHub - johnthagen/min-sized-rust: 🦀 How to minimize Rust binary size 📦
🦀 How to minimize Rust binary size 📦. Contribute to johnthagen/min-sized-rust development by creating an account on GitHub.GitHub
🦀 I'm really excited about today's #rustlang release! 🥳
- offset_of!
- c"" string literals!
- stripping release binaries by default!
- IP/socket types available in no_std!
- File::create_new (won't overwrite existing files)!
- more array and slice methods (each_ref, chunk methods)!
- Mutex::clear_poison!
https://blog.rust-lang.org/2024/03/21/Rust-1.77.0.html
Announcing Rust 1.77.0 | Rust Blog
Empowering everyone to build reliable and efficient software.blog.rust-lang.org
Hi !
My company is looking for new #RustLang & #Python devs 😋
We are building an open-source e2e encrypted file sharing software: https://github.com/scille/parsec-cloud
More info: https://parsec.cloud/wp-content/uploads/2024/03/Fiche-de-poste-CDI-Ingenieur_e_developpement.pdf
🌎 France in full remote
⏰ Full-time
💲 36k-63k€
Retoot appreciated 🙏
#hiring #job #remotework
GitHub - Scille/parsec-cloud: Open source Dropbox-like file sharing with full client encryption !
Open source Dropbox-like file sharing with full client encryption ! - Scille/parsec-cloudGitHub
Hey #rust #rustlang bubble - I am giving up maintainership of the "config" crate: https://github.com/mehcode/config-rs/issues/549
If someone wants to take over, now's your time.
#maintainer #github #repository 🦀
Please boost to your rustlang bubbles.
Maintainer wanted · Issue #549 · mehcode/config-rs
This project needs more/new maintainers. I took over maintainership in 2019 (IIRC) during a project at my employer back then, because I needed fixes/changes in this crate to fulfill my task at work...GitHub
A few weeks ago, I introduced and fixed a bug where I accidentally checked if a string literal, instead of a vector, was empty, jokingly saying that I blamed Clippy for not having a lint against it. Following a suggestion from @zeenix, I created a feature request, and it's now actually implemented.
This means that Clippy will now warn you if you try to call `is_empty` on a string. https://rust-lang.github.io/rust-clippy/master/index.html#/const_is_empty
Clippy is really amazing.
Clippy Lints
A collection of lints to catch common mistakes and improve your Rust code.rust-lang.github.io
LLVM CFI and Cross-Language LLVM CFI Support for Rust, https://bughunters.google.com/blog/4805571163848704/llvm-cfi-and-cross-language-llvm-cfi-support-for-rust.
> add LLVM CFI and cross-language LLVM CFI (and LLVM KCFI and cross-language LLVM KCFI) to the Rust compiler as part of our work in the Rust Exploit Mitigations Project Group. This is the first cross-language, fine-grained, forward-edge control flow protection implementation for mixed-language binaries that we know of.
Really interesting project.
#RustLang #llvm #security #safety #ffi
Blog: LLVM CFI and Cross-Language LLVM CFI Support for Rust
We’re pleased to share that we’ve worked with the Rust community to add LLVM CFI and cross-language LLVM CFI (and LLVM KCFI and cross-language LLVM KCFI) to the Rust compiler as part of our work in the Rust Exploit Mitigations Project Group.bughunters.google.com
Does anybody have a good idea how one can verify that your rust compiler and the FFI code you interact with use the same libc?
Some of our rust code inside mesa will allocate/deallocate code indirectly via `malloc`/`free` and I don't think we really want to mix and match across different libc impls here.
So we want to figure out at configure or compiler time that everything uses the same libc.
The new GStreamer 1.24 release is also the first that has a Rust component as part of core, in addition to all the plugins that were already part of previous releases.
https://gstreamer.freedesktop.org/releases/1.24/#ptp
Over the last months the Rust/cargo support in meson improved a lot.
It's now ready to build and install a GTK4 Rust application with around 70 dependencies without having to write almost any custom build glue for the dependencies.
https://github.com/sdroege/mandelbrot#meson-build
The application in question is just a small experiment of mine for rayon and GTK4 input handling / rendering. The more or less same should work for other GTK4 applications at this point.
All this still depends on two unmerged meson PRs, but it's a huge step forward from the situation just a few months ago.
Thanks to the hard work of @xclaesse and dcbaker!
I hope in the future this will allow GNOME applications written in Rust to have a less strange and fragile build setup than what they have right now with mixing cargo and meson.
#rustlang #rust #gtk #gnome #meson #mesonbuild
GitHub - sdroege/mandelbrot: GTK/Rust based viewer for the Mandelbrot set
GTK/Rust based viewer for the Mandelbrot set. Contribute to sdroege/mandelbrot development by creating an account on GitHub.GitHub
Do you use Matrix for chatting? Do you like Vim? I got the perfect tool for you. ✨
📨 **iamb**: A Matrix client for Vim addicts.
💬 Use Vim keybindings for message editing, window navigation, and tab management in your terminal!
🔗 Docs: https://iamb.chat
⭐ GitHub: https://github.com/ulyssa/iamb
🦀 @matrix + @ratatui_rs
#rustlang #tui #ratatui #matrix #client #messaging #vim #neovim #terminal
GitHub - ulyssa/iamb: A Matrix client for Vim addicts
A Matrix client for Vim addicts. Contribute to ulyssa/iamb development by creating an account on GitHub.GitHub
In the past few weeks, I spent a bit of time on a set of #OpenPGP hobby projects around #rpgp (https://github.com/rpgp/rpgp/). Today I'm happy to announce:
rsop v0.1.0 (https://crates.io/crates/rsop), an early stage "stateless OpenPGP" tool based on rpgp.
Relatedly, I also released rpgpie 🦀️🔐🥧 v0.0.1 (https://crates.io/crates/rpgpie), an experimental high level OpenPGP API based on rpgp (rsop is built on top of rpgpie).
GitHub - rpgp/rpgp: Pure rust implementation of OpenPGP
Pure rust implementation of OpenPGP. Contribute to rpgp/rpgp development by creating an account on GitHub.GitHub
Hm...I'm getting the impression that #Rust is increasingly met with a refusal by some people (it's an almost _hateful_ attitude sometimes).
I wonder why. Of course there are a lot of layers to it, but one is definitely that Rust has gotten a lot more exposure to people and so there are just a lot more potential `match`es that lead to Err(()) and that's Ok(()) (sorry, pun intended).
But I wonder, if there's more to it than what meets the eye (feeling excluded/alienated/left behind?).
#rustlang is coming into @thunderbird now too! I loved Thunderbird back in the day but--as acknowledged in this talk--it has fallen behind its competitors over time. Excited to see it gaining ground again!
Here's a talk about Rust in Thunderbird: https://fosdem.org/2024/schedule/event/fosdem-2024-2469-thunderbird-how-to-exchange-rot-for-rust/
A couple of month ago, I opened an issue suggesting a new Clippy lint for rust. (Recommending against using try_into() when into() is available.
Someone implemented it and it recently reached stable with 1.76, I'm surprised at how many times this lint triggered in our codebases 😅.
I guess that means that this lint is useful!
https://github.com/rust-lang/rust-clippy/issues/11577
new lint: `unnecessary_faillible_conversion` · Issue #11577 · rust-lang/rust-clippy
What it does This lint would warn against using try_into from the TryInto or TryFrom trait when there is an available Into or From implementation. Advantage Remove the need for handling an error ca...GitHub