clj-on-windows

For those interested in making clj on Windows https://dev.clojure.org/jira/browse/TDEPS-67. Also see https://github.com/littleli/scoop-clojure.
lread 2019-06-23T13:46:17.144400Z

I am on macOS for a long time now but am dipping a toe back into Windows to flesh out cljs build/test script support for Git Bash

2019-06-23T21:06:45.146Z

have rotated among the 3 for a while, just recently using windows more for arcadia / unity, neanderthal, and graal / native-image -- definitely interested in stats on windows-using clojure folks.

borkdude 2019-06-23T21:13:16.146600Z

fwiw, I put this note in the release notes of the latest clj-kondo: > It is unclear what is needed to run the Windows binary on other Windows systems. Until we find that out, Windows is considered experimental, or as GraalVM likes to call it: early adopter. See: #276.

lread 2019-06-23T22:02:08.149600Z

might be that Windows users have been scared away by lack of support - but since that is changing we might attract more? eventually? We have @carkh though! Nice to have someone who lives in Windows here!

carkh 2019-06-23T22:12:14.150600Z

bunch of macbook toting, starbucks dwelling yuppies in this community =)

carkh 2019-06-23T22:13:07.151200Z

back in my days there were no linux or macbooks, now get out of my lawn =)

carkh 2019-06-23T22:15:22.151600Z

what a ride it has been though, from turbo pascal to clojure ...

carkh 2019-06-23T22:22:10.152900Z

Over the year; I've been having only a few problems with clojure and windows really. It's only the recent'ish clojure cli that's been troublesome

carkh 2019-06-23T22:22:33.153400Z

people are really starting to adopt it, and i have to make it work now

2019-06-23T22:24:22.154Z

fwiw, the unofficial clj / clojure tool has been helpful here

carkh 2019-06-23T22:24:47.154500Z

@sogaiu what editor are you using on windows ?

2019-06-23T22:25:39.154800Z

i use emacs and vscode

carkh 2019-06-23T22:25:53.155100Z

emacs cider ?

2019-06-23T22:26:03.155400Z

no, i am not a nrepl fan

carkh 2019-06-23T22:26:24.156Z

i love it with lein

2019-06-23T22:26:32.156300Z

it's good it's working for you šŸ™‚

carkh 2019-06-23T22:27:01.156700Z

not quite with clojure cli, but we'll get there eventually !

2019-06-23T22:27:16.157100Z

i hope sooner rather than later!

1šŸ‘
seancorfield 2019-06-23T22:51:27.158200Z

When Iā€™m doing Clojure work on my Windows laptop, I mostly use Atom/Chlorine on the Windows side and clj on the Powershell side, so that I can start up REBL and a Socket REPL.

seancorfield 2019-06-23T22:52:42.159700Z

Prior to the PS version of CLI, I ran clj on WSL to get a Socket REPL up and Atom/Chlorine on the Windows side (but no REBL, sadly). Chlorine has logic to understand how to map Windows filesystem paths to WSL paths when doing load-file so that combo works.

seancorfield 2019-06-23T22:54:57.161600Z

The nice thing about the Socket REPL approach is that you can attach your editor to any process with no dependencies. Just add the JVM option when starting the process. In my ~/.lein/profiles.clj file I have

:socket {:jvm-opts ["-Dclojure.server.lein={:port 55555 :accept clojure.core.server/repl}"]}
so that I can use Atom/Chlorine and a Socket REPL even in Leiningen projects:
lein with-profile +socket repl
Starts nREPL and the REPL and a Socket REPL to connection Chlorine to.

carkh 2019-06-23T23:21:22.164600Z

That's a nice take on it, remoting is a good solution. Though i don't see the added value of poweshell, or wsl with its slow disk access.

carkh 2019-06-23T23:22:38.164900Z

next wsl should be better though, so wait and see =)

carkh 2019-06-23T23:29:14.167100Z

End of the day vanilla windows is competent enough to start a jvm with a couple jars, we've been doing it for years, it's a bit frustrating to suddenly have to fight with powershell and work around it

carkh 2019-06-23T23:30:18.167800Z

I'm always the grumpy one, i remember how pissed i was on the uptake of lein back in the days =)

carkh 2019-06-23T23:30:22.168Z

anyways gnight