4 ms·
I don't think Bun got harsh feedback, it's just that it is response to unfulfilled performance potential existing in node, one because of javascriptcore and ano
by matesz 4y ago
I don't think Bun got harsh feedback, it's just that it is response to unfulfilled performance potential existing in node, one because of javascriptcore and another because of better implementations of everything else node does I suppose.
From what I understand the author was proposing some solutions which could speed up node by a lot, but this wasn't considered by node community for some reason. Not sure if he did or is it only marketing trick to make others use his lib.
However I don't understand one thing - why thing like uwebsockets wasn't merged into/incorporated into node runtime if it is, in author's terms, clearly much much better? Node is used by millions of people and significant performance improvement is a big deal. I really don't get it.
Hence the question - does somebody use it in prod (uwebsockets.js) and can share their experience?
- matesz 4y agoNew benchmarks comming in [1]. Not a landslide, but still 20% faster - which is little. ps. Node: 156.15/s Bun: 283.51/s [1] https://www.reddit.com/r/node/comments/vwuxqr/node_is_3_times_faster_than_bun_in_my_small/ifv55f2/?utm_source=reddit&utm_medium=web2x&context=3 https://www.reddit.com/r/node/comments/vwuxqr/node_is_3_time...
- matesz 4y agoOk Alex Huntman (creator of uws) and Jarred Sumner (creator of bun) exchange some words here [1]. It turns out Bun is using uws under the hood. [1] https://github.com/uNetworking/uWebSockets/discussions/1466 https://github.com/uNetworking/uWebSockets/discussions/1466