DietPi icon indicating copy to clipboard operation
DietPi copied to clipboard

DietPi-Software | BunJS

Open 7heMech opened this issue 1 year ago • 1 comments

Creating a software request

This request might be unnecessary since installation is just one liner, but I'm adding it since nodejs has been added as well.

Formal software information

  • Software title | Bun
  • Short description | An extremely fast and optimized JavaScript runtime.
  • Official URL | https://bun.sh/
  • GitHub URL | https://github.com/oven-sh/bun
  • Install documentation | https://bun.sh/docs/installation

Are there similar/alternative software titles available with DietPi-Software?

  • NodeJS
  • Deno

What makes your requested software better than the above solutions, if available?

  • It's faster
  • Less RAM usage
  • Less CPU usage
  • Has better native APIs

Can you provide the installation steps that you would suggest DietPi-Software to do?

  • Well, the installation is literally this: curl -fsSL https://bun.sh/install | bash

Are you willing to help maintaining the software installation, e.g. in case of needed setup changes due to updates etc.? This is not needed, but could speed up our decision to implement it, as man power is always a topic :wink:.

  • Yes

7heMech avatar Aug 05 '24 07:08 7heMech

Not bad to have a JS alternative. Just the question is how many do or gonna use it.

I would skip their installer and download the binaries directly, probably even make DEB packages from it. It however does not seem to support 32-bit (ARM) and RISC-V, as least their installer does not pull binaries for those.

Hmm, any packaging will however conflict with their bun upgrade command. I do not like such internal update commands, of they cannot be disabled at compile time, since it makes own distributions impossible (without assuring havoc with package and internal updater colliding).

MichaIng avatar Aug 06 '24 17:08 MichaIng