Live data from Hacker News

Viewing profile — tidwall

tidwall

HN member
Joined
Tue, Feb 03, 2015, 11:34 PM UTC
HN karma
883
Public activity
195 items

About tidwall

No profile information was provided.

Recent public activity

  1. comment
    Comment #47669939

    Looks to me like having the ability to write Go syntax and interop directly with C is the plus.

  2. comment
    Comment #47669910

    "To keep things simple, there are no channels, goroutines, closures, or generics." I wonder if it could be integrated with https://github.com/tidwall/neco , which has Go-like corou…

  3. comment
    Comment #47556895

    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…

  4. comment
    Comment #46592294

    This reminds me of a card swiping video game system I made years ago. https://youtu.be/Z2xq3ns5Hsk https://github.com/tidwall/RetroSwiper

  5. comment
    Comment #46434108

    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.Bo…

  6. comment
    Comment #45764336

    A bird in the hand.

  7. comment
  8. comment
    Comment #44642074

    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. Tha…

  9. comment
  10. comment
    Comment #44641365

    Like an ACL file?

  11. comment
    Comment #44641356

    Thanks you for the blog post about TG when it came out.

  12. comment
    Comment #44641342

    Glad to bring another one into this world.

  13. comment
    Comment #44641332

    The protocols are autodetected. No need to carry multiple ports around.

  14. comment
    Comment #44641292

    Oh wow. That is dope. Thanks for sharing.

  15. comment
    Comment #44640133

    Thanks Steve. Your feedback was very helpful.

  16. comment
  17. comment
    Comment #44638986

    Yes, it is highly hand optimized. There's a description of some of the methods I used near the bottom of there README. I mainly focused on minimizing contention, with the sharded h…

  18. comment
    Comment #44638927

    Not intending to make pogocache into a sql database. I prefer keeping it a cache. More so exploring ways to work with existing databases such as sqlite, duckdb, postgres. Kinda lik…

  19. comment
    Comment #44638536

    That's the only way right now. The other ways I'm considering is with an environment variable and/or acl.

  20. story
  21. comment
    Comment #44596664

    I updated the graphs to use linear scaling. Thanks for the feedback

  22. comment
    Comment #44596655

    Memcache binary protocol was deprecated years ago. It’s no longer recommended to be used.

  23. comment
    Comment #44595152

    Thanks for the feedback. The plateauing is due to a taskset misconfiguration. I fixed it and reran the benches. They look much better now.

  24. comment
    Comment #44595142

    Thanks for the feedback. I updated the graphs to use linear scale by default. Log scale is still available, which is useful for latency viewing. Also only included the summarized g…

  25. comment
    Comment #44546839

    Context is not required in Go and I personally encourage you to avoid it. There is no shame in blazing a different path.