Recent submissions

Comment · 6 months ago
Looks to me like having the ability to write Go syntax and interop directly with C is the plus.
Comment · 6 months ago
Comment · 7 months ago
I do this all the time. I’ll spend weeks or months on a project, with thousands of wip commits and various fragmented branches. When ready, I’ll squash it all into a single initial commit for public consumption.
Comment · 9 months ago
Comment · 10 months ago
Or this.

    func fetchUser(id int) (user User, err error) {
        resp, err := http.Get(fmt.Sprintf("https://api.example.com/users/%d", id))
        if err != nil {
            return user, err
        }
        defer resp.Body.Close()
        return user, json.NewDecoder(resp.Body).Decode(&user)
    }
Comment · 1 year ago
A bird in the hand.
Comment · 1 year ago
Thanks! The Pogocache sharded hashmap design is optimized for extremely low contention and good memory locality. It super rare for any two threads to ever wait on the same key. That's the biggest part and it's all in the src/pogocache.c file. But the network layer is finely tuned too.

Mostly I perfed and profiled ad nauseam, monitoring cpu cycles along the way. I found that keeping a focus on latency and cycles was primo, and the rest fell into place.

Comment · 1 year ago
Thanks!
Comment · 1 year ago
Like an ACL file?
Comment · 1 year ago
Thanks you for the blog post about TG when it came out.
Comment · 1 year ago
Glad to bring another one into this world.
Comment · 1 year ago
The protocols are autodetected. No need to carry multiple ports around.
Comment · 1 year ago
Oh wow. That is dope. Thanks for sharing.
Comment · 1 year ago
Thanks Steve. Your feedback was very helpful.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton