3 ms·
somewhat off-topic but this is the first time I see bun actually used for something other than "let's compare it to node"
by amne 3y ago
somewhat off-topic but this is the first time I see bun actually used for something other than "let's compare it to node"
- ge96 3y agoSomeday, witty remark about anaconda and bun
- devon_c 3y agoI generally just follow the "It's a drop in replacement for node" and hope the APIs I need are there. Also makes me feel like a 2023 bleeding edge blazingly fast developer which is 90% of the use case right?
- pzmarzly 3y agoThe project seems to have 0 external runtime dependencies, it should work without "bun install". That is really cool. In the code, it is using typescript, fetch API (so no need for node-fetch) and Bun.serve (so no need for express). From my experience, a lot of users fail to get Node.js projects running - the distributions (Debian, Ubuntu) still ship ancient 10.x or 12.x versions, npm may or may not be installed, "npm install -g" will try writing to /usr by default and fail with EACCESS, etc. Bun gets the UX right - I think that author could even try "bun build --compile" to get ELF binary with bun interpreter and JS payload.