59 points speckx 1 hour ago 21 comments
bryanlarsen 42 minutes ago | parent
jghn 37 minutes ago | parent
pjmlp 27 minutes ago | parent
It is a scale, and there are other languages that go beyond Rust, with dependent types, effects, capabilities, linear types, formal profs,...
jahnu 25 minutes ago | parent
kccqzy 24 minutes ago | parent
If you just want generic pure computation: write an interpreter for a toy language. If it’s too large, write a macro expander that can handle C style or TeX style macros.
If you want events and concurrency: write a tmux clone that can work with multiple terminals.
If you want IO but specifically networking: write a toy HTTP server that only supports 1.0.
RussianCow 19 minutes ago | parent
treyd 18 minutes ago | parent
A common example I give is a basic chat client/server, to learn how networking code feels, especially nonblocking IO. Especially if you're implementing the same protocol in the different languages since it means you won't necessarily be as biased by what protocol patterns are easy to implement in one language.
win311fwg 8 minutes ago | parent
lnenad 23 minutes ago | parent
senderista 13 minutes ago | parent
brightball 11 minutes ago | parent
Elixir was somewhere between my 12th-14th language and nothing changed my perspective so much as understanding why the BEAM works the way it does.
nomel 7 minutes ago | parent
My favorite side quest that I definitely recommend. Physical parallelism is so fun to reason about.
I had the advantage of sitting next to a proper professional to bounces questions off of, so I was able to get an SPDIF decoder to work in about a week! It was a very interesting lesson in the costs of abstraction, and why you will never really find abstraction layers in hardware.
MomsAVoxell 2 minutes ago | parent
Put Lua in things.
Now, before you anti-Lua types start jumping on that down-vote, let me explain. Putting Lua in things is easy - and it is hard. It teaches you how to treat other things with respect, and it teaches you how to disregard other things and "Just Use Lua™".
You can learn the language - multiple variants of it. You can learn the 'things' you're putting it in. You can learn how a VM works, what byte code is, how it can be used effectively - and how it can be used counter-productively, too.
It will teach you the limits of a language - Lua, and C - and it will teach you the strengths of both (as well as Rust, and all the other things you an get an FFI scaffolding built around).
You can use Lua to produce your own domain specific language. You can use it to replace whatever other language the "thing" is using. You can use it to minimize the impact of a VM and scripting and byte code - you can learn how to maximize these things as well.
You can learn how slow/fast pieces of the system interact productively and effectively - you can learn how things get mightily messed up, also, if you use the wrong lubricant.
In the end, you may not even end up using it for productive things - but you might. Either way, by applying this maxim, you can learn pretty much everything interesting there is to learn about software (besides LLM's) in today's modern stack madness, and then some.
Seriously, give it a try.
The other one of these (there are a few), is to do a Linux From Scratch session at least twice a year. Do it this year, but plan on doing it again next year as well.
Iterate. Extend. Ignite.
harveymadeunico 2 minutes ago | parent
Another way to do it would be the standard low->high level and then one based on lambda calculus. Von Neumann and Church.
Assembly, C, Java, Clojure.
Assembly, C, C#, F#.
Assembly, Fortran, Rust, Rust, Brainf*ck.
xeubie 16 minutes ago | parent
clownstrikelol 8 minutes ago | parent
If you want specific values (integer or otherwise) associated with specific variants (i.e. Human = 1, Cat = 4) you can do that too. Use the #[repr(T)] or impl the From / Into traits yourself.
coldtea 12 minutes ago | parent
But reading this in 2026, when the entirety of the profession has changed (for better or worse) due to LLMs, seems strange.
Like someone writing how some new preservation method for making food last longer revolutionized how they manage their pantry, shortly after the invention of the fridge.
I like the post - it's just sad how many will not have these epifanies anymore, or they wont mean anything, and how many starting today would already just say "how quaint" and move on.
bingobongo84 1 minute ago | parent