!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

125 Members
23 Servers

Load older messages


SenderMessageTime
7 Dec 2024
@6pak:matrix.org6pak * but it might get cached on the file path returned from the resolver23:32:47
@gggkiller:matrix.orgGGGI think this is just me worrying about an issue that doesn't exist honestly23:33:01
@gggkiller:matrix.orgGGGwouldn't worry about it for now23:33:11
@gggkiller:matrix.orgGGGyou'd need a really massive number of libraries to actually get a performance hit from a linear search23:33:33
@6pak:matrix.org6pakI bet the ffi stub for dlopen will take more time than iterating 100 strings in the array23:33:46
@gggkiller:matrix.orgGGGyeah, it's probably a non-issue23:34:02
@6pak:matrix.org6pakI'd be down to write it23:35:53
@6pak:matrix.org6pakso the most important question: whats the name23:36:06
@gggkiller:matrix.orgGGG patchcil 23:43:02
@gggkiller:matrix.orgGGGis what I was gonna call it23:43:06
@gggkiller:matrix.orgGGG what do you have in mind? I was planning to use Mono.Cecil 23:43:55
@6pak:matrix.org6pakAsmResolver > cecil23:46:37
@6pak:matrix.org6pakis there anything in nixpkgs that dynamically loads native libraries?23:54:14
@gggkiller:matrix.orgGGGwell, there are a few native tools that dynamically load native libs23:54:36
@6pak:matrix.org6pakI mean C# apps23:54:47
@gggkiller:matrix.orgGGGI'm not sure, but dotnet itself already does23:55:04
@6pak:matrix.org6pakin the C++ part of the runtime though23:55:52
@gggkiller:matrix.orgGGGthough through native code afaika23:55:53
@gggkiller:matrix.orgGGG * though through native code afaik23:56:00
@gggkiller:matrix.orgGGG I'd have to look to see if anything uses NativeLibrary.Load 23:56:15
@6pak:matrix.org6pakand only icu in .NET 9+23:56:21
@6pak:matrix.org6pakbecause zlib is statically linked now23:56:30
@gggkiller:matrix.orgGGGopenssl23:56:34
@gggkiller:matrix.orgGGG * openssl too23:56:39
@6pak:matrix.org6pakoh right23:56:40
8 Dec 2024
@gggkiller:matrix.orgGGGideally the repo should be under the NixOS org, but I guess initially we'll have to leave it in one of our accounts before we get it fully working and widespread use00:09:20
@gggkiller:matrix.orgGGG it'd also be nice to have an equivalent of autoPatchelfHook 00:09:28
@gggkiller:matrix.orgGGG Corngood: any tips to speed up the SDK source build? or no option other than just wait? 00:37:22
@gggkiller:matrix.orgGGGit is pretty slow on my machine, takes a bit over an hour00:37:42
@corngood:corngood.comCorngood Unfortunately I don't think so. It's brutal, and it seems to go pretty wide for most of the build. I think it might be overkill to built your patchelf change with the source builds of both sdk 8 and 9. 00:40:13

Show newer messages


Back to Room ListRoom Version: 9