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.
borkdude 2019-10-14T11:31:28.026300Z

is that a limitation in practice though (apart from the Home issue)

2019-10-14T11:51:47.027100Z

if you need home to run wsl2, that effectively makes software that depends on it pro only no?

borkdude 2019-10-14T13:58:59.028900Z

from a faq:

Does WSL 2 use Hyper-V? Will it be available on Windows 10 Home?
WSL 2 will be available on all SKUs where WSL is currently available, including Windows 10 Home.
https://docs.microsoft.com/en-us/windows/wsl/wsl2-faq

2019-10-14T14:01:29.029900Z

oh, nice find. that sounds like pretty good news! the page also mentions that wsl 1 will remain supported -- at least atm -- apparently.

borkdude 2019-10-14T14:02:46.030800Z

If tooling like VSCode and scoop will integrate well with wsl2, then distributing binaries for Windows is a solved problem by just using the linux-compiled ones I guess. And this will open up possibilities using Clojure on GraalVM for that platform.

Filipe Silva 2019-10-14T19:32:47.031700Z

VSCode integrates with wsl2 via remote execution

Filipe Silva 2019-10-14T19:33:00.031900Z

https://code.visualstudio.com/docs/remote/remote-overview

Filipe Silva 2019-10-14T19:34:01.033Z

it'll run a server on WSL (or on a remote machine) and the UI on the local machine

Filipe Silva 2019-10-14T19:34:13.033300Z

extensions are also remote aware

Filipe Silva 2019-10-14T19:34:23.033600Z

for the case of clj-kondo, yes it should work

Filipe Silva 2019-10-14T19:34:41.034100Z

it's not really windows support but rather WSL support though

Filipe Silva 2019-10-14T19:35:28.034600Z

I had been looking into this recently as that is how I intended to run clj-kondo 😛

Filipe Silva 2019-10-14T19:36:39.035Z

in general though, this is the sort of thing that only helps advanced users

Filipe Silva 2019-10-14T19:37:40.036Z

novice or intermediate users have enough trouble getting things to work consistently on their own local OS, and adding a second OS with super specific limitations to manage does not help

seancorfield 2019-10-14T19:57:00.037700Z

@borkdude Sounds like they've changed something with WSL 2 then, so it will run on Home edition. It wouldn't last time I tried (I'm in the slightly complicated case of having Home on my laptop and Pro on my Mac desktop (as a VM) -- so my Pro install has no Hyper-V support. Again, at least last time I looked 🙂