Software Alternatives & Reviews

C++ VS Zig

Compare C++ VS Zig and see what are their differences

C++ logo C++

Has imperative, object-oriented and generic programming features, while also providing the facilities for low level memory manipulation

Zig logo Zig

Zig is a general-purpose programming language designed for robustness, optimality, and maintainability.
  • C++ Landing page
    Landing page //
    2023-08-01

We recommend LibHunt C++ for discovery and comparisons of trending C++ projects.

  • Zig Landing page
    Landing page //
    2023-08-19

We recommend LibHunt Zig for discovery and comparisons of trending Zig projects.

C++

Categories
  • Programming Language
  • OOP
  • Generic Programming Language
  • Dynamic Programming Language
Website cplusplus.com
Details $-

Zig

Categories
  • Programming Language
  • OOP
  • Generic Programming Language
  • Dynamic Programming Language
Website ziglang.org
Details $

C++ videos

C++ Programming | In One Video

More videos:

  • Review - C++ Programming
  • Tutorial - C++ Tutorial for Beginners - Full Course

Zig videos

UNHYPE: CRAZY COLLAB Braindead x REEBOK ZIG Kinetica II REVIEW

More videos:

  • Review - Reebok ZIG Kinetica REVIEW [Conor McGregor Shoes] - Durable Everyday Training Sneakers
  • Review - Zig Dynamica - Full Review

Category Popularity

0-100% (relative to C++ and Zig)
Programming Language
43 43%
57% 57
OOP
45 45%
55% 55
Generic Programming Language
Development
100 100%
0% 0

User comments

Share your experience with using C++ and Zig. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Zig should be more popular than C++. It has been mentiond 143 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

C++ mentions (56)

  • Distributed Systems: Challenges, Experiences and Tips
    About 4 months ago (approximately the last time I wrote something here), I opted to embark on a graduate school journey at Stony Brook University, Computer Science (if you have a remote position — Technical Writer and/or Software Engineer position — at a non-USA company, don't hesitate to reach out). Was it the best decision to make considering less pay (if any), more theoretical undertakings and assumptions, and... - Source: dev.to / 4 months ago
  • Any opinion about tutorialspoint? Getting apparently wrong results
    Full of wrong and/or incomplete information. I prefer cplusplus.com when I need to look up some library details. Source: 10 months ago
  • Learning DSA from scratch : The Ultimate Guide
    For C++ I would suggest using cplusplus.com. Fantastic resource to use. Source: 10 months ago
  • Things that i should know before gettting into Data Structures and Algorithms??
    C++ was far from my first language. I took Modula-2 and FORTRAN in school. I knew about pointers, linked lists, etc before writing my first line of C++. I think the best way to learn is just to work on projects that interest you. Get familiar with online resources. I like cplusplus.com and cppreference.com (can get a little verbose). I'm also a big fan of w3schools.com. They have a good C++ tutorial for beginners. Source: 11 months ago
  • Help
    I second this. cplusplus.com will pop up on your searches, I just blocked it. Loaded with ads and slow, and almost always less thorough than cppreference. I found geeksforgeeks OK when learning algorithms - not so much the language itself though. Source: 11 months ago
View more

Zig mentions (143)

  • How to Write a PHP Extension with Zig?
    When writing code in a scripting language, sometimes you need that extra bit of performance (or maybe an async feature from Zig). - Source: dev.to / 9 days ago
  • Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?
    NodeJS is by no means a slow runtime, it wouldn’t be so popular if it was. But compared to Bun, it’s slow. Bun was built from the ground up with speed in mind, using both JavascriptCore and Zig. The Bun team spent an enormous amount of time and energy trying to make Bun fast, including lots of profiling, benchmarking, and optimizations. - Source: dev.to / 17 days ago
  • Programming Language Checklist
    You may find Zig interesting: https://ziglang.org. The language is not C compatible but the tooling can compile C and C++ without hassle. - Source: Hacker News / 3 months ago
  • After a day of programming in Zig
    Zig describes itself as "... a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software.". Sounds very generic, eh? - Source: dev.to / 4 months ago
  • MiniLang – C Succesor
    Rust is much more akin to C++ than C in terms of complexity. It's early but Zig[1] might fit the bill. [1] https://ziglang.org/. - Source: Hacker News / 4 months ago
View more

What are some alternatives?

When comparing C++ and Zig, you can also consider the following products

Python - Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.

Nim (programming language) - The Nim programming language is a concise, fast programming language that compiles to C, C++ and JavaScript.

Go Programming Language - Go, also called golang, is a programming language initially developed at Google in 2007 by Robert...

Crystal (programming language) - Programming language with Ruby-like syntax that compiles to efficient native code.

D (Programming Language) - D is a language with C-like syntax and static typing.

Perl - Highly capable, feature-rich programming language with over 26 years of development