NixOS JVM | 121 Members | |
| 27 Servers |
| Sender | Message | Time |
|---|---|---|
| 17 Jul 2025 | ||
| It'll also just be in notifications in general | 18:55:23 | |
| I'm already overwhelmed by notifications haha | 18:55:47 | |
| ... but the bookmarking from notifications looks like it should work. Thanks for that suggestion! | 19:03:14 | |
| @emily do you mind if I copy/paste this into Issue #313213? | 19:09:36 | |
| sure thing | 19:10:49 | |
| but I'm excited to be proven wrong when I see a build error and go "oh no OpenJDK is really doing something cursed" :) | 19:11:13 | |
| (I do think it's probably only a day or two's job these days though, now that our macOS support is much better) | 19:11:31 | |
| "a day or two" probably means a week for me, but the Nix tasks I have on my to do list between now and September should probably help me level up. | 19:14:02 | |
| diving into the deep end is the best way to learn :P | 19:15:43 | |
| I'm happy to try and give pointers for anything that comes up but my available proper-review time is pretty limited sadly | 19:16:02 | |
| That is so true! But it does take time. | 19:16:05 | |
| yeah for sure I don't want to trivialize the learning curve | 19:16:16 | |
| I have a vested interest in believing Darwin package porting is fairly easy these days since I was involved in the 24.11 rework 😅 | 19:16:46 | |
| Vested interests in getting the right thing done are good! | 19:17:10 | |
| In the short term, I'm going to focus on getting binary JDK 25 (probably Zulu) and GraalVM 25 (probably Oracle) working in Nixpkgs. And also the JDK Dashboard tool, which seems like a cool way for me to learn more about Nix programming since it seems to basically require two things:
| 19:20:28 | |
| I would recommend Temurin, if you had to pick (because it'll be needed for the source bootstrap later) | 19:21:09 | |
| though it's still a way aways from being stable right? | 19:21:26 | |
| Actually 25 EA is pretty stable now, in my experience. | 19:21:46 | |
One of the things I'm doing is writing an FFM ("Panama") wrapper for a C' library, calling it from a Java tool/library, and then compiling the tool with native-image. In order for all this to work correctly on aarch64` GraalVM 25 is required. | 19:23:13 | |
* One of the things I'm doing is writing an FFM ("Panama") wrapper for a C library, calling it from a Java tool/library, and then compiling the tool with native-image. In order for all this to work correctly on aarch64\ GraalVM 25 is required. | 19:23:30 | |
* One of the things I'm doing is writing an FFM ("Panama") wrapper for a C library, calling it from a Java tool/library, and then compiling the tool with native-image. In order for all this to work correctly on aarch64 GraalVM 25 is required. | 19:23:40 | |
| I personally think 25 is a big milestone release for the JDK. The FFM stuff is really cool for many reasons. And finally the hello world program is reduced to:
| 19:26:24 | |
| I used to think that making "hello world" simpler wasn't a big deal, but it is important in 3 ways:
| 19:30:11 | |
| More importantly for me, it makes Java a lot more viable as a 'scripting' language | 19:30:40 | |
| You no longer need to have a mountain of boilerplate just to do something simple | 19:30:54 | |
| I wouldn't personally use it like that, for I am Guido's strongest soldier, but it's very nice to see | 19:31:12 | |
| * I used to think that making "hello world" simpler -- JEP 512 -- wasn't a big deal, but it is important in 3 ways:
| 19:31:20 | |
Yeah, JEP 512, combined with jbang (to load dependencies) means that you can use Java as a scripting language for many use cases where previously you might have used Python or Groovy or Shell. | 19:32:43 | |
| I can't remember if I've shared it here, but I have a (hacked-together, definitely-needs-cleanup) script to update Zulu: https://github.com/msgilligan/zulu-metadata-client/blob/master/ZuluQuery.java | 19:34:44 | |
| Conceivably something like this could be added to Nixpkgs as an updater for Temurin, Zulu, etc. | 19:43:28 | |