-
Notifications
You must be signed in to change notification settings - Fork 66
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
Windows support #54
Comments
For option 1, probably would need to think about Windows differences such as:
|
There is now a CI setup running windows builds. So the first step would be to make the tests pass (some tests need to be fixed, for some the implementation needs fixing). |
FWIW, following the CI setup link just gave:
|
I disabled Windows CI a while ago because it was getting in a way. Also we started with node.js version which was more difficult to run on windows. I think the Java version should be easier to make running on windows. Are you familiar with windows to try things out? |
Not sure if I know enough, but just spent some time loading up Windows-related context for a different project that is using the Windows support for Graal's native-image. I thought I might take a look to see if there was anything manageable -- though I'm mostly interested in fast startup times. If it could be made to work, it seems like the node.js version would start a fair bit faster. Does that seem correct? |
Yeah, the node.js version should be slightly faster. But it is not the best we can do since I was not yet able to hook into lumo build system and make it compile as a single binary. If startup times are your top concern, I would also suggest checking out joker. As for windows builds in general maybe if we wait long enough the need can go away as WSL improves. So in the future one could probably just run the Linux binary on Windows. |
Thanks for your comments and suggestion. I had considered joker, but my primary interest at the moment is editor tooling for Clojure involving the use of rewrite-clj, and assumed that library wouldn't work with joker. But perhaps I should confirm :) Regarding WSL, I heard a version 2 had become available recently. Is that something you've tried already? |
I'm running Windows 10 Build 1909 and WSL. Closh works fine in WSL Ubuntu 1804 with Windows Terminal . All I had to do was run |
Running in a PowerShell window on Windows 10, not under WSL at all, I can get closh to run by starting it with If I run But this is the problem. Under Under WSL, like @supernovae, I really had no problem running it. WSL is the Windows Subsystem for Linux and it runs closh just as it would on any other Linux distribution. I used OpenJDK 8 for all of my testing, both in WSL and on Windows directly. |
There is a trouble running a startup script on Windows. In order to make closh on Windows I imagine two ways could work:
If anyone uses Windows please give it a shot. Any help is appreciated.
The text was updated successfully, but these errors were encountered: