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

Support java language #516

Open
2 tasks done
xaaksw opened this issue Feb 25, 2024 · 3 comments
Open
2 tasks done

Support java language #516

xaaksw opened this issue Feb 25, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@xaaksw
Copy link

xaaksw commented Feb 25, 2024

Type of feature

✨ Feature

Current behavior

No response

Suggested feature

To allow java devs to have a playground on the go

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Contributing Docs

  • I agree to follow this project's Contribution Docs
@hatemhosny
Copy link
Collaborator

hatemhosny commented Feb 25, 2024

Thank you for your interest and suggestions 💚

I would really love to support Java and kotlin (#517).
However, I am not "yet" able to compile and run them in the browser.

LiveCodes is a client-side only app. All compilation and processing occur in the browser. There is no backend to compile any of the 80+ currently supported languages. And I really want to keep it like that. This allows huge benefits like being able to easily (self-)host the app on any static file server (for free), ability to scale to serve a large number of users without adding almost any significant load on server (currently hosted on Cloudflare CDN), potential to run offline (not yet implemented), etc.

Please see: https://livecodes.io/docs/why

I would really be grateful if someone can help or guide compiling/running Java/kotlin in the browser.

And again, thank you 🙏

@hatemhosny hatemhosny added the help wanted Extra attention is needed label Feb 25, 2024
@hatemhosny
Copy link
Collaborator

The closest I could find is Cheerpj
https://cheerpj.com/

However, it is not open source.

@hatemhosny
Copy link
Collaborator

The other option would be loading a whole linux vm in the browser and use that to compile.
A much more complex approach, however, it allows supporting a lot more languages.

https://github.com/copy/v86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants