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

How does Hono compare to Elysia?

I often heared both mentioned together with Bun.



Performance-wise, both are nearly identical - fast.

Both frameworks support route groups, middleware, context, and mounting apps from other frameworks.

Both are WinterCG compliant - deployment to platforms other than your own server or Docker, such as Cloudflare or Vercel Edge, should not be an issue.

Hono appears to be very focused on serverless and edge runtimes like Fastly Compute, Lambda@Edge, Supabase Functions, etc.

Both offer their own RPC implementations:

- Hono: RPC in Hono: https://hono.dev/concepts/stacks#rpc

- Elysia has Eden—its own end-to-end type safety RPC: https://elysiajs.com/eden/overview.html

So, it's a matter of preference, I would say.

I'm personally using ElysiaJS in production and have zero complaints.


That's very helpful. I'm also using Elysia in several small projects. Considering that the official stable 1.0 release was in March, it might be mature enough for production use.


Nice, thank you!




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

Search: