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.
2019-06-20T08:13:29.131400Z

@lee thanks for the summary and filing. i like the native-image idea, but it's very new and its windows offering feels weak at the moment. for building an .exe, there is a pkg-lumo project which, iiuc, is supposed to package up lumo along with extra bits of one's desire into an .exe. i didn't have luck with the sample, but it looks interesting. also, i have heard jaotc mentioned a bit, but haven't seen it applied in a sample. on a related note, i have had some luck with the clj-windows unofficial clj tooling. that's written in go lang iiuc.

borkdude 2019-06-20T08:18:27.132600Z

@sogaiu windows is new, but it works - the only thing I’m wondering about is which dependency you need to install apart from your binary. it seems 2010 c++ redistributable works. I wish the GraalVM folks would document this

2019-06-20T08:20:59.136Z

i would very much like for it to work out - it's just not working as well for me atm :)

borkdude 2019-06-20T08:23:48.136200Z

me too 😉

borkdude 2019-06-20T11:04:32.137Z

fyi, I’m considering moving from scoop to chocolatey after all: https://github.com/borkdude/clj-kondo/issues/283

2019-06-20T11:40:08.138300Z

it seems a practical approach -- it appears that scoop does support runtime dependencies (see under https://github.com/lukesampson/scoop/wiki/App-Manifests#user-content-optional-properties), but if there isn't a package for the redistributable, it appears moot (unless perhaps one can be provided?)

2019-06-20T11:41:09.138700Z

fwiw, the field to look for is named "depends"

borkdude 2019-06-20T19:12:40.139200Z

btw, are there any statistics for how many Clojure users are on Windows?

carkh 2019-06-20T19:22:04.139500Z

there are units of us

seancorfield 2019-06-20T19:31:33.141700Z

I sort of straddle the divide. My day job is all Linux (and macOS for dev, for me) but outside work I use both Windows and macOS, so I do some amount of Clojure work -- OSS work -- on Windows.