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

consider dropping Clojure (target only ClojureScript) #50

Open
facundoolano opened this issue Oct 26, 2017 · 4 comments
Open

consider dropping Clojure (target only ClojureScript) #50

facundoolano opened this issue Oct 26, 2017 · 4 comments
Milestone

Comments

@facundoolano
Copy link
Owner

The engine was written for Clojure because that was what I was learning at the time, but it feels like 99% of the time a user of this library will want to target primarily or exclusively the browser, because who wants to install clojure and play from the terminal?

Even while the conditional code was reduced a lot, removing reader conditionals in the requires alone would improve the readability of the code a lot.

Also, the project will become simpler and development process easier; I imagine new opportunities for improvement will become apparent once we start targeting a single host.

Obviously, unit tests and a better development workflow (i.e. better hot reloading without having to restart the game, fix whatever makes the figwheel repl unresponsive from time to time, etc.).

If you are reading this and think dropping terminal support is a bad idea, please chime in!

@facundoolano facundoolano added this to the v2 milestone Oct 26, 2017
@Gman98ish
Copy link
Contributor

Not saying you shouldn't drop terminal support, but it can compile to a .jar file which can be run so long as you have the java runtime installed (which pretty much everyone does)

@facundoolano
Copy link
Owner Author

If you are a developer then yes, you probably have jre (although I know devs that specifically avoid to have it). But you generally want non developers to play your game as well.

@ghost
Copy link

ghost commented May 2, 2019

A game can be compiled with GaalVM and it will not require jre.

@jprudent
Copy link

jprudent commented Oct 7, 2021

You can drop Clojure (JVM) support and still have real terminal support if you also target Nodejs

I think it's not a bad idea to consider CLJS only

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

No branches or pull requests

3 participants