Search
Items tagged with: Rust
I came across a blog from a 2 years ago that compared different implementations of dot product. It had a couple interesting points. The cost of functional programming in #Swift was huge (31x on M1 and 198x on x86). I did an equivalent test in #Rust and the cost was 1x (on M2). That lets programmers use the high level abstractions without dreading the performance costs.
Rust:
left.iter().zip(right.iter())
.map(|(&l, &r)| l * r )
.sum::<f64>()
eclecticlight.co/2021/08/04/wh…
When idiomatic code is slower, and how to Accelerate
Benchmarking 32-bit Float vector dot-product calculations using Swift, NEON assembly, and Apple’s SIMD libraries, on Intel and M1 Macs.The Eclectic Light Company
Recently I have ported the Monk Tower game written in #rust to native Android, I've collected some issues found on the way - so you don't have to reinvent the wheel :)
maciejglowka.com/blog/building…
And there it is: Rust9x updated to 1.76-beta
A while back I posted to announce we were enabling the use of #rust as a development language within @thunderbird
Pleased to say that we've now landed support, and as of today it's possible to write new libraries and xpcom components using #rustlang, as part of the libxul build!
hg.mozilla.org/comm-central/re…
Don't worry, we're not about to "RIIR" - this is enabling new code next year to supercharge the backend architecture for your favourite mail client.
comm-central @ 8a0750b85f6d85fbf5c2e17a29fbc8112112c374
Bug 1860654 - Support Rust for Thunderbird development. r=rjlhg.mozilla.org
I found a few weird edge cases which, combined, took my #rust compile-times from 1.5 minutes to 33 minutes. Here's how we found the problem and fixed it.
blog.adamchalmers.com/crazy-co…
Investigating crazy compile times
33 minutes to 90 seconds -- I'm sorry, *how* many lines of LLVM?Adam Chalmers Programming Blog
After two and a half years of rewrite, #Fractal 5 is finally out! Get the #GTK 4 #Rust #Matrix client from flathub.org/fr/apps/org.gnome.… and enjoy new features such as #EndToEndEncryption, location sharing, or multi-account with Single-Sign On 🚀
I'm so so excited to announce #rust hyper v1.0 🚀
seanmonstar.com/blog/hyper-v1/
hyper v1
I’m excited to announce v1.0 of hyper, a protective and efficient HTTP library written in the Rust programming language. hyper provides asynchronous HTTP/1 a...seanmonstar
Has been released Lapce v0.3.0 🎉
Lapce (IPA: /læps/) is a modern Open Source, Lightning-fast, and Powerful code editor, written in pure Rust with a UI in Floem. 🦀
#OpenSource #CodeEditor #Rust #Lapce #Floem #UI #Editor #FOSS #Developer #Experience #DX
github.com/lapce/lapce/release…
Release v0.3.0 · lapce/lapce
Features/Changes #2190: Rewrite with Floem UI #2425: Reimplement completion lens #2498: Show Lapce as an option when doing "Open With..." on Linux #2549: Implement multi-line vim-motion yank and d...GitHub
Last week I presented my paper at SecDev on the impact #Rust has vs. #C++ on the probability of a vulnerability being introduced by a first-time contributor to a project—and therefore, how easy it is for newbies to get contributions merged. The full paper is available here:
cypherpunks.ca/~iang/pubs/grad…
but the tl;dr is: Rust significantly lowered the number of vulnerabilities introduced, especially from new contributors, and increased the quantity of new contributors to projects.
periodic reminder that I maintain a big ol' list of #Rust command-line tools:
github.com/sts10/rust-command-…
GitHub - sts10/rust-command-line-utilities: A curated list of command-line utilities written in Rust
A curated list of command-line utilities written in Rust - GitHub - sts10/rust-command-line-utilities: A curated list of command-line utilities written in RustGitHub
Did you know that a lot of things in #Rust directly implement the `Ord` trait?
For example `Option<T>` where T: Ord
doc.rust-lang.org/std/option/e…
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`:
doc.rust-lang.org/std/cmp/trai…
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: modulus.isonomia.net/tech/nwg/
Also available in Spanish: modulus.isonomia.net/tech/nwg-…
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. modulus.isonomia.net/tech/nwg-…
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
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:
cliffle.com/blog/lilos-cancel-…
#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!
github.com/hyperium/hyper/rele…
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 gitlab.gnome.org/GNOME/gnome-f… :)
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 :) (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":
#RustLang #Rust #JuliaLang #ScientificComputing
Scientific Computing in Rust 2023
The webpages for the Scientific Computing in Rust 2023 workshopscientificcomputing.rs
opensource.googleblog.com/2023…
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:
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 !
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
hackmd.io/p3VG_bK9TXOvtgh1oA2y…
#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.
flathub.org/apps/org.gnome.Sna…
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.