Anyone else moving to Bun + Elysia? #1139
Replies: 3 comments
-
Elysia is nice inteed! The new ts server frameworks use all the newest typescript features, which makes them very typesafe. But beaware that compile and runtime performance can degrade significantly on larger projects when the Elysia Eden rpc is used. For Elysia, I didn't really like the Another awesome modern framework is hono and it runs on virtually any runtime. I think it's the most simple and straightforward. It also has end-to-end typesafety system called stacks and I like its api a lot. Incoming request validation is really powerful and it uses zod, instead of elysias typebox. It's definately a good choice for edge environments such as cloudflare workers! |
Beta Was this translation helpful? Give feedback.
-
The natural path would be for Node.js to go die in a corner while Deno, Bun takes over. But this assumes rationality. And in a sphere where Express and Socket.IO are still most used by far, I would guess there is no rationality. I mean look at Python. Python is very slow but grows in popularity day by day. Even PyPy isn't being used. People in this sphere will continue to use inferior software, and write tutorials for inferior software for a looooooooong time. |
Beta Was this translation helpful? Give feedback.
-
I can add that, I think both Deno and Bun are excellent steps forward from Node.js. Node.js is misdesigned and mismanaged and both Deno and Bun are faster in the ways uWS tries to improve Node.js. Bun is, like mentioned, even built using uWS and uSockets so if that project takes off I would not care to see uWS.js become irrelevant. My personal favorite right now (for simple things I sometimes build) is Deno. I've seen a lot of segfaults in Bun but Deno never fails. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been rawdogging uWebSockets.js with my own wrapper for years now, albeit numerous existing attempts to replicate the express api.
Lately the end-to-end type-safety movement has been gaining traction, so I started exploring.
Then I recall that https://bun.sh/ uses uws as a built-in underneath. I have tried the 0.x versions a long time ago but figured it's now time to revisit it. Installed the current version and it ran smoothly.
Then I tried https://elysiajs.com/ just today, I am floored by how well written and well documented it is.
Has anyone also tried it? What are your experiences?
Beta Was this translation helpful? Give feedback.
All reactions