Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Has anyone of you experience with the fasthttp Go library[0]?

Does it keep its promise in terms of speed? (I assume real world code would spend much more time in actual business logic than their examples/benchmarks so I guess there wouldn't be as much a difference as they claim, but the idea of zero allocations intrigues me)

[0]: https://github.com/valyala/fasthttp



The fasthttp library is good if you don't need to support corner cases of HTTP and you don't need HTTP/2.

If that is given, yes, it's faster.


If you want HTTP/2 support Chi[0] can probably help. It's plenty snappy too.

[0]: https://github.com/pressly/chi


I don't recommend it; it doesn't actually implement HTTP, and the stdlib package net/http is extremely fast on its own.


It doesn't support http2.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: