by bobajeff · 4y ago · 0 comments
Maybe I can use a combination like c and lua to get the right trade offs between safety and performance in the necessary parts of my program but I'm not that confident that I can reach either safety or acceptable performance doing that.
Maybe, I could use C and some kind of static analyzer to find all of my memory bugs. Again, I'm not confident I would succeed there. I might also need a fuzzer to do it. At this point I'm trading a complicated language for a easy fast language with extra complicated operations that may or may not give me the outcome of memory safety.
As far as memory safety do you think it would be a good idea to write something like say a http server or client in Zig?
In a perfect world where developers could tinker with the code until it's perfect we wouldn't need Rust. This is not that world.
Imagine big but perfect Assembly codebase against an okay-ish Rust codebase. Which one would you prefer to maintain?
So far it doesn't seem to be insurmountable but it's definitely not what I'd call simple.