HNHacker News
TopNewBestAskShowJobs

kahlonel

482 karma · joined January 11, 2017

Embedded Software Architect
submissionscomments
kahlonel··on I write games in C (yes, C) (2016)
Wrong. I’m still doing it.
kahlonel··on Embassy: Modern embedded framework, using Rust and async
99% people in this thread have no idea what you mean. And that’s the reason projects like these make it to frontpage every other day and have hundreds of upvotes/comments.
kahlonel··on Ask HN: Who here is not working on web apps/server code?
Embedded software developer here, with very minimal professional hardware design experience. I mostly write nostdlib C, and never use malloc. I write peripheral drivers from scratch even if there’s an “SDK” for it. I spend almost 40% of my time reading documentation, 30% scribbling state machines, 15% writing code and 15% testing it on hardware. LLMs don’t help me much. I use them to write scripts for me to parse my stdout and find patterns. For breakfast, I fight EEs to prove their hardware doesn’t work. I have exploded hardware setups for the products I’m developing for on my desk. JLink is the favorite thing in my aresenal. Even the slightest latency on my text editor annoys the shit out of me, which is why I don’t use IDEs.
kahlonel··on Linux Kernel Rust Code Sees Its First CVE Vulnerability
Now we have vulnerabilities in two different flavors.
kahlonel··on Show HN: I built a web framework in C
That's a great example of how to write C in 2025. Congrats and well done.
kahlonel··on PuTTY has a new website
PuTTY was the first tool I ever used to SSH into a machine. My mind was blown when me and my friend wrote to the same file and could see each other’s sentences.
kahlonel··on Ask HN: What old or outdated software have you never found a replacement for?
Flash
kahlonel··on I write type-safe generic data structures in C
Awesome write up! Please don’t mind the hostile crowd here. They don’t like anything other than their favorite language on the front page. There’s a much bigger silent majority that still loves C and the things you can do with it.
kahlonel··on Google to pay $28M to settle claims it favoured white and Asian employees
Imagine going out, calling someone the N-word, and only getting 0.0379% of your income as a fine.
kahlonel··on Zlib-rs is faster than C
You mean the implementation is faster than the one in C. Because nothing is “faster than C”.
kahlonel··on Ask HN: Why do/don't you use C?
Because it’s the only language that doesn’t get in my way / add another cognitive layer to deal with. My modules can be as simple or as complex (by combining simpler ones) as I want.
kahlonel··on Why my print didn't output before a segmentation fault
It’s “undefined behavior” because on certain embedded systems NULL (i.e. 0) is a valid memory address that can be read/written to.
kahlonel··on Why my print didn't output before a segmentation fault
Using setbuf(stdout,NULL) also disables the buffering.
kahlonel··on Sharing Your Netflix Account
I’m fine with it if they decrease the subscription fee to a quarter. Nobody I know has 4 TVs in their house. Charging for “4 screens” while enforcing this new policy is a simple cue to unsub Netflix for good.
kahlonel··on Rust Unpopular Opinion
There’s nothing unpopular about this. In fact this is the most popular opinion on HN.
kahlonel··on Latch bio: “we work six days a week”
Remind me when this company goes bankrupt with millions of investment down the drain
kahlonel··on Writing a 3D Game in C (in 2022)
All the best! There are many _huge_ projects written in pure C. Don’t let people tell you C is bad for your project size.
kahlonel··on Tesla probing fatal acceleration incident video against new brake failure claim
What a nightmare. I would never own a Tesla even if I get it for free.
kahlonel··on Ask HN: Is Twitter unbearable for anyone now?
As someone who likes to keep in check what’s going on back home while being permanently away from it, I HATE how twitter trends are hijacked by political parties to shit on the other parties. There trends are purely dogshit and nothing more than memes. There is no value I get from the trending section. Anything important is lost in the noise. I tried to switch to Worldwide trends I remember twitter used to have but got rid of it for some reason.
kahlonel··on Stop Using “Real Time” Wrong
Finally someone said it. Terms like “realtime” and “baremetal” are used in such vague manners that they have lost their original meaning.
kahlonel··on C Isn't a Programming Language Anymore
These C-hating articles are getting out of hand on HN. I see atleast one every week on the front page. If you don't like C, STFU, pick-up whatever FOTM BS you like, GTFO of here, and leave us "normies" alone who have to get actual stuff done which absolutely requires C.
kahlonel··on Show HN: HN Avatars in 357 bytes
Test
kahlonel··on Buffet – An All-inclusive Buffer for C
C++ has all the problems that come with C plus all of its own problems. Also, OOP is pointless.
kahlonel··on Ask HN: Which tech stack is the most fun?
C, GDB, an mcu dev kit, a Jlink probe, and an oscilloscope :)
kahlonel··on Show HN: Mako – a full Bitcoin implementation in C
Yeah it’s not like the browser you are using, the OS you have installed, or even the firmware of the keyboard you’re typing this on is written in C.
kahlonel··on Show HN: Writing embedded firmware using Rust
> At this time, Rust is the only viable alternative to C and C++ in these domains.

No, it’s not. See Ada/Spark.

kahlonel··on Implementing Hash Tables in C
No, we can’t. Because C is a necessary evil. If you stop teaching people to program in C, who is going to maintain virtually every software this world is running on?
kahlonel··on Revolt: Open-source alternative to Discord
It’s a well known way of getting your post to HN frontpage.
kahlonel··on Messaging and chat control
Exactly. Just like “terrorism” is used as an excuse to take control of oil fields.
kahlonel··on Writing a SQLite clone from scratch in C (2017)
> The underlying thing to appreciate here is that the goal is to make these kinds of mistakes not only much harder but impossible

Hate to break it to you, but it is not "impossible" to have CVEs in Rust [1].

1. https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=rust

Page 1 of 7Next →