Sujet : Re: Computer architects leaving Intel...
De : jseigh_es00 (at) *nospam* xemaps.com (jseigh)
Groupes : comp.archDate : 04. Sep 2024, 13:41:22
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vb9khi$3r2c6$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
User-Agent : Mozilla Thunderbird
On 9/3/24 19:14, David Brown wrote:
Absolutely. There's things about newer languages, like Rust, Go, and Swift that I like. For example, they are designed with concurrency and multi-threading from the start, rather than an add-on. C++, as we know it today, has grown gradually, and a lot of its complexity is because of features added on rather than having been part of the original design.
Rust and Go use C/C++ atomics and concurrency model. I think that's
maybe to do with using common compiler back ends. They do try to
make/encourage programmers use language constructs that they think
are safe, fool proof, and generalizable (though that's up to debate).
I don't know about Swift. Apple is off in their own alternate
reality. I like some of their hardware. I would get the M4
mac mini but I've owned both an x86 and powerpc mini and dealing
with their tool chains and api's is an absolute nightmare.
Part of the problem with concurrency support is that it is limited
by the imagination and foibles of the language architects. It
sucks that even today you have to resort to assembler to implement
some very basic and fundamental lock-free algorithms that are 30
to 50 years old at least.
Joe Seigh