Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the package maintained? #125

Closed
uwejan opened this issue Dec 8, 2022 · 10 comments
Closed

Is the package maintained? #125

uwejan opened this issue Dec 8, 2022 · 10 comments

Comments

@uwejan
Copy link

uwejan commented Dec 8, 2022

Hey guys, i see no commits for a while, is this package abandoned?

@andrieshiemstra
Copy link
Contributor

I think the biggest problem is quickjs itself not getting a lot of love.

I actively maintain my own wrapper lib over here (https://github.com/HiRoFa/quickjs_es_runtime).

Kind regards

@uwejan
Copy link
Author

uwejan commented Dec 8, 2022

@andrieshiemstra. To be honest, I am to consider an engine for my app.
Duktape seems to have a really good pulse. Many good projects already using it. But since it is C based and I use rust on my software, Hmmm.
Any way I am on hunt searching the internet. I could not find a well maintained duktape package in rust, So I came accross here.

Thank you.

@andrieshiemstra
Copy link
Contributor

if you want pure rust, consider boa (https://github.com/boa-dev/boa)

if you want higher compatibility and performance: roll your own deno (https://deno.com/blog/roll-your-own-javascript-runtime)

Kind regards

@uwejan
Copy link
Author

uwejan commented Dec 8, 2022

if you want pure rust, consider boa (https://github.com/boa-dev/boa)`
Boa as my google research says it is still slow in performance.
boa-dev/boa#2203 (comment)

if you want higher compatibility and performance: roll your own deno (https://deno.com/blog/roll-your-own-javascript-runtime)
Can not use anything runs V8, I am looking for low footprint. Whereas V8 memory consumtion 28MB menimumm.

Thank you.

@andrieshiemstra
Copy link
Contributor

In that case I think you'll like mine :) https://github.com/HiRoFa/quickjs_es_runtime

@theduke
Copy link
Owner

theduke commented Dec 9, 2022

I haven't had much time to work on the bindings.

As mentioned, QuickJS is relatively abandoned.
It's probably better to look for different options.
BUT: QuickJS still absolutely trounces the other lightweight engines in ES compatibility.

I wouldn't say no to someone wanting to help out with maintenance!

@andrieshiemstra
Copy link
Contributor

Hi, I'm happy to help with maintenance next time there's an update of quickjs but it's pretty much dead...

Every time I have some spare time I'm tempted to start a complete rewrite in rust but it seems quite the undertaking.. slimjs ofcourse is an awesome effort but it didn't make the code very readable or maintainable did it?

@andrieshiemstra
Copy link
Contributor

Also noteworthy: https://github.com/second-state/wasmedge-quickjs

@uwejan
Copy link
Author

uwejan commented Apr 8, 2023

Hey @andrieshiemstra
I am back on this project, I wish to tkae your system design approach on this matter.
Say I have myApp.exe binary app, already compiled, built using C language, has Duktape integerated. I wanted to modify a variable value without re-compile here Duktape comes in handy, ./script.js db=abcd myApp.exe Boom doen, no need to recompile.
So, my question for you, I to use rust-lang for my app and your lib, will I be able to do the same as mentioned?

@andrieshiemstra
Copy link
Contributor

Hey @andrieshiemstra I am back on this project, I wish to tkae your system design approach on this matter. Say I have myApp.exe binary app, already compiled, built using C language, has Duktape integerated. I wanted to modify a variable value without re-compile here Duktape comes in handy, ./script.js db=abcd myApp.exe Boom doen, no need to recompile. So, my question for you, I to use rust-lang for my app and your lib, will I be able to do the same as mentioned?

Hi @uwejan
Yes sure, you can run javascript and alter that script and run again without recompiling your executable
Please find my 'getting started' here and feel free to ask questions here here.

Kind regards
Andries Hiemstra

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants