Y
Hacker News
new
|
ask
|
show
|
jobs
by
alimnes
780 days ago
Do you use uwebsocket with Bun explicitly? I thought Bun has websocket support built in by internally using uwebsockets?
1 comments
billywhizz
780 days ago
Yes, Bun uses uWebSocket internally. I think OP was saying the perf gain comes from the combination of Bun + uWebSocket. For http, most of that is coming from uWS, which is pretty much best performing HTTP framework out there ime.
https://github.com/oven-sh/bun/blob/main/src/http.zig#L34
link
https://github.com/oven-sh/bun/blob/main/src/http.zig#L34