Search
Items tagged with: Rust
Did you know that a lot of things in #Rust directly implement the `Ord` trait?
For example `Option<T>` where T: Ord
https://doc.rust-lang.org/std/option/enum.Option.html#impl-Ord-for-Option%3CT%3E
So you can do:
assert_eq(max(Some(0), Some(1)), Some(1))
assert_eq(max(Some(0), None), Some(0))
assert_eq(min(Some(0), None), None)
There are a lot of other things that implement `Ord`:
https://doc.rust-lang.org/std/cmp/trait.Ord.html#implementors
Oort seems like a pretty fun Rust programming game. The idea is that you get to program ships to engage in space combat. Similar to other games such as Space Traders.
The idea is pretty cool, but it uses a web editor to input the code and it is not accessible, so I can't use it. Pity.
SpaceTraders API
A unique multiplayer game built on a free Web API. The best sandbox platform to learn a new skill or apply your knowledge in a fun and meaningful way. Use any programming language with our RESTful API to control the most powerful fleet in universe.spacetraders.io
I've written a #tutorial on how to program #accessible #native #gui #windows applications in #rust using the native-windows-gui library: https://modulus.isonomia.net/tech/nwg/
Also available in Spanish: https://modulus.isonomia.net/tech/nwg-es/
Programando GUIs nativos y accesibles en Windows con Rust
Hoy os explico como podemos crear nuestros propios GUIs accesibles en Windows utilizando el lenguaje de programación Rust y la...modulus.isonomia.net
Bueno, ya he sacado tutorial. Aquí os explico como programar una aplicación de #gui nativa para #windows con #rust, y #accesible. https://modulus.isonomia.net/tech/nwg-es/
Programando GUIs nativos y accesibles en Windows con Rust
Hoy os explico como podemos crear nuestros propios GUIs accesibles en Windows utilizando el lenguaje de programación Rust y la...modulus.isonomia.net
"Safety vs Performance. A case study of C, C++ and Rust sort implementations."
#cpp #rust #c #programming
https://github.com/Voultapher/sort-research-rs/blob/main/writeup/sort_safety/text.md
Quick screenshot of a #thunderbird experiment I'm hacking on, something of a side-project for me.
Shown here, a replacement of the C++ based main entry (nsMailApp.cpp) with a prototype entry written in #rust
-O2 <- -ORIIR
I'm looking for a new job, or contract work, for the first time in a while - boosts appreciated!
I'm a polyglot programmer, with a wide range of experience behind me, from developing firmware that runs on 8-bit AVR, to highly distributed systems across hundreds of nodes, I covered pretty much the whole landscape.
I had my fair share of Ops experience too, and worked in (technical) Customer Service aswell.
I speak many languages (#C, #Rust, #Lua, #Python, #JavaScript, some #Go among them), but I pride myself in being able to pick up a new language at a decent level between signing a contract and starting on the job.
I'm a #Linux guy through and through, and have very little experience (or desire) to work with anything else, save maybe for the BSDs. I worked with containers, databases (relational and otherwise); in the cloud and on premises. I can debug, I can mentor, I can teach, and build, and integrate (continuously, even!). I'm not afraid of git rebase
, nor of a crowd to speak in front of.
I live in Hungary, and am seeking remote work. I cannot relocate.
If you are someone looking for something like that, or know someone who is, please get in touch. My CV - with contacts - is available here.
Release v0.5.1 - Connectivity Intensifies · n0-computer/iroh
First you have to find one another, before you can interact. This release is all about finding and connecting with your peers. Before iroh could only connect with peers that were directly reachabl...GitHub
What good is a queue you can't call "push" on, or a mutex you can't "lock?"
It turns out that some common API patterns are bug generators in async Rust code. In the 0.3 release series, I've taken a pass over the OS APIs in lilos (my async embedded OS ) and tried to make the whole OS strictly cancel-safe.
As a side effect, I replaced both "push" and "lock" with subtly different operations that are much harder to use incorrectly. Details in my latest post:
https://cliffle.com/blog/lilos-cancel-safety/
#rust
Just published #rust @hyper_rs v1.0 RC4.
We'll let this one bake a few weeks, and if all is well, this could be the last one!
https://github.com/hyperium/hyper/releases/tag/v1.0.0-rc.4
Release v1.0.0-rc.4 · hyperium/hyper
Bug Fixes http1: http1 server graceful shutdown fix (#3261) (f4b51300) send error on Incoming body when connection errors (#3256) (52f19259, closes #3253) properly end chunked bodies when it was ...GitHub
Are you interested in working on GNOME, writing Rust apps, or working with Fonts? If so, you may be interested in taking a look at https://gitlab.gnome.org/GNOME/gnome-font-viewer/-/merge_requests/49 :)
This port may take a while, and I greatly appreciate any help available. I've laid out a list of tasks to be done before merging, and if anyone wants to take something on let me know and we can work together.
If you want to help with the effort, please join #fonts:gnome.org on Matrix :) (https://matrix.to/#/#fonts:gnome.org)
(boosts appreciated)
#GNOME #Rust #Fonts #gtk-rs #gtk4 #libadwaita
Draft: general: Initial port to Rust (!49) · Merge requests · GNOME / Fonts · GitLab
This is an initial port of Fonts to Rust. The port doesn't do much - it just loads a list of fonts and displays it. There's a lot...GitLab
vs
My talk about "Rust vs Julia in scientific computing" is confirmed!
I am very excited about it :D
Only 7 minutes, but that is fine for the first public talk :)
The talk will be recorded and I will write a blog post about it. Stay tuned :D
You can still register to the free online conference "Scientific Computing in Rust":
https://scientificcomputing.rs/
#RustLang #Rust #JuliaLang #ScientificComputing
Scientific Computing in Rust 2023
The webpages for the Scientific Computing in Rust 2023 workshopscientificcomputing.rs
https://opensource.googleblog.com/2023/06/rust-fact-vs-fiction-5-insights-from-googles-rust-journey-2022.html?m=1
Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022
Wondering about Rust? We're addressing rumors and providing insight gained from years of early adoption of Rust here at Google.Google Open Source Blog
I've decided to open source Ebou, the cross platform Mastodon Desktop Client.
You can find the repository here:
https://github.com/terhechte/Ebou
It also supports Windows, although this is beta and Windows binaries are not included yet (you'll have to compile it yourself). Attached is a Windows screenshot. Linux should be easy to support, too.
I'm open sourcing it because I think there's great value in a high quality cross platform Mastodon desktop client and I can't pull this off alone.
#rust
GitHub - terhechte/Ebou: A cross platform Mastodon Client written in Rust
A cross platform Mastodon Client written in Rust. Contribute to terhechte/Ebou development by creating an account on GitHub.GitHub
It looks like someone (!) forgot to talk about the new xmpp-rs 0.4 release post !
https://xmpp.rs/blog/release-xmpp-0-4/
This is a big article trying to make intelligible many changes including low-level crates included in the project
New website and xmpp.rs v0.4 release | xmpp.rs
xmpp.rs is a Rust crate for building clients and servers for the Jabber/XMPP federated networkxmpp.rs
https://hackmd.io/p3VG_bK9TXOvtgh1oA2yZQ?view
#Rust #RustLang
fwiw i highly recommend that, if you're interested in the future of #rust, you join the Rust Zulip chat [1]. even if you have nothing to say and just want to lurk.
it's a productive and friendly space for the most part, and a super good way to stay informed on what's happening.
On the RustConf keynote | Rust Blog
Empowering everyone to build reliable and efficient software.blog.rust-lang.org
Exciting times are ahead! We're starting to see new programming languages evolve the ideas popularized by #Rust. Children of Rust, if you will.
Inko seems to trade off a little performance to get a compiler that accepts more code as valid, but still keeping strong safety guarantees. An easier-to-write language than Rust perhaps.
I'm looking forward to seeing more languages that make coding easier while not compromising on safety and reliability.
Snapshot, the new Camera (photo/video) app is available on Flathub 🎉 📷
It looks fantastic, here is a picture of Hermine sleeping next to my desk.
https://flathub.org/apps/org.gnome.Snapshot
Made by @maximiliano 🎩
#Flatpak #Flathub #GNOME #LinuxMobile #Linux #Rust #Gtk
One thing I particularly like about Rust — which I’m very new to — is how thoughtfully the compiler errors and warnings have been designed. It not only diagnoses and explains the problem: it provides a possible solution. Genius.
This is the essence of good design: it’s compassionate, anticipating the needs and wants of another person. I can’t think of another language that does anything like this. Certainly not Swift, not that I’m bitter.
Happy Monday! I am looking for work.
I am looking for a role related to compilers ideally, but I'm also capable in numerical computing and back-end roles. I have experience with #Rust 🦀 and #Python 🐍 .
I have a deep knowledge of Python from working on #mypy and CPython itself. The quantum compiler I worked on was a mixed Python/Rust codebase.
I'm looking for remote/hybrid near SF Bay Area.
Github: https://github.com/ethanhs
(boosts appreciated)
#fedijobs #getfedihired #fedihired #jobseeker
ethanhs - Overview
I type code . ethanhs has 106 repositories available. Follow their code on GitHub.GitHub
👉 should we?
👉 If we some language can do what Rust can do but more simpler, we should be happy to switch but is that the case here?
Article:
https://towardsdev.com/why-the-rust-community-should-be-worried-about-the-new-carbon-language-3a0ab07d6ce5
#rustlang #rust #cpp #carbon
Why the Rust Community Should Be Worried About the New Carbon Language
I would put myself into the third group. I really like the general idea behind Rust, want to apply it in production, but still, use all kinds of tools other than Rust. The first category would not…Olenin Slava (Towards Dev)
in ~/.cargo/config.toml, put:
[registries.crates-io]
protocol = "sparse"
The speed difference for 'cargo update', particularly on a smaller project, is amazing and delightful.
https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html#cargos-sparse-protocol
Announcing Rust 1.68.0 | Rust Blog
Empowering everyone to build reliable and efficient software.blog.rust-lang.org
https://docs.rs/activitypub_federation/latest/activitypub_federation/
#rust #rustlang
activitypub_federation - Rust
A high-level framework for ActivityPub federation in Rust. The goal is to encapsulate all basic functionality, so that developers can easily use the protocol without any prior knowledge.docs.rs
Talon
Talon enables you to write code, play games, and control your computer with voice, eye tracking, or noises.talonvoice.com
https://github.com/petrochenkov/rfcs/blob/9901089b2467b0813456479ba03642e9f0ac0912/text/0000-type-privacy.md#lint-3-voldemort-types-its-reachable-but-i-cant-name-it
#rust #rustlang
rfcs/0000-type-privacy.md at 9901089b2467b0813456479ba03642e9f0ac0912 · petrochenkov/rfcs
RFCs for changes to Rust. Contribute to petrochenkov/rfcs development by creating an account on GitHub.GitHub
https://www.wezm.net/v2/posts/2023/rust-on-ppc-classic-mac-os/
#VintageMac #RetroComputing
Trying to Run Rust on Classic Mac OS
I recently acquired a Power Macintosh 9500/150 and after cleaning it up and building a BlueSCSI to replace the failed hard drive it’s now in a semi-operational state.www.wezm.net
#Rust, while better than C is overly obsessed with memory to use it daily.
Looking at bindings
https://www.gtk.org/docs/language-bindings/
things like #JVM and #.NET are missing, leaving the choice of unhelpful type systems, or caring about unneeded details, or both... Not a good outlook for quickly building apps.
The GTK Project - A free and open-source cross-platform widget toolkit
GTK is a free and open-source cross-platform widget toolkit for creating graphical user interfaces.The GTK Team
https://github.com/fish-shell/fish-shell/pull/9512
Rewrite it in Rust by ridiculousfish · Pull Request #9512 · fish-shell/fish-shell
(Sorry for the meme; also this is obligatory.) I think we should transition to Rust and aim to have it done by the next major release: Nobody really likes C++ or CMake, and there's no clear path f...GitHub
https://fasterthanli.me/articles/the-bottom-emoji-breaks-rust-analyzer #rust #rustlang
The bottom emoji breaks rust-analyzer
Some bugs are merely fun. Others are simply delicious! Today's pick is the latter. Reproducing the issue, part 1 ...fasterthanli.me
This release features the addition of a few convenience APIs, the addition of bindings for some minor APIs and a lot of internal changes to improve performance and code generation.
https://gstreamer.freedesktop.org/news/#2023-02-13T10:00:00Z
#GStreamer #Rust #RustLang
Also, in addition to better performance, the code generation improvements also reduce the binary size considerably.
Some GStreamer plugins saw reductions of 15-20% 🥳
#GStreamer #Rust #RustLang
I've never bought much into the language. I've been impressed by its constructs to natively manage and synchronize asynchronous operations, but its rigidity when it comes to programming paradigms (no proper object-oriented and functional constructs in the 21st century, seriously?) means that I see it as a language that seriously limits expressivity, and doomed to generate a lot of boilerplate. It's a language very good at solving the types of problem that are usually solved at Google (build and scale large services that process a lot of stuff in a way that the code looks the same for all the employees), and little more than that.
After #Rust really took off, I didn't see a single reason why someone would pick Go.
And now here we go with the last straw: Google has proposed to embed telemetry collection *into the language toolchain itself*. And, according to Google, it should be enabled by default (opt-out rather than opt-in), because, of course, if they make it an opt-in then not many people will explicitly enable a toggle that shares their source code and their usage of the compiler with one of today's biggest stalkers. If they make it an opt-out, well, many people won't even notice, and you can grab more data points from people, whether they know/like it or not.
If you build open-source projects in Go, it's time to drop it and start considering alternatives. The market for modern compiled language is much more competitive now than it was a decade ago. We knew already that we couldn't trust a programming language developed by the largest surveillance company on the planet.
https://www.theregister.com/2023/02/10/googles_go_programming_language_telemetry_debate/
Google's Go may add telemetry that's on by default
Some devs object because they don't trust Mountain ViewThomas Claburn (The Register)