nodejs-buildpack icon indicating copy to clipboard operation
nodejs-buildpack copied to clipboard

Bun support

Open janfrl opened this issue 1 year ago • 2 comments

Hi,

are there any plans to support Bun as a runtime or package manager? Bun aims to be compatible with Node.js and I think it could improve performance and reduce resource usage compared to Node.js, as Bun is optimised to use less memory.

I couldn't find anything regarding Bun and Cloudfoundry online and I don't have much experience regarding buildpacks. Maybe it would make sense to create a separate buildpack for it?

janfrl avatar Jun 10 '24 09:06 janfrl

I am a Deno user. Any support for Deno?

kesavkolla avatar Sep 16 '24 19:09 kesavkolla

You can use the binary buildpack and simply include the deno or bun runtime alongside your code and dependencies. The same works for nodejs + node_modules + dist.

Make sure that the binaries for bun and/or deno and/or node you push to the cloud-foundry app matches the servers cpu architecture.

lukas-becker0 avatar Dec 12 '24 20:12 lukas-becker0