Search
Items tagged with: rust
Got back to some of my personal projects (#Godot #rust #astronomy ) and am now stress free and looking forward for whatever comes next!
The Rust Foundation is hiring an Infrastructure Engineer to work on... well, shockingly enough, Rust infrastructure.
A fringe benefit is that you get to work closely with @jdno. He's great! (You also get to work less closely with me; YMMV on that one.)
Details: https://foundation.rust-lang.org/careers/ (make sure you click through to the actual vacancy, since it includes a bunch more detail on the specific position)
Rust Infrastructure Engineer
The Rust Foundation was formed in 2021 as an independent, non-profit organization to serve as a steward of the Rust programming language and its users, maintainers, and enterprise advocates.app.beapplied.com
#Workbench has been added to the showcase on gjs.guide, the #GJS documentation site!
https://gjs.guide/showcase/#workbench
We want newcomers to know there's over 100 API demos in JavaScript, alongside implementations in Python, Rust and Vala.
Get started with #GNOME in #JavaScript or #Python, and you'll have an expressive platform to learn #Vala and #Rust!
#RustConf videos have been posted! Check out my talk among others.
https://www.youtube.com/watch?v=MTnIexTt9Dk&list=PL85XCvVPmGQgR1aCC-b0xx7sidGfopjCj
RIM - Pneuma Solutions
At Pneuma Solutions we provide a seamless bridge between assistive technology and mission critical applications. Our line of products was built with stability…Pneuma Solutions
Thundertalk Alert! ⚡ 🎙️
At 17:10, @brendan and Sean Burke will be giving their talk on going from rot to Rust in the Rust devroom at FOSDEM (H.1308 Rolin) 🦀
If you can't scuttle over, you can watch the stream (https://live.fosdem.org/watch/h1308) or watch and chat (https://chat.fosdem.org/#/room/#2024-h.1308_rolin_:fosdem.org)
✨ Making Rust binaries smaller by default
👉 "The PR has been merged a week ago, and it is now in nightly! 🎉" 😊
https://kobzol.github.io/rust/cargo/2024/01/23/making-rust-binaries-smaller-by-default.html
Making Rust binaries smaller by default
Have you ever tried to compile a helloworld Rust program in --release mode? If yes, have you seen its binary size? Suffice to say, it’s not exactly small. Or at least it wasn’t small until recently.Kobzol’s blog
#Hugo's slogan of being "The world’s fastest framework for building websites" is a shameless lie.
It has been raised up 3 times on Github with benchmarks showing that other full-featured static site generators like #Zola (#Rust) are faster, sometimes by 10x. Each time, the issue is closed and locked.
I migrated a couple of websites from Hugo to Zola and won't look back.
Feel free to ping me if you need any help with Zola 🥰
Workbench 45.4 is out 🛠️
https://flathub.org/apps/re.sonny.Workbench
• Restore on-disk projects on start
• Restore scroll and cursor positions on format and Run
• Add "Copy" and "Select All" to Console
• Add Vala formatter support
• Add WebP image format support
• Library: Add "Context Menu" demo
• Library: Add "HTTP Server" demo
• Library: 12 demos ported to Python, 4 to Vala and 2 to Rust
Happy hacking / learning / prototyping
#Linux #development #GTK #GNOME #libadwaita #Rust #JavaScript #Python #Vala
Extremely slow resolution on Windows · Issue #1968 · hickory-dns/hickory-dns
Describe the bug On my machine, TokioAsyncResolver takes a very long time to resolve any DNS record - up to a minute! - regardless of domain, record type, or configured DNS servers in Windows. I do...GitHub
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>()
https://eclecticlight.co/2021/08/04/when-idiomatic-code-is-slower-and-how-to-accelerate/
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 :)
https://maciejglowka.com/blog/building-games-for-android-with-rust/
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!
https://hg.mozilla.org/comm-central/rev/8a0750b85f6d85fbf5c2e17a29fbc8112112c374
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 blogged! 📜
"Profiling Rust Applications With Sysprof"
https://blogs.gnome.org/haeckerfelix/2023/12/03/profiling-rust-applications-with-sysprof/
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.
https://blog.adamchalmers.com/crazy-compile-time/
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 https://flathub.org/fr/apps/org.gnome.Fractal 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 🚀
https://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
https://github.com/lapce/lapce/releases/tag/v0.3.0
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:
https://cypherpunks.ca/~iang/pubs/gradingcurve-secdev23.pdf
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:
https://github.com/sts10/rust-command-line-utilities
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
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