Embed Bun into Livebook to add ability to run TypeScript #3051
mikehostetler
started this conversation in
Ideas
Replies: 1 comment
-
It probably makes more sense to embed an existing JavaScript runtime like V8 or JSC rather than all of Bun or all of Node. The path would be similar to how we did PythonX in those cases, and it would start by doing language bindings first. Only then would we be able to discuss a potential Livebook integration. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Has there been any thought to embed JavaScript/TypeScript into Livebook - similar to how the PythonX package has approached this? It would be really cool to embed Bun as this runtime.
I understand that browser-based JS can be run via a SmartCell - I'm interested in more of a Node.js focused JS/TS runtime with support for the Node.js Standard Library.
Reading up on PythonX, I understand there's a unique approach to embedding and executing Python inside the BEAM that doesn't require Ports (yay)
I've been tracking this issue on the Bun project - with the idea of embedding Bun into a Rust NIF and exposing that to Elixir: oven-sh/bun#12017
This type of work is WAAAAY outside of my area of expertise - so I wanted to start a discussion to see if others were interested in such a feature.
Similar prior discussions
Beta Was this translation helpful? Give feedback.
All reactions