Posted on 11/15/2022 9:09:15 PM PST by Cronos
I would generally prefer C, but that’s more , I suspect, from habit. Rust has innate garbage collection.
I think of C as for when you need very low level efficient code, and C++ for when you need a *lot* of very efficient code all in one language. Rust covers almost all of the situations you would use C today, and a lot of the C++ cases as well. Go has some of the C++ cases, but it’s pretty similar to the C# or even Haskell cases.
As a guy taught how to design languages, I find this interesting.
The critical thing you really do is define the problem you want to deal with and then select the methods, tools, resources, and supplies to do that task in the time frame, within the costs, and deal with the inevitable failures
you will encounter.
That is not coding.
It is called engineering.
A skill most all “High Tech” coders don’t have a clue about.
tech ping
But I haven't been wow'ed by any of the newer languages, Rust or Go among them, perhaps for the same reason that I haven't gotten around to learning Italian -- I don't have an application to write that demands it.
You need software engineers and architects to design the flow and hld and to some level lld, but for the grunt worm it may be better to use coders as well, there are more of them and cheaper. And invest in great qa, preferably pessimists who believe there is something wrong with the code.
Impressive
Thanks. I deeply enjoy programming. I’m very fortunate in that for most of my career I’ve been paid to do what I would otherwise do in my spare time as a hobby. That’s a blessing.
Long retired Engineer….
Rust, Golang, Hasura, Postgres, GraphQL API, REST, GQL, CRUD, S3, etc etc
But of course..... easy as pie.
I can barely do html/css to create a simple webpage.
Peruse later.
“But I haven’t been wow’ed by any of the newer languages, Rust or Go among them, perhaps for the same reason that I haven’t gotten around to learning Italian — I don’t have an application to write that demands it.”
I agree with all your comments especially the one above. In many lustrum of programming for money I have yet to find an app that can’t be done most efficiently in ‘c’ and (gasp!) COBOL. Web pages in ‘PHP’ work well when supported by ‘bash’ and ‘c’.
In reality the project should define the language(s) needed instead of forcing a language on a project.
I don’t have a clue what this guy is talking about, but I found it an entertaining read. Lots of people who think they know how to write could learn something from him.
“Rust has innate garbage collection”
That’s expensive at execution time. Otherwise all languages would have it.
Shoot, I even dip into assembler from time to time whenever an interrupt handle must be really fast.
i prefer c/c++ for my server backend responding to network requests or to easily enable pub/sub strategies... all with an eye on performance.
the whole stack these days seems to be tending towards:
( c/c++ backend ) <—> ( protobuf messaging ) <—> ( javascript based web front end )
native frontend code seems to be going the way of the dodo, with chromium clients being the portable foundation for most native dev
thoughts?
I've written quite a lot in assembler as well, but so much in the last thirty years or so.
COBOL! Wash out your mouth!
Write so that you don't create garbage.
Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.