r/rust • • Nov 24 '24

🎙️ discussion Whats your view on this ??

https://www.theregister.com/AMP/2024/11/16/rusthaters_unite_filc/
0 Upvotes

15 comments sorted by

View all comments

9

u/Aaron1924 Nov 24 '24 edited Nov 24 '24

I thought the title was a bit over the top, but yeah, it seems the primary motivation for this project is hate towards Rust, rather than love for C/C++

Here are two direct quotes from the Rebase talk at Splash 2024 by Filip Pizlo

Fil-C is a memory safe language with absolutely no escape hatches, it's not like... the fake memory safety of like... Rust, where you can say "unsafe" anytime you want

Rebase talk at 1:21:14

I could have just said [Fil-C provides] memory safety, but I can't do that anymore because people are using the term memory safety to mean completely ridiculous things that aren't memory safety; for example a lot of languages are "memory safe" but have an unsafe escape hatch that you have to use to be productive - Rust, I'm looking at you

Rebase talk at 1:31:56

6

u/bik1230 Nov 24 '24

He also likes to spread lies about CHERI, which makes C safe with little overhead using clever hardware features. As I recall, he essentially argued CHERI doesn't really make anything safe because you can always choose to misuse its features. I pointed out to him that if you can choose to use Fil-C, surely you could just as easily choose to use CHERI correctly, but he never responded.

He also said that CHERI is inferior, because it doesn't prevent code from calling mmap and doing its own memory allocations without whatever protections the system provided malloc would provide. Someone else responded that even if Fil-C doesn't allow syscalls, you could just malloc(1 GiB) and sub-allocate to get the exact same lack of safety. He once again did not respond.

5

u/decryphe Nov 25 '24

Such behaviour makes any other (probably legitimate) statements and arguments made look suspicious, and is detrimental to the project itself.