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-07-23T03:22:45.109100Z

@carkh i pulled, rebuilt, and ran testparsing.exe -- all results returned [OK] also, if you do decide to build clj-kondo and you haven't looked already, you might find the following useful: https://github.com/borkdude/clj-kondo/blob/master/doc/build.md#user-content-windows -- preparation of the appropriate build environment is annoyingly manual (uninstalling certain vs c++ redistributables + registry editing to get windows sdk 7.1 to install appropriately).

2019-07-23T03:23:39.109600Z

i also have a summary at: https://gist.github.com/sogaiu/e079cd770051685c46ab24b6658effcf

carkh 2019-07-23T03:38:20.110200Z

thank you @sogaiu , I'll keep your gist at hand

carkh 2019-07-23T03:39:41.110900Z

Thanks also for your testing ! As for the clj-kondo link, borkdude already provided it to me =)

2019-07-23T03:52:25.111300Z

ah, yes, failed to see it above 🙂

2019-07-23T04:33:38.113Z

i haven't heard this mentioned yet, but iiuc, powershell core seems to run on "the 3" platforms in some capacity, so at some point it seems possible it may be chosen for portability and maintenance in some projects over bash.

carkh 2019-07-23T05:01:21.113700Z

not until all platforms install it from the start i think

2019-07-23T05:11:04.115700Z

i think it depends -- for developer-oriented projects where installation of pieces is a given, installation of powershell core is just another install -- i've been considering it for a few things so i don't have to muck around with bash on 2 platforms and something else on windows.

carkh 2019-07-23T05:20:36.116700Z

I come from the other direction, projects ought to make it as easy as possible to be used, though without sacrificing core values

carkh 2019-07-23T05:21:34.117100Z

if it makes life easier it's acceptable depending on the uptake of core i guess

2019-07-23T05:32:42.121100Z

there is the deployment portion, which i agree should be made easy to be used -- for the clj-on-windows case, yes, installing powershell core is likely to be somewhat of a burden for macos and linux distributions atm, so it's not currently a great story. for other projects where the powershell core requirement is only for building (and not running) the end product, it seems less problematic to me. it would be nice if the actual building process were easy too, but there often appears to be a trade-off involved where making something easy-to-build on multiple platforms is sometimes (often?) at the cost of making it harder to maintain.

carkh 2019-07-23T05:35:57.122600Z

multi-platform is a nightmare in itself, there is a reason java is so big, and still it doesn't manage to fully abstract the underlying os

carkh 2019-07-23T05:36:20.122900Z

diversity is good though

carkh 2019-07-23T05:36:37.123300Z

if not for maintainers =)

2019-07-23T05:36:43.123500Z

i agree, single platform is not healthy

2019-07-23T05:36:59.123700Z

same for browsers 🙂