HNHacker News
TopNewBestAskShowJobs

barddoo

108 karma · joined September 19, 2025

submissionscomments
barddoo··on Voxtral 3
the Portuguese voice is so seductive lol, why is that
barddoo··on Why a $154B CEO just endorsed stripping most Americans of voting rights
based, solid opinion
barddoo··on Hacker News but for independent blogs
nice
barddoo··on Show HN: Open-source Workspace (mail,docs,spreadsheet,drive) web/iOS
nice, I was just deciding what to use. I tried nextcloud, but I'm running a php system on my machines.
barddoo··on Zedis Update: Zig 0.16 and New I/O Interface
Benchmark vs Valkey: https://github.com/barddoo/zedis/blob/main/benchmark-compari...
barddoo··on The Xkcd thing, now interactive
Increase friction
barddoo··on Tell HN: Ralph Giles has died (Xiph.org| Rust@Mozilla | Ghostscript)
F
barddoo··on Ask HN: Who wants to be hired? (February 2026)
Location: Brazil

Remote: Yes

Willing to relocate: No

Technologies: Nodejs, Java, Zig, Postgres, MySQL, MongoDB, AWS, GCP, Azure, SQL.

Résumé/CV: https://www.linkedin.com/in/charlesjrfonseca/

Email: ycombinator.oppressed404@passmail.net

Senior Backend (8+ yrs exp)

I'm a backend-focused software engineer with deep experience building scalable, cloud-native systems. I’ve worked with startups across Latin America, Europe, and the U.S., taking on roles that span backend development, cloud infrastructure, and DevOps. My main area of expetise within backend is database tunning / optimization.

Also, I write about databases and software development in https://charlesfonseca.substack.com.

barddoo··on Ask HN: What's the best talk you've watched?
Mine is https://youtu.be/rX0ItVEVjHc?si=QQYeGPE3t3sxmsOp
barddoo··on Show HN: Books mentioned on Hacker News in 2025
The Holy Bible mentioned.
barddoo··on Benchmarking my Redis clone in Zig (a web dev learning systems)
Author here. This is part 4 of my journey learning systems programming by building a Redis clone.

Happy to answer any questions about the implementation or benchmarks!

barddoo··on From web developer to database developer in 10 years
Same. It’s good to know that other people feel the same way.
barddoo··on Async/Await is finally back in Zig
The requests were made concurrently. I don't understand your question. Passing in an array or a pointer does not matter.
barddoo··on Async/Await is finally back in Zig
Fair. The languages have to come up with something based on APIs that were not meant for that, like io_uring, etc.
barddoo··on Async/Await is finally back in Zig
What changed, why it matters, and how to use the new API.
barddoo··on Show HN: Zedis – A Redis clone I'm writing in Zig
The format was made for taking snapshots, it’s terrible for lookup.
barddoo··on Show HN: Zedis – A Redis clone I'm writing in Zig
I didn’t know that, that’s pretty cool
barddoo··on Show HN: Zedis – A Redis clone I'm writing in Zig
It’s not feasible to do that in a single threaded system. The main drawback of disk persistence is that you need a log of memory to keep the file buffer open and pointers. If the key you’re looking for is not on disk, you’ll get awful results, the rdb format will give you worst then Postgres performance. You have to use another file format to optimize for a larger cache
barddoo··on Show HN: Zedis – A Redis clone I'm writing in Zig
That’s a good point, I should had renamed it. You can’t trust these big corp
barddoo··on Show HN: Zedis – A Redis clone I'm writing in Zig
Redis dynamically allocates memory, the idea of the project is to pre allocate everything, so it’s by principle faster than Redis.
barddoo··on Show HN: Zedis – A Redis clone I'm writing in Zig
I definitely plan to do that in the future
barddoo··on Show HN: Zedis – A Redis clone I'm writing in Zig
Agree. I used it mostly for getting ideas, the memory management for example, Gemini listed so many different ways of managing memory I didn’t even know existed. I know I wanted to pre allocate memory like tigerbeetle does, so the hybrid approach was perfect. Essentially it has 3 different allocators, a huge one for the cache, a arena allocator for context, intermediate state like pub/sub and temp one, for requests. It was 100% Gemini’s idea.
barddoo··on Show HN: Zedis – A Redis clone I'm writing in Zig
Thanks! There are so many things to do still, authentication, glob-style keys search, json parsing.
barddoo··on Show HN: Zedis – A Redis clone I'm writing in Zig
Zig detects memory leaks pretty well when you build it using -Doptimize=Debug.
barddoo··on Show HN: Zedis – A Redis clone I'm writing in Zig
I just made it to learn Zig
barddoo··on Show HN: Zedis – A Redis clone I'm writing in Zig
I'll take a look. Thanks for the suggestion!
barddoo··on Show HN: Zedis – A Redis clone I'm writing in Zig
Sounds pretty interesting.
barddoo··on Show HN: Zedis – A Redis clone I'm writing in Zig
100% agree. Their algorithm for distributed consensus is pretty different than anything else in the market.
barddoo··on Show HN: Zedis – A Redis clone I'm writing in Zig
No, I wasn’t able to get it working with async io using io_uring/kqueue.
barddoo··on Show HN: Zedis – A Redis clone I'm writing in Zig
Oh that’s nice of you. I take that as a compliment.
Page 1 of 2Next →