2 ms·
Maybe Rust is so complex, it is even more complex for an LLM to generate correct code (one-shot) without hallucinating non-existent functions. Would rather hav
by rvz 2y ago
Maybe Rust is so complex, it is even more complex for an LLM to generate correct code (one-shot) without hallucinating non-existent functions.
Would rather have that than all the issues that JavaScript or any other weakly typed and dynamically typed language.
- namuol 2y agoThere _are_ more than two programming languages, though. I feel like most of the debates about Rust devolve into the same false choice between safety and ease. Before Rust I was hearing the same argument from Haskell or Scala developers trying to justify their language of choice. I know Rust is here to stay, but I think it’s mostly because it has a viable ecosystem and quality developer tools. Its popularity is _in spite of_ many of its language features that trade that extra 1% of safety for 90% extra learning curve.
- NitpickLawyer 2y ago> features that trade that extra 1% of safety for 90% extra learning curve. I remember both MS and goog having talks about real-world safety issues in the range of 50% of cases were caused by things that safe rust doesn't allow (use after free, dangling pointers, double free, etc). The fact that even goog uses it, while also developing go (another great language with great practical applications) is telling imo.