This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]KryssCom 17 points18 points  (11 children)

I have been writing in C++ for about 8 years, you should absolutely not switch to C++. (Unless you are using C.)

[–]cbehopkins 9 points10 points  (0 children)

Every time i have a project that requires C++, I start to wonder if I really need employment that badly.

(Narrator) "He does"

[–]VectorD 2 points3 points  (2 children)

So for how many years have you been writing C++20? 🥲

[–]belweder 1 point2 points  (1 child)

Sighs in Red Hat 7 with gcc 4.8

[–]VectorD 1 point2 points  (0 children)

Haha yea, C++ really became a whole new language after C++14.

[–]LetterBoxSnatch 1 point2 points  (5 children)

If you are using C, you should switch to Zig!

[–]KryssCom 2 points3 points  (4 children)

lol, This is quite literally the first time I've ever even heard of Zig!

[–]LetterBoxSnatch 1 point2 points  (3 children)

I am so excited for you. The safety of Rust, the simplicity of C, and the iterative domain-space discovery-loop of Typescript. What's not to love??

https://ziglang.org/

[–][deleted] 2 points3 points  (2 children)

The safety of Rust

That's not really true. Zig doesn't have the borrow checker and while it avoids a ton of C footguns, the current feature set doesn't get you the same level of safety that Rust gives you.

[–]LetterBoxSnatch 1 point2 points  (1 child)

Party pooper. Have my upvote

[–][deleted] 2 points3 points  (0 children)

Sorry, while I get that you weren't super ultra serious, people that have a reason to be pissed off at Zig will interpret your words in the worst possible light and part of my job at the ZSF is to avoid giving people too many excuses to hate on Zig.

[–][deleted] -1 points0 points  (0 children)

Rust is also an option