!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

428 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.141 Servers

Load older messages


SenderMessageTime
19 Apr 2026
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ& changed their profile picture.20:48:06
20 Apr 2026
@antifuchs:asf.computerantifuchsAll the lixcob talks I’ve seen recordings of so far are super great! Thanks for sharing them with all of us who couldn’t make it01:24:59
@antifuchs:asf.computerantifuchs* All the lixcon talks I’ve seen recordings of so far are super great! Thanks for sharing them with all of us who couldn’t make it01:25:12
@picnoir:alternativebit.frpicnoir changed their display name from Picnoir to picnoir.10:04:33
21 Apr 2026
@blokyk:matrix.orgzoë (@blokyk) changed their display name from zoë (she/her) to zoë (@blokyk).03:08:40
@blokyk:matrix.orgzoë (@blokyk) <disclamer>i'm not good at c++ / don't know much about the stdlib</disclaimer>
i've seen an old FIXME by jade_ about getting rid of libutil::enumerate in favor of std::views::enumerate, but a lot of uses of it are for libutil::Generator, which don't seem like they can be easily substituted given Generator's unique semantics (notably nested generators, which i don't think is supported by any stdlib types?).
so is that comment still relevant? or so, then do you plan to replace non-generator uses of it and keep Generator, or will Generator also be replaced at some point?
09:33:08
@blokyk:matrix.orgzoë (@blokyk) * <disclamer>i'm not good at c++ / don't know much about the stdlib</disclaimer>
i've seen an old FIXME by jade_ about getting rid of libutil::enumerate in favor of std::views::enumerate, but a lot of uses of it are for libutil::Generator, which don't seem like they can be easily substituted given Generator's unique semantics (notably nested generators, which i don't think is supported by any stdlib types?).
so is that comment still relevant? if so, then do you plan to replace non-generator uses of it and keep Generator, or will Generator also be replaced at some point?
09:33:28
@blokyk:matrix.orgzoë (@blokyk) * <disclamer>i'm not good at c++ / don't know much about the stdlib</disclaimer>
i've seen an old FIXME by jade_ about getting rid of libutil::enumerate in favor of std::views::enumerate, but a lot of uses of it are for libutil::Generator, which don't seem like they can be easily substituted given Generator's unique semantics (notably nested generators, which i don't think is supported by any stdlib types?).
so is that comment still relevant? if so, then do you plan to replace non-generator uses of it but keep it and Generator, or will Generator also be replaced at some point?
09:33:48
@qyriad:katesiria.orgQyriad LLVM libc++ doesn't have views::enumerate() yet :( 09:34:36
@qyriad:katesiria.orgQyriad Not sure about Generator though 09:35:20
@blokyk:matrix.orgzoë (@blokyk) oh i'm so dumb... i somehow misread the linked page about its stats ;-; 09:35:48
@blokyk:matrix.orgzoë (@blokyk) * oh i'm so dumb... i somehow misread the linked page about its status ;-; 09:36:21
@qyriad:katesiria.orgQyriad I did too the first time 09:36:28
@blokyk:matrix.orgzoë (@blokyk) it's surround by bright green Complete so it's easy to mistake 09:36:55
@blokyk:matrix.orgzoë (@blokyk)esp. weird because clangd doesn't flag it and gives you proper type checking for it09:37:36
@qyriad:katesiria.orgQyriad There's an open PR for it, but views::enumerate is surprisingly tricky https://brevzin.github.io/c++/2022/12/05/enumerate/ 09:37:56
@blokyk:matrix.orgzoë (@blokyk)haha yeah i stumbled on that exact article while trying to understand how to use it09:38:17
@qyriad:katesiria.orgQyriad Because, yknow, C++ 09:38:17
@blokyk:matrix.orgzoë (@blokyk) god stack traces being a Generator has been a thorn in my side every time i've made a repl-related cl >:| 09:40:53
@blokyk:matrix.orgzoë (@blokyk) * god stack traces being a Generator has been a thorn in my side every time i've made a repl-related cl, it's so annoying to work with >:| 09:41:11
@blokyk:matrix.orgzoë (@blokyk) * god stack traces being a Generator has been a thorn in my side every time i've made a debugger-related cl, it's so annoying to work with >:| 09:42:18
@blokyk:matrix.orgzoë (@blokyk) * god stack frames being a Generator has been a thorn in my side every time i've made a debugger-related cl, it's so annoying to work with >:| 09:44:08
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @qyriad:katesiria.org
There's an open PR for it, but views::enumerate is surprisingly tricky https://brevzin.github.io/c++/2022/12/05/enumerate/
I hate that enumerate uses a signed type…
10:11:29
@qyriad:katesiria.orgQyriad gods I know right 10:11:58
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)It’s like the classic C++ committee stupidity. Like why difference_type10:12:27
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)There’s a mandatory talk about views::filter10:13:51
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)It’s so full of footguns like being not thread safe10:14:06
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Or rather “it’s not thread safe if you call begin() for the first time concurrently”10:14:48
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)And modifying elements is also UB when it changes the predicate10:15:38
@antifuchs:asf.computerantifuchs* All the lixcon talks I’ve seen recordings of so far are super great! Thanks for sharing them with all of us who couldn’t make it12:00:02

Show newer messages


Back to Room ListRoom Version: 10