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

I work on Bun and also spent a lot of time optimizing bun install. Happy to answer any questions


AFAIK `bun install` is similar to `npm install` in the sense that it installs everything in a flat structure inside node modules, why didn't you choose something like pnpm that I believe is better, because you cannot by mistake import a transitive dependency. Maybe that's a non issue for most, but I care about those things.


You can use `bun install --linker=isolated`, which we might make the default in Bun v1.3. The main downside is it makes your app load slightly slower since now every file path is a symlink.

https://bun.sh/docs/install/isolated


I didn't knew about it, thanks!


Kinda offtopic but how to you manage to stay so productive for so long?

Vitamins/supplements? Sleep? Exercise? Vacations?

I have sprints of great productivity but it's hard to keep it for long.


I just want to say thanks to you and the team and community. Bun is a treat to use.




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

Search: