!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

219 Members
67 Servers

Load older messages


SenderMessageTime
13 Feb 2026
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)I think glibcxx assertions are roughly second level libc++ hardening. At least that’s what meson enables with n_debug23:56:14
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)In my experience the overhead is enough to necessitate disabling hardening for some translation units that are just too hot and aren’t security sensitive23:57:38
@emilazy:matrix.orgemily second level = fast (numeric value 2) or extensive? 23:58:24
@emilazy:matrix.orgemily because macOS upstream default is fast so we certainly wouldn't go below that OOTB 23:58:31
@emilazy:matrix.orgemilywould be interesting to see if 25.05 → 25.11 regresses macOS Nix perf anyway23:59:07
@emilazy:matrix.orgemily(but controlling for version might be hard?)23:59:12
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @emilazy:matrix.org
because macOS upstream default is fast so we certainly wouldn't go below that OOTB
As in the llvm toolchain enables that by default?
23:59:13
14 Feb 2026
@emilazy:matrix.orgemily

yes:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config_site
43:#define _LIBCPP_HARDENING_MODE_DEFAULT 2
00:00:26
@emilazy:matrix.orgemily (2 is fast) 00:00:29
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @emilazy:matrix.org
would be interesting to see if 25.05 → 25.11 regresses macOS Nix perf anyway
Hm, I guess the only way to tell is to benchmarking :) I could see about how that would affect nix itself. Undefing the flag should be easy enough
00:05:09

There are no newer messages yet.


Back to Room ListRoom Version: 9