Liste des Groupes | Revenir à c arch |
On 04/09/2024 22:15, Brett wrote:David Brown <david.brown@hesbynett.no> wrote:On 03/09/2024 21:28, Stefan Monnier wrote:My impression - based on hearsay for Rust as I have no experience - is that
the key point of Rust is memory "safety". I use scare-quotes here, since it
is simply about correct use of dynamic memory and buffers.
It is entirely possible to have correct use of memory in C,
If you look at the evolution of programming languages, "higher-level"
doesn't mean "you can do more stuff". On the contrary, making
a language "higher-level" means deciding what it is we want to make
harder or even impossible.
Agreed.
I've heard it said that the power of a programming language comes not
from what you can do with the language, but from what you cannot do.
Wrong, the last version of Swift added all the garbage programming concepts
that one should avoid.
That does not show that I was wrong - perhaps Swift is not a powerful
programming language!
Of course, it all depends on what you mean by "powerful".
(I don't know Swift at all.)
You have to give people the tools to do anything.
You don't /have/ to do that. But it's often easier to market a language
that can do anything.
Les messages affichés proviennent d'usenet.