Advertisement · 728 × 90

Posts by Gian::Lu﹤🦀﹥

The source of the standard Rust Hello World program with the generated assembly before and after the change.

The before version has 11 instructions and stores 56 bytes on the stack. The after version has 3 instructions and stores no data on the stack.

The source of the standard Rust Hello World program with the generated assembly before and after the change. The before version has 11 instructions and stores 56 bytes on the stack. The after version has 3 instructions and stores no data on the stack.

🦀 I've improved the implementation behind all the string formatting macros in Rust: println, panic, format, write, log::info, etc. (Everything using format_args!().) They will compile a bit faster, use a bit less memory while compiling, result in smaller binaries, and produce more efficient code! 🎉

5 months ago 533 60 11 3

does your tool spawn processes? then LOOK UP the absolute path of the process you're running first. if that fails, log that in great detail. if it succeeds, log the absolute path of the path you found. if the process fails, in the failure log, include the absolute path of the process that failed.

5 months ago 35 4 1 0
Preview
https://media1.giphy.com/media/35MvgB4YOllJHOkgLK/200.gif
5 months ago 0 0 0 0
Post image

⚙️ Coherence rules getting in your way?
Soares Chen introduces Context-Generic Programming — a paradigm to write truly generic trait impls without breaking Rust’s rules.
🕐 12:15 | 📍 Deep Ocean
#RustLab2025 @maybevoid.com

5 months ago 1 1 0 0
A bowl of full size candy bars

A bowl of full size candy bars

Why do they call it "fun size"? There's nothing fun about less candy. This is the real fun size

5 months ago 9 1 1 0
Preview
RustLab | The International Conference on Rust in Florence RustLab is a conference for developers made by developers

The rustaceans are gathering, #Florence is buzzing! 🌟
Tomorrow #RustLab2025 kicks off three days of pure Rust magic!
Double-check your schedule, charge your devices, and get ready to be inspired. 🤩
See you all tomorrow, can't wait! 🦀 ✨
👉 rustlab.it
#RustLang

5 months ago 6 2 0 0

Original post: bsky.app/profile/did:...

8 months ago 0 0 0 0
Advertisement

Whenever I notice LLMs being "not great" at Rust, it's because they're trying to write, JS or Go, but in Rust. Which is.. the same reason why a lot of humans are having a bad time with Rust 🙃 — writing types first, then stub functions, then tests, then implementation, that's a happier way.

10 months ago 86 6 5 0
Meme not from the article. The rust compiler is a giant soldier who is protecting other soldier(that is we). Compilers helpful error message help us

Meme not from the article. The rust compiler is a giant soldier who is protecting other soldier(that is we). Compilers helpful error message help us

✨ Flattening Rust's Learning Curve

This is the most important part:

>Treat the Borrow Checker as a co-author, not an adversary

> Forget what you think you knew about programming and really start to listen to what the compiler

corrode.dev/blog/flatten...

#rustlang #programming

11 months ago 28 5 1 2

🍻 cargo-spellcheck 🍻

Checks rust documentation for spelling and grammar mistakes

🔗 https://github.com/drahnr/cargo-spellcheck

#homebrew #newpkg #macos #linux #formula

11 months ago 2 1 1 0
Preview
GitHub - pgdogdev/pgdog: Horizontal scaling for PostgreSQL with automatic sharding. Horizontal scaling for PostgreSQL with automatic sharding. - pgdogdev/pgdog

pgdog is a sharder, connection pooler and load balancer for PostgreSQL.

Written in Rust, scales databases horizontally without requiring changes to application code.

11 months ago 11 2 0 0
Preview
Issues · facet-rs/facet Rust const and no_std reflection — the last derive you'll ever need - Issues · facet-rs/facet

So many ideas that I'm excited about in the issue tracker github.com/facet-rs/fac... — I know the public-facing documentation is lagging behind but better underpromise and overdeliver I suppose.

1 year ago 35 1 0 0

That’s why Ruby’s `select` is a better name.

1 year ago 2 1 1 0
Post image

TIL you can track Rust releases from this website!

🦀 Visit: releases.rs

⭐ GitHub: github.com/releases-rs/...

#rustlang #releases #rust #changelog #stable #nightly

1 year ago 25 3 0 0
Preview
GitHub - mitsuhiko/insta: A snapshot testing library for rust A snapshot testing library for rust. Contribute to mitsuhiko/insta development by creating an account on GitHub.

PSA insta 1.43 (not out yet) is free of syn: github.com/mitsuhiko/in...

1 year ago 19 1 2 0
A screenshot of a terminal showing the application panicked, error deserializing JSON, and then there's a bunch of lines of JSON. The line numbers are dimmed, and the JSON text itself is the default style, and then there's a little curve message under the N that says unexpected character N, because I have not implemented support for nulls in this latest rewrite yet.

A screenshot of a terminal showing the application panicked, error deserializing JSON, and then there's a bunch of lines of JSON. The line numbers are dimmed, and the JSON text itself is the default style, and then there's a little curve message under the N that says unexpected character N, because I have not implemented support for nulls in this latest rewrite yet.

probably not its final form but I kinda like this reporting

1 year ago 31 1 4 0
Advertisement
Plot to understand the async working

Plot to understand the async working

🧩 A Visual Journey Through Async Rust

github.com/alexpusch/ru...

#rustlang #programming

1 year ago 18 5 0 0
Release v18.5.0 Another release 🥳 Thank you so much to everyone who contributed to this one! I’m not posting the changelog on the blog this time. I’d rather keep them here, and post more interesting things there! F...

Atuin v18.5.0 is out now! Ty to everyone who helped out + contributed <3

forum.atuin.sh/t/release-v1...

1 year ago 20 6 0 0
Everything has one true owner.   
Everything must be let go, eventually

Everything has one true owner. Everything must be let go, eventually

1 year ago 20 4 0 0
Preview
GitHub - fasterthanlime/timelord: Save/restore timestamps when building Rust code in CI (to allow fresh checkouts but taking advantage of incremental builds) Save/restore timestamps when building Rust code in CI (to allow fresh checkouts but taking advantage of incremental builds) - fasterthanlime/timelord

Threw together a quick tool to restore timestamps between CI builds so cargo won't do unnecessary rebuilds — I haven't tested it in my CI yet but I figure it's more reliable & faster than a bunch of bash or node.js

github.com/fasterthanli...

1 year ago 24 3 1 0

It's probably also how our brains work too. Which is why I don't trust it to do complex calculations by itself!

1 year ago 2 1 1 0
Async Rust book arriving tomorrow

Async Rust book arriving tomorrow

Looking forward to it

1 year ago 39 4 6 0
Introducing Limbo: A complete rewrite of SQLite in Rust This looks absurdly ambitious: > Our goal is to build a reimplementation of SQLite from scratch, fully compatible at the language and file format level, with the same or higher …

Wrote up some notes on Limbo, the newly announced rewrite-it-in-Rust fork of SQLite simonwillison.net/2024/Dec/10/...

1 year ago 134 21 9 5
Advertisement
Preview
Oxide with Steve Klabnik - Rust in Production Podcast | corrode Rust Consulting What’s even cooler than writing your own text editor or your own operating system? Building your own hardware from scratch with all the software written in Rust – including firmware, the scheduler, an...

Nice interview of @steveklabnik.com by Matthias Endler corrode.dev/podcast/s03e...

1 year ago 30 3 0 0

In the spirit of growing release-plz from a one man band to a community-driven project, I created dedicated social accounts:

🦋 bsky.app/profile/rel...
💼 www.linkedin.com/company/rel...
🐘 hachyderm.io/@release_plz
🐦 x.com/release_plz...

1 year ago 3 1 1 0
Preview
RustWeek 2025 RustWeek 2025, The Netherlands - May 13 - 17 2025

🦀 Time to submit your talk ideas for RustWeek 2025! The call for proposals is now open!

rustweek.org#cfp

#rustlang #rustweek

1 year ago 46 7 0 0