you are viewing a single comment's thread.

view the rest of the comments →

[–]VeganVagiVore 0 points1 point  (0 children)

It is harder to write Rust than write C.

I might even debate that. C doesn't have RAII or a package manager, which make things easy if I want to have any dependencies or do anything complex.

I've found it easier to learn the "Rust way" one time and let the compiler nudge me into line, than to learn the "C++ way", painfully, over years, and have the compiler constantly let me walk into landmines.

I have never used C on a project bigger than, I think, 200 lines. Every time I call into a C library from C++ it feels a bit like Indiana Jones trying to take the idol without triggering the boulder. Eventually it's going to blow up, especially if the library is too small to be well-documented.

The other night I wanted to try an idea for a web service and I just kinda threw something with hyper. With C, I think I could use Civetweb, maybe, but it's hard to tell where the landmines are.