Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

ES6 Runtime Plans #3

Open
theoparis opened this issue Jan 26, 2022 · 2 comments
Open

ES6 Runtime Plans #3

theoparis opened this issue Jan 26, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@theoparis
Copy link
Owner

theoparis commented Jan 26, 2022

I am working on finding out what the best way of embedding an es6 runtime would be.
It seems like both goja and otto don't support es6.

I am considering using Deno for several reasons.

  1. It has native TS Support
  2. It can compile to binaries
  3. It uses URL imports instead of node modules

However, it appears that this might not work due to Rusty V8 having no musl support. This means that I cannot build deno into a static binary to run on the kernel level.

Edit: It seems like node.js with https://koffi.dev/ might be the best way for now.

@theoparis theoparis added the enhancement New feature or request label Jan 26, 2022
@theoparis theoparis self-assigned this Jan 26, 2022
@theoparis theoparis moved this to Todo in JsOS Jan 26, 2022
@theoparis theoparis added this to JsOS Jan 26, 2022
@ghost
Copy link

ghost commented Dec 16, 2022

Hi theoparis

I am considering using Deno for several reasons.
It has native TS Support
It can compile to binaries
It uses URL imports instead of node modules

great idea.

@theoparis
Copy link
Owner Author

I've decided to go with Node for the time being. However, I am looking into Alexander's typescript compiler and I may use it in the future. The only downside is that the configuration has to be rebuilt instead of dynamically included at runtime. However, the performance benefits may allow more complicated programs to be written in TypeScript (such as a desktop environment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant