|
|
|
|
|
by codeflo
214 days ago
|
|
Logical contradictions in AI slop? Unthinkable! But to address the serious question: We can't have all three of: a simple language, zero-cost abstractions, and memory safety. Most interpreted language pick simplicity and memory safety, at a runtime cost. Rust picks zero-cost abstractions and memory safety, at an increasingly high language complexity cost. C and Zig choose zero-cost abstractions in a simple language, but as a consequence, there's no language-enforced memory safety. (Also, having a simple language doesn't mean that any particular piece of code is short. Often, quite the opposite.) |
|