| 10 Feb 2025 |
Tristan Ross | In reply to @dmjio:matrix.org 6 years old That's a little scary | 22:21:20 |
alexfmpe | wow | 22:21:35 |
maralorn | And the authors of the old and the new backend (which are largely the same people) told me that the new backend is already much better than the old one. | 22:21:48 |
maralorn | Our pin at work is roughly the same age. 😄 | 22:22:00 |
@dmjio:matrix.org | yea, but the cache makes it work well. Users end up building w/ two differrent compilers, and do code sharing w/ simple types. But we did have an issue where FromJSON changed. | 22:22:29 |
@dmjio:matrix.org | * yea, but the cache makes it work well. Users end up building w/ two differrent compilers, and do code sharing w/ simple types. But we did have an issue where a FromJSON instance changed. | 22:22:42 |
alexfmpe | can you easily look at the pre-closure pre-compressed payload sizes for miso-examples with your 8.6 pin and compare to these? because if they're similar, then 2 at least isn't a problem yet | 22:23:19 |
alexfmpe | I know the folks working on js backend have been throwing google closure compiler at hello world and whatnot successfully, I just haven't tried any of that myself, was strictly in "build it in nixpkgs" mode | 22:24:14 |
alexfmpe | so 3 is possibly fixed | 22:24:22 |
alexfmpe | 1 is probably fixed? wasn't this caused by spawning node processes like there's no tomorrow? | 22:24:45 |
maralorn | And this number 4 means, that the miso nixpkgs pin got too old and you somehow need a way out. Do I understand that correctly? | 22:24:47 |
maralorn | Well, come to think of it. It’s actually probably only 4 years old. | 22:25:18 |
alexfmpe | I see where I got confused. The commit adding the pin was ~2 years when I looked but the pinned commit is indeed from 2019 | 22:25:38 |
alexfmpe | * I see where I got confused. The commit last touching the pin was ~2 years when I looked but the pinned commit is indeed from 2019 | 22:25:43 |
@dmjio:matrix.org | Would love to see the new backend reach feature parity but I just feel like ghcjs users have to now become nix experts and/or compiler engineers, which some want to do I guess, others just wanna build web apps | 22:26:08 |
maralorn | That’s actually a valuable data point. I keep telling my boss that at some point we won’t be able to sustain this … | 22:26:49 |
alexfmpe | I'd think mainlining ghcjs makes it easier for users to consume with less hassle no? | 22:27:36 |
alexfmpe | $ nix-build -A pkgsCross.ghcjs.haskell.packages.ghc912.miso <-- this is how one builds miso for js backend on 9.12 inside nixpkgs | 22:28:39 |
maralorn | I kinda hate doing nix and nixpkgs stuff to. I also just wanna program Haskell apps. Alas, someone has to do the plumbing. Our collective goal here is to make all of this as smooth as possible, so that we can all get back to writing software. 😄 | 22:29:39 |
maralorn | * I kinda hate doing nix and nixpkgs stuff, too. I also just wanna program Haskell apps. Alas, someone has to do the plumbing. Our collective goal here is to make all of this as smooth as possible, so that we can all get back to writing software. 😄 | 22:29:52 |
alexfmpe | yeah, we're kind of in ripping off the band aid mode at this point | 22:35:25 |
maralorn | I mean really we in this channel are really not responsible for any of the ecosystem developments we just try to keep it all working together. 😄 | 22:35:33 |
alexfmpe | do you have a sense on how old their nixpkgs pin is? | 22:38:33 |
alexfmpe | like, are they using recent nixpkgs or not anywhere near that | 22:39:31 |
@dmjio:matrix.org | I'll try to get him in here to ask so I don't say the wrong thing | 22:39:52 |
@dmjio:matrix.org | alright let me try this, ideally I could just update miso's nix scripts to this and then nixpkgs 25 and hope and pray for the best? | 22:41:16 |
emily | (I think the decisions that lead to being on years-old Nixpkgs and years-old GHC and years-old […] are not uncorrelated…) | 22:41:42 |
alexfmpe | well I don't know about the "linking" bits of closure compiler and whatnot, but haskell-wise that's building on haskell-updates | 22:41:46 |
alexfmpe | well it might not matter for you if you're only getting libraries out of nixpkgs | 22:42:28 |
emily | (which is fine, until you diverge from the pattern by also picking "new OS version" or "new Nixpkgs version" or … and then either something breaks or a whole lot of maintenance burden just got offloaded on someone else) | 22:42:36 |