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

Out of curiosity, could the learnings/toolings from this project have real improvements to more "practical" TypeScript?


yes! I completely skipped over it in the video for time, but the performance benchmarking tooling I had to make to is something everyone can benefit from, and I'm excited to find someone that sees how big it'd be for the TypeScript world if we can extract some of that (I'll need help!!)


I work with a couple type-dense libraries: Elysia and Kysely. Kysely holds up remarkably well. Elysia... Well...

Elysia is a backend framework like express. As you construct your routes — annotating the input structure and return types, it constructs a HUGE MEGA TYPE, that you can then use with a thin query client:

https://elysiajs.com/eden/overview

If I recall, the query client uses proxies. I did something similar before, this one is a much smaller codebase:

https://github.com/boehs/ajar

But as you can imagine, typescript does begin to lag when your routes enter the hundreds




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

Search: