!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
21 Mar 2026
@piegames:flausch.socialpiegamesFil-C is awesome12:42:59
@piegames:flausch.socialpiegamesExcept that memory safety is not our main problem with C++12:43:37
@k900:0upti.meK900 I do wonder if cppnix built with fil-c would be 10x slower or less somehow 13:10:06
@shalokshalom:kde.orgShalokShalom I read that compiled stuff becomes significantly slower, and that people use it to detect the issues, and not to run it it production. 13:11:03
@shalokshalom:kde.orgShalokShalom What is? 13:11:18
@raitobezarius:matrix.orgraitobezariusFil-C is not memory safe13:13:45
@raitobezarius:matrix.orgraitobezariusDon't see any interest in that thing13:14:21
@piegames:flausch.socialpiegames
In reply to @shalokshalom:kde.org
What is?
Ergonomics, developer experience, stdlib
13:15:45
@aloisw:kde.orgaloiswIt isn't? Memory safety is basically their headline claim …13:16:04
@piegames:flausch.socialpiegames Like, have you tried writing C++ code? C++ iterators are a work of madness 13:16:32
@qyriad:katesiria.orgQyriad^^^^^13:18:14
@raitobezarius:matrix.orgraitobezariusit doesn't solve data races, it doesn't any sort of reasoning over mutable aliasing13:18:16
@raitobezarius:matrix.orgraitobezariusit has a spatial safety instrumentation pass to clang (so out of band accesses)13:18:36
@raitobezarius:matrix.orgraitobezariusa runtime support library and a concurrent GC for temporal safety13:18:45
@qyriad:katesiria.orgQyriadWriting production C++ is like writing production Bash. It is extremely difficult to write Correct C++ code and it is extremely difficult to debug13:19:02
@raitobezarius:matrix.orgraitobezarius"memory safe, bounds checked, GCed ahead-of-time languages" (in the sense Fil-C claim to be) have been existing for a long time13:19:26
@raitobezarius:matrix.orgraitobezarius* it doesn't solve data races, it doesn't do any sort of reasoning over mutable aliasing13:20:12
@aloisw:kde.orgaloisw"Doesn't solve data races" in the C "they are still undefined behaviour" sense or in the Java "you may get weird values, but nothing bad happens otherwise" sense?13:31:10
@raitobezarius:matrix.orgraitobezariusstill UB13:32:07
@raitobezarius:matrix.orgraitobezariusanything that atomically updates a pointer must use the LLVM IR atomics in Fil-C13:32:26
@raitobezarius:matrix.orgraitobezarius(and so if you store a pointer in one thread and load in another, you may have tearing betwen the addr and caps parts of that pointer)13:32:58
@k900:0upti.meK900 Honestly fil-c is a good sanitizer 13:33:18
@k900:0upti.meK900It's just not any of the things they advertise it as13:33:30
@raitobezarius:matrix.orgraitobezariusi mean, i understand the demand for these tools and I'm happy someone actually made an implementation of two ideas that have been roaming13:33:58
@raitobezarius:matrix.orgraitobezarius e.g. https://dl.acm.org/doi/10.1145/1543135.1542504 13:34:14
@raitobezarius:matrix.orgraitobezarius and uhm https://cheri-alliance.org/ :D 13:34:23
@raitobezarius:matrix.orgraitobezarius(which all are cited by Fil-C to be clear)13:34:33
@k900:0upti.meK900 Also, this is a stupid thing that I should not get this hung up on 13:34:53
@k900:0upti.meK900But naming a programming language after yourself is rancid fucking vibes13:35:04
@raitobezarius:matrix.orgraitobezariusI think it would help too if the author was not claiming things like Fil-C is safer than Rust13:36:23

Show newer messages


Back to Room ListRoom Version: 10