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

How does the C++ command line version work? #78

Open
cblc opened this issue Aug 5, 2024 · 1 comment
Open

How does the C++ command line version work? #78

cblc opened this issue Aug 5, 2024 · 1 comment

Comments

@cblc
Copy link

cblc commented Aug 5, 2024

I'm not a web developer, so that explains why I'm asking this question. I see that Diagon is written in JS. How does the C++ standalone application invoke the JS code? Is it through a browser invoked from the command line? The question is basically because I would like to use Diagon in my apps, but I have some requirements: the apps must be able to run with no Internet connection, they cannot depend on Python, I cannot bundle a full Javascript interpreter in my apps (that would be way overkill for my small apps), and, to be honest, I'd rather prefer not to depend on web browsers either...

@ArthurSonzogni
Copy link
Owner

Diagon is written in C++.

I can be used everywhere and portably, including in a web browser via a C++ -> WebAssembly compile step. It is also lightweight (707 KB .deb) and without any runtime dependencies.

Happy to help you if you have questions around using it as a C++ library.

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

2 participants