Comment by jauntywundrkind
15 hours ago
Very side note, but really liking seeing Elysia so close to the top on the benchmark list.
I've been using it, and pointing my LLM's to it as example code, because it's type system is so so much better than Hono's. https://elysiajs.com/
I didn't know that it was also flipping fast as frell. (Encore's benchmark is showing them as faster still, of course!)
Type system via a single schema looks similar to Hono+OpenApi+RPC, or is there a different advantage?
Maybe I'm wrong but it seems more like Hono+Zod
The parts where responses have schema-consistent types (OpenApi) and the same types can be used on the client without extra work (RPC) are outside of Zod.
> because it's type system is so so much better than Hono's
Can you elaborate?
I wish I had a better encapsulation, a better anecdote, that shared the improvement I've felt nicely.
Elysia does have a write up on how they compare to Hono. Their sound type safety section helps show some differences: https://elysiajs.com/migrate/from-hono.html#sound-type-safet...