News for hackers. Stuff that matters.
Re:Ask HN: If you designed a new programming language, what ... by TheMonarchist on Wednesday November 03, 2021 @07:29AM (#29093239)
Is that not just what C++ aims to be?
Re:Ask HN: If you designed a new programming language, what ... by tumblewit on Wednesday November 03, 2021 @09:19AM (#29094185)
I find C++ and Rust hard to grasp quickly. I like Go since I come from C but I haven’t looked at any frondtend in Go. I would say some kind of Rust + Go mashup with some kind of good frontend framework (especially something that translates for mobile devices) could do the trick. But I find that every time I interview for a company the tech stack is always a different combination and a learning curve for newcomers.
Re:Ask HN: If you designed a new programming language, what ... by TheMonarchist on Wednesday November 03, 2021 @02:11PM (#29098336)
> I find C++ and Rust hard to grasp quickly.

That's a direct consequence of them aiming to be usable for anything.

Re:Ask HN: If you designed a new programming language, what ... by imachine1980_ on Wednesday November 03, 2021 @07:35AM (#29093291)
i think you mean node and javascript, or c# and blazor, or dart, or rust and web assembly.....
Re:Ask HN: If you designed a new programming language, what ... by TheMonarchist on Wednesday November 03, 2021 @07:59AM (#29093448)
I think most of those languages need a GC, excluding them from some niches. Rust is probably closest to C++ in this respect. Most notable difference is that Rust restricts the programmer to ensure correctness, whereas in C++ anything that can be correct should compile.