Gian::LuοΉ€πŸ¦€οΉ₯'s Avatar

Gian::LuοΉ€πŸ¦€οΉ₯

@fusillicode

Awkward, Rust SeΓ±or Software Engineer #rustlang #rustlang #rustlang #rustlang #rustlang http://cheats.rs

46
Followers
57
Following
7
Posts
19.11.2023
Joined
Posts Following

Latest posts by Gian::LuοΉ€πŸ¦€οΉ₯ @fusillicode

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! πŸŽ‰

13.11.2025 13:31 πŸ‘ 530 πŸ” 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.

14.11.2025 13:37 πŸ‘ 35 πŸ” 4 πŸ’¬ 1 πŸ“Œ 0
Preview
https://media1.giphy.com/media/35MvgB4YOllJHOkgLK/200.gif
04.11.2025 09:23 πŸ‘ 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

03.11.2025 11:00 πŸ‘ 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

31.10.2025 23:21 πŸ‘ 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

01.11.2025 13:02 πŸ‘ 6 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0

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

14.08.2025 15:54 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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.

13.06.2025 14:54 πŸ‘ 87 πŸ” 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

06.05.2025 04:21 πŸ‘ 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

24.04.2025 12:48 πŸ‘ 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.

24.04.2025 12:56 πŸ‘ 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.

20.04.2025 17:26 πŸ‘ 35 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

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

21.04.2025 14:27 πŸ‘ 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

15.04.2025 08:16 πŸ‘ 26 πŸ” 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...

15.04.2025 15:28 πŸ‘ 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

15.04.2025 15:32 πŸ‘ 31 πŸ” 1 πŸ’¬ 4 πŸ“Œ 0
Plot to understand the async working

Plot to understand the async working

🧩 A Visual Journey Through Async Rust

github.com/alexpusch/ru...

#rustlang #programming

14.04.2025 13:53 πŸ‘ 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...

09.04.2025 13:59 πŸ‘ 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

08.04.2025 05:56 πŸ‘ 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...

21.03.2025 12:04 πŸ‘ 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!

17.12.2024 06:59 πŸ‘ 2 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0
Async Rust book arriving tomorrow

Async Rust book arriving tomorrow

Looking forward to it

17.12.2024 05:58 πŸ‘ 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/...

10.12.2024 19:35 πŸ‘ 134 πŸ” 21 πŸ’¬ 9 πŸ“Œ 5
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...

10.12.2024 03:59 πŸ‘ 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...

05.12.2024 16:00 πŸ‘ 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

05.12.2024 13:54 πŸ‘ 46 πŸ” 7 πŸ’¬ 0 πŸ“Œ 0