Open alshdavid opened 2 months ago
+1 from my side cases: adding bun as a scripting provider to game engines
@0xF6 I was looking for that as well.
Basically what I think Bun could do there:
bun build --compile
into a shared library instead of an exe, this shouldn't be too complicated.+1
What is the problem this feature would solve?
Many native projects would like to be able to embed a JavaScript runtime that can leverage the Nodejs ecosystem and Nodejs standard library.
What is the feature you are proposing to solve the problem?
Offer a dynamic C library (or a Rust crate) that allows Bun to be embedded within another native application
What alternatives have you considered?