Software Alternatives & Reviews

C++ VS Ruby

Compare C++ VS Ruby 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

Ruby logo Ruby

A dynamic, interpreted, open source programming language with a focus on simplicity and productivity
  • C++ Landing page
    Landing page //
    2023-08-01

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

  • Ruby Landing page
    Landing page //
    2018-09-30

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

C++ videos

C++ Programming | In One Video

More videos:

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

Ruby videos

Ruby Programming Language - Full Course

Category Popularity

0-100% (relative to C++ and Ruby)
Programming Language
55 55%
45% 45
OOP
56 56%
44% 44
Generic Programming Language
Development
70 70%
30% 30

User comments

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

Reviews

These are some of the external sources and on-site user reviews we've used to compare C++ and Ruby

C++ Reviews

We have no reviews of C++ yet.
Be the first one to post

Ruby Reviews

The 10 Best Programming Languages to Learn Today
With the growing popularity of Apple operating systems and applications, having Swift programming skills under your belt is a wise investment. Swift shares some similar characteristics with programming languages Ruby and Python.
Source: ict.gov.ge

Social recommendations and mentions

Based on our record, C++ seems to be a lot more popular than Ruby. While we know about 56 links to C++, we've tracked only 3 mentions of Ruby. 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

Ruby mentions (3)

  • A full-stack serverless application with AssemblyLift and Next.js
    The counter function is written in Ruby. Since Ruby is an interpreted language, AssemblyLift deploys a customized Ruby 3.1 interpreter compiled to WebAssembly, which executes the function handler. Since the interpreter is somewhat large, the cold-start time of a Ruby function tends to be larger than that of a Rust function. Our counter is being run in the backround, so we're fine with it being a little bit laggy... - Source: dev.to / over 1 year ago
  • Why is no one promoting ruby?
    But, in general I was told use rubyapi.org unless you _really_ want to stick with the ruby-lang.org docs for all you do (which is fine) or to dig more into some object hierarchy, etc. Source: almost 2 years ago
  • Looking for pwsh (core/open source, v7) integration w/ rbenv, asdf
    [2] 'rbenv' - https://github.com/rbenv/rbenv - Ruby version management utility. Run something like rbenv install 3.1.1 to install that version on your system (requires related project ruby-build), then rbenv local 3.1.1 in your code's directory to specify that for any ruby command in that directory only, you want to use version 3.1.1 that you installed through rbenv. Does other useful stuff too. Only does Ruby,... Source: about 2 years ago

What are some alternatives?

When comparing C++ and Ruby, 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.

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

JavaScript - Lightweight, interpreted, object-oriented language with first-class functions

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

Java - A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible

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