drogus
drogus.bsky.social
drogus
@drogus.bsky.social
Rust, Ruby, WebAssembly. Check out my active projects on GH: https://github.com/sponsors/drogus
I need to finally finish a blog post I started a while ago titled sth like "Zig's comptime is not Rust's macros equivalent". Comptime is very interesting, but it's not the same, and it doesn't allow you to do a lot of the things macros let you do.
April 7, 2025 at 11:51 AM
I have written a post about JAWSM, my JavaScript to WebAssembly compiler: https://itsallaboutthebit.com/jawsm/. Long story short: I now implemented all of the JS semantics (scopes, prototypal inheritance, async/await, generators) and it passes 25% of Ecma262 spec test suite.
JAWSM - a JavaScript to WASM compiler
itsallaboutthebit.com
April 6, 2025 at 8:16 PM
I went through the comments in the "Why Go?" thread github.com/microsoft/ty... and I categorized the relevant comments. It looks like more comments are complaining about "Why not Rust?" comments or making fun of the supposed Rust's community outrage than the actual "Why not Rust?" comments 😆
March 14, 2025 at 8:40 AM
Regarding the recent "tsc rewrite in Go" debate, I must say that I've seen countless posts complaining about Rust community reacting poorly, and almost zero actual poor reactions. Seems like a total knee-jerk reaction "rewrite in Go, must mean Rust fanbois are angry"
March 14, 2025 at 12:27 AM
My "hot take" for today is that a yearly raise that would at least cover the rate of inflation should be a norm, rather than an exception; otherwise, the value of people's salaries decreases over time. This really shouldn't be viewed as "hot take", but unfortunately, probably is
March 9, 2025 at 2:54 PM
Reposted by drogus
I need help. 3 National STEM Festival sponsors pulled funding because of the current climate. Please help. This is a life changing opportunity for kids that have worked so hard!
www.gofundme.com/f/support-th...
February 28, 2025 at 1:17 AM
Recently, I've been thinking quite a lot about taxes in the wake of inflation and the housing crisis. While I fully support progressive taxes, there is something wrong with the notion that, for example, in Germany, a salary in the top 5% of earners will barely get you a two-bedroom apartment unless
February 25, 2025 at 11:50 AM
Here's a very nice explanation on why Landman's stupid monologue about wind turbines is, well, stupid: www.youtube.com/watch?v=wBC_...
How Oil Propaganda Sneaks Into TV Shows | Climate Town
YouTube video by Climate Town
www.youtube.com
February 19, 2025 at 1:20 PM
Reposted by drogus
Whenever you hear someone sneer about scientific research that seems useless to them — “they’re studying the spit of lizards?!” — remind them that’s exactly how we got Ozempic.

globalnews.ca/news/9793403...
How a Canadian scientist and a venomous lizard helped pave the way for Ozempic - National | Globalnews.ca
In 1984, Dr. Daniel Drucker, an endocrinologist from the University of Toronto, discovered a hormone that helped pave the way for popular diabetes drugs such as Ozempic.
globalnews.ca
February 9, 2025 at 5:38 PM
Hey, programmers worried about your roles being replaced by AI, hear me out. I use LLMs almost daily. It's nowhere near being ready to replace anyone, and it's not certain LLMs can get significantly better. Hype is mostly for getting investor money, not because they're that good.
January 15, 2025 at 1:37 PM
I really like this clip where Mitchell Hashimoto responds to why he chose Zig over Rust: https://www.youtube.com/watch?v=dJ5-41u-e7k. His answer is basically: I have more fun writing Zig. I think it's very often the case with our choices, whether we like to admit it or not, and it's totally fine!
Why Ghostty is written in Zig (not Rust or Go)
Mitchell Hashimoto explains his reasoning behind picking Zig for Ghostty, his open source terminal emulator. A clip from "The Changelog" podcast. Full audio ...
www.youtube.com
January 13, 2025 at 7:04 PM
Fully Stuck Software Engineer
January 2, 2025 at 9:21 PM
I don't like new Ruby3.4 feature to name 1st block arg `it`, which trades a few extra characters `|it|` for readability, eg. `arr.map {|it| it.foo }` vs `arr.map { it.foo }` https://blog.sinjakli.co.uk/2025/01/01/ruby-3-4-highlights/
January 1, 2025 at 6:19 PM
This might be an unpopular opinion about using AI, but I use AI pretty much only for stuff that I know exactly how to write and how I would like it to look. The suggestion will influence your thinking and you will possibly not think through the problem enough to notice issues
December 18, 2024 at 8:05 PM
People be like "Rust is too complex" and then expect me to just hold like half of the codebase in my head in order to validate constraints that I would otherwise put into the type system (especially when it comes to memory safety or data races, but not only).
December 16, 2024 at 6:30 PM
Ok, so this is quite interesting: https://www.ardanlabs.com/news/2024/rust-at-google/. Google a/b tested Go and Rust teams rewrites of Google's services. It turned out the Rust teams were developing at a similar speed as Go teams, but with fewer defects
Rust at Google, Outperforming C++ and Matching Go
Ardan Labs is trusted by small startups and Fortune 500 companies to train their engineers and develop business software solutions and applications.
www.ardanlabs.com
December 1, 2024 at 12:26 PM
Reposted by drogus
We have landed on bluesky! 🦋

Give us a follow to keep up with everything embedded Rust 🦀

Join 3.5k+ Rustaceans and subscribe to our bi-monthly newsletter below👇

www.theembeddedrustacean.com/subscribe

#rustlang #embedded
The Embedded Rustacean
Everything Embedded Rust
www.theembeddedrustacean.com
November 28, 2024 at 4:09 PM
I've seen a lot of people saying they'd prefer Zig's comptime in Rust, rather than macros. Comptime is an interesting concept, but it has downsides, and is often used to make up for lack of features that Rust has (like traits).
November 29, 2024 at 8:32 PM
"why do I feel so busy all the time?" I ask myself, while starting like a fourth new project in the last few months 🙃
November 29, 2024 at 7:56 AM
For a while now I wanted to create a Rust macro for composing SQL queries by just writing SQL. No DSLs, no tricks to support joins or CTEs or other advanced features. I'm thinking I'll do a stream implementing it, so if you want to learn about writing Rust proc macros stay tuned!
November 29, 2024 at 7:19 AM
I'm wondering how much "it's still hard to find Rust jobs" is a problem with Rust vs a problem with the job market. I've talked to many people who work for companies either introducing Rust or at least exploring it, but the truth is, the market is just screwed at the moment.
Goodbye, Rust. I wish you success but I'm back to C++

#rustlang #rust #reddit
www.reddit.com/r/rust/comme...
November 29, 2024 at 5:50 AM
I just open sourced Tarnik - a project providing a Rust macro to generate WASM GC code: https://github.com/drogus/tarnik. The main aim is to use it in my other project https://github.com/drogus/jawsm, but I think it might be useful for others working with WASM GC too!
November 25, 2024 at 11:32 PM
I am on the third level of yak shaving my distributed stress tests runner. 1st level is the tool itself. 2nd level is a JS to WASM compiler, so I can efficiently run JS code on the tool. 3rd level is a WASM GC code generator, so I don't have to write all the WASM GC code by hand
November 23, 2024 at 10:19 PM
When you start writing Rust no one prepares you for the size of `target` directories
November 23, 2024 at 4:25 PM
I added a new feature to JAWSM https://github.com/drogus/jawsm. Tail calls are now automatically optimised, meaning the attached code will work when compiled to WASM with JAWSM, but it will fail on Node.js or in a browser when reaching call stack of 5-10k (depending on the settings)
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
github.com
November 17, 2024 at 11:23 PM