!RbXGJhHMsnQcNIDFWN:nixos.org

Nix Haskell

611 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure123 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
6 Oct 2024
@sofo:matrix.org@sofo:matrix.org left the room.15:27:39
7 Oct 2024
@cdepillabout:matrix.orgcdepillabout
In reply to @emilazy:matrix.org
many a time I have been on the inside saying "nope, you can't do better than that", only to be blindsided when some person I've never heard of before comes along and does better in ways I would have said would never work ๐Ÿ˜…
I totally get this. Just the other day I replied to someone on one of my repos saying it wouldn't be technically possible to fix one of the issues they had opened. Only to realize a few minutes later they had already sent a PR fixing the issue I thought couldn't be fixed ๐Ÿค•
06:00:33
@emilazy:matrix.orgemily this PR clearly does not exist closes 06:01:35
8 Oct 2024
@eldritchcookie:matrix.orgeldritchcookiehow do i unmark broken something https://github.com/typedbyte/apecs-effectful/issues/1 14:33:29
@mangoiv.:matrix.orgMangoIVSomething that just came to mind due to other things: Does anybody who use Nixpkgs + Haskell at work do something crazy like compile the entire dependency tree with certain modifications like specific platform specific instructions or the LLVM backend? 14:41:22
@eldritchcookie:matrix.orgeldritchcookiewhat would be the benefits? i guess if performance is critical you could use SIMD via LLVM but unless you have a custom modification to GHC itself that seems like too much effort14:43:24
@mangoiv.:matrix.orgMangoIV
In reply to @eldritchcookie:matrix.org
what would be the benefits? i guess if performance is critical you could use SIMD via LLVM but unless you have a custom modification to GHC itself that seems like too much effort
I mean if you have a service that does a lot of arithmetic and the LLVM backend actually gives you considerable speed up then it might be very well worth a consideration.
14:45:10
@mangoiv.:matrix.orgMangoIVAlso mind that all the c libraries youโ€™re binding are compiled without vector instructions. 14:46:08
@mangoiv.:matrix.orgMangoIVThat can sometimes give you a nx speed up 14:46:50
@mangoiv.:matrix.orgMangoIVI just realised since Iโ€™m using a dep that implements an embarassingly parallelizable algorithm and the library actually wants to compile to AVX2 instructions but of course it doesnโ€™t 14:50:41
@alexfmpe:matrix.orgalexfmpe
In reply to @mangoiv.:matrix.org
Something that just came to mind due to other things: Does anybody who use Nixpkgs + Haskell at work do something crazy like compile the entire dependency tree with certain modifications like specific platform specific instructions or the LLVM backend?
Sort of? Using reflex-platform's package set means you get -fexpose-all-unfoldings everywhere plus a custom Text on JS plus a (not yet upstreamed) patch for GHC's garbage collection
14:54:11
@alexfmpe:matrix.orgalexfmpeI think miso also has a fancy String but not sure whether they replace Text with it14:54:35
@alexfmpe:matrix.orgalexfmpe* I think miso also has a fancy string on JS but not sure whether they replace Text with it14:54:46
@mangoiv.:matrix.orgMangoIVInteresting. Though probably not as far reaching as Iโ€™d imagine. Also instane wrt exposing all unfoldings, what kinda machine are these package sets built on?! ๐Ÿ˜‚14:55:42
@mangoiv.:matrix.orgMangoIV\infty Gb of ram 14:56:02
@alexfmpe:matrix.orgalexfmpeHmm yeah you kinda want reflex-frp's binary cache to avoid recompiling the world14:56:44
@alexfmpe:matrix.orgalexfmpeAt least until more stuff gets upstreamed14:57:00
@mangoiv.:matrix.orgMangoIVI mean you probably never want to upstream the fexpose all unfoldings stuff 14:57:40
@alexfmpe:matrix.orgalexfmpeI'm not sure how much RAM requirement there is, but ghcjs linking tends to already require 16GB 14:57:55
@mangoiv.:matrix.orgMangoIVI use it myself on some deps and it really makes things go much slower. 14:58:03
@alexfmpe:matrix.orgalexfmpe
In reply to @mangoiv.:matrix.org
I mean you probably never want to upstream the fexpose all unfoldings stuff
Correct, but shouldn't need to recompile ghc for that
14:58:22
@mangoiv.:matrix.orgMangoIVI mean recompiling GHC once or twice, who cares ๐Ÿ™ƒ๐Ÿ˜…14:58:53

Show newer messages


Back to Room ListRoom Version: 6