Re:Zig now has built-in HTTP server and client in std
by _hypx on Saturday May 20, 2023 @10:46PM
(#36017577)
For a lot of cases, 0% unsafe code is pretty unrealistic. Using even 50% unsafe code means that you must be able to reason about how safe and reliable the code really is. At which point you are better off with a simple language that a good developer can quickly figure out what is happening. A complex language makes this harder, not easier.
[ Parent
| on HN ]
Re:Zig now has built-in HTTP server and client in std
by xedrac on Sunday May 21, 2023 @02:12PM
(#36023377)
I think we can just disagree here. But I have to assume you haven't done any significant development in Rust, or at least haven't experienced the freedom it gives once you get over the initial awkwardness. I find Rust is easier to reason about than C, partially because it's more explicit. And that its compiler is better than a good C developer. I've mentored many veteran embedded C developers who scoffed at Rust with a similar attitude. Within a month or two though, they all changed their tune and came to prefer it.