Mr. Plankton
bhusal.bsky.social
Mr. Plankton
@bhusal.bsky.social
I have a love/hate relationship with crabs.
Looking for a job in Rust roles.
Reposted by Mr. Plankton
I am the portrait of zen
January 3, 2025 at 4:58 PM
Reposted by Mr. Plankton
Be good, do good, work hard for what you believe in.
December 12, 2024 at 12:20 AM
Working through @fly.io 's distributed systems challenge (gossip glomers); wrote custom node/message types in Rust (<3 to serde), but one thing has me baffled:

What are these "stale" messages? Tried googling it, also fly.io's forums but did not find anything.

Can anyone help?
December 1, 2024 at 2:43 AM
What's the best way of "waiting for ack"s after sending, say, UDP packets -- provided the network is unreliable, your client may never respond and you should keep sending messages until they do. While doing that, you must also process other messages you receive (so no blocking the event loop)
November 30, 2024 at 10:34 PM
Reposted by Mr. Plankton
Here a graphic I made up for @architecturenotes.co
November 29, 2024 at 2:32 PM
Reposted by Mr. Plankton
As a philosopher I’m not afraid to speak the truth: Pumpkin pie functions as a mere vehicle for whipped cream. In this way, it is no better than a spoon.
November 25, 2024 at 5:58 PM
Reposted by Mr. Plankton
every Rust project:

> cargo add tokio -F full
> cargo add serde -F derive
> cargo add serde_json
> cargo add anyhow
> cargo add thiserror
> cargo add clap -F derive
November 20, 2024 at 11:21 AM
Thinking about doing the Gossip Glomers challenge. Are there any other such interesting resources to learn Distributed systems by "doing"?
November 20, 2024 at 12:39 PM
For future references.
November 20, 2024 at 7:14 AM
I realized that one of the reasons I tend to "leave" blog posts half-written is I want to cram too much content, or want to make it a "tutorial". Trying something new since - I want my posts to be a "note" for myself.

sandeshbhusal.github.io/posts/pl/lex...

The first one is live!
Sandesh Bhusal - Writing (rewriting) a lexer
A journey of writing a lexer for a simple language in Rust.
sandeshbhusal.github.io
November 20, 2024 at 3:39 AM
I want to embed the entire LLVM compiler inside my own compiler framework in Rust. Is it too much to ask? How does rustc do it (or doesn't?) ?
November 16, 2024 at 4:33 PM
Writing a JIT backend for my custom programming language. Super excited right now! :D
November 14, 2024 at 6:15 PM
TIR - writing a parser by hand does not make a whole lot of sense until your grammar is stabilized enough. I am writing a simple SIMD-accelerated computing library, and the grammar keeps changing which causes a pain in re-writing the parser by hand over and over again.
November 13, 2024 at 3:28 PM