Skip to main content

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…


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…

#rustlang #android #gamedev


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.


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…

#rust


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 🚀

:boost_ok:


I'm so so excited to announce #rust hyper v1.0 🚀

seanmonstar.com/blog/hyper-v1/

#rust


Ever wondered how apps like RescueTime and Foreground track the current active process in Windows? I wrote a blog post about how I do it in #rust: hellocode.co/blog/post/trackin…
#rust


En estos días fríos y un poco depresivos me ha dado por aprender #rust #rustlang y me está encantando, no solo por el lenguaje en sí, sino por los maravillosos recursos oficiales de aprendizaje que tienen. Los tres que tienen en su web son muy, muy buenos.

rust-lang.org/learn


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…


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.

#rust #c


periodic reminder that I maintain a big ol' list of #Rust command-line tools:

github.com/sts10/rust-command-…

#rust


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…

#RustLang #RustTips #RustTip


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.

#a11y #games #rust


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-…

#a11y #programming


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-…

#a11y #programming


"Safety vs Performance. A case study of C, C++ and Rust sort implementations."

#cpp #rust #c #programming

github.com/Voultapher/sort-res…


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.

#GetFediHired


From one of our wonderful translators: "I wanted to thank all developers of Deltachat for making such an incredible and simple multi-device supporting app! (Yes, I spent 2 days fresh-installing my double-booted main PC, so I really love all the time the multi-device backup option saved me!) You rock! 🤩" .... Shout out to our friends at n0.computer/ who just published hole punch support github.com/n0-computer/iroh/re… .... The lib we use for multi device setup in #deltachat #rust core


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

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


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


I wanna do some #SQL in #Rust. Maybe use an #ORM, unless everyone thinks ORMs are dumb.

What crates should I use?

What would Ferris do?

#sql #rust #orm


:ferris: vs :julia:

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

scientificcomputing.rs/

#RustLang #Rust #JuliaLang #ScientificComputing


Really happy to see these results on the perception of googlers on quality of the #Rust development experience, an area I'm highly passionate about. I'd like to take this as an opportunity to encourage the 9% (and the other 91% as well) to file tickets when we don't meet the bar we've set for ourselves.
opensource.googleblog.com/2023…
#rust


I've decided to open source Ebou, the cross platform Mastodon Desktop Client.

You can find the repository here:

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

#rust


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

#XMPP #Rust


I love it when I get #Rust errors that I worked on and forgot about
#rust


Statement from Josh Triplett on the events that lead to the RustConf Keynote change, and next steps
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.

1: rust-lang.zulipchat.com

#rust


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-lang.org/

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. :blobcatthumbsup:

#rust


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.

#rust #swift