BackendStack21 / 0http-bun

Bun-based HTTP framework inspired by 0http
MIT License
4 stars 0 forks source link

How long I can use Restana-bun. #2

Open SaltFish001 opened 6 months ago

SaltFish001 commented 6 months ago

image This is what i can do.

SaltFish001 commented 6 months ago

Can you reWrite this lib use TypeScripts?

jkyberneees commented 6 months ago

Hi @SaltFish001, many thanks for supporting the project. I will add TS types soon, but not planning to port the code to avoid performance regressions in the sequential router.

Quick question about your suggestion for restana-bun: Is your primary goal code reusability, or are you focused on maximizing performance? A significant concern with supporting Node.js interfaces lies in the potential performance degradation, especially when compared to the more efficient Request and Response objects available in Bun through 0http-bun.

Regards

SaltFish001 commented 6 months ago

Maybe I need learn about Bun's api. Performance first.