programming languages

Rank

C++ vs Ruby

  1. This is a low level language

    91% 9%
    C++ 238 out of 259 picked C++ over Ruby Ruby
  2. This language has a strong static type system

    91% 9%
    C++ 234 out of 256 picked C++ over Ruby Ruby
  3. This language is suitable for real-time applications

    91% 9%
    C++ 186 out of 204 picked C++ over Ruby Ruby
  4. This language makes it easy to shoot yourself in the foot

    88% 12%
    C++ 149 out of 168 picked C++ over Ruby Ruby
  5. Writing code in this language is a lot of work

    87% 13%
    C++ 216 out of 248 picked C++ over Ruby Ruby
  6. I would use this language for writing programs for an embedded hardware platform

    86% 14%
    C++ 186 out of 214 picked C++ over Ruby Ruby
  7. Code written in this language tends to be verbose

    86% 14%
    C++ 207 out of 239 picked C++ over Ruby Ruby
  8. I would use this language for writing embedded programs

    86% 14%
    C++ 45 out of 52 picked C++ over Ruby Ruby
  9. I learned this language early in my career as a programmer

    86% 14%
    C++ 99 out of 115 picked C++ over Ruby Ruby
  10. Programs written in this language tend to be efficient

    85% 15%
    C++ 217 out of 253 picked C++ over Ruby Ruby
  11. This is a mainstream language

    84% 16%
    C++ 88 out of 104 picked C++ over Ruby Ruby
  12. I use many applications written in this language

    83% 17%
    C++ 199 out of 237 picked C++ over Ruby Ruby
  13. This language is large

    83% 17%
    C++ 154 out of 184 picked C++ over Ruby Ruby
  14. This language is good for numeric computing

    83% 17%
    C++ 162 out of 195 picked C++ over Ruby Ruby
  15. This language is unusually bad for beginners

    82% 18%
    C++ 200 out of 243 picked C++ over Ruby Ruby
  16. There is a lot of accidental complexity when writing code in this language

    81% 19%
    C++ 188 out of 231 picked C++ over Ruby Ruby
  17. There are many good commercial tools for this language

    81% 19%
    C++ 177 out of 218 picked C++ over Ruby Ruby
  18. This language allows me to write programs where I know exactly what they are doing under the hood

    79% 21%
    C++ 179 out of 226 picked C++ over Ruby Ruby
  19. This language is good for scientific computing

    78% 22%
    C++ 185 out of 235 picked C++ over Ruby Ruby
  20. The thought that I may still be using this language in twenty years time fills me with dread

    76% 24%
    C++ 167 out of 217 picked C++ over Ruby Ruby
  21. I often feel like I am not smart enough to write this language

    76% 24%
    C++ 66 out of 86 picked C++ over Ruby Ruby
  22. This language is likely to be around for a very long time

    76% 24%
    C++ 163 out of 214 picked C++ over Ruby Ruby
  23. This language has an annoying syntax

    74% 26%
    C++ 91 out of 122 picked C++ over Ruby Ruby
  24. Developers who primarily use this language often burn out after a few years

    74% 26%
    C++ 122 out of 164 picked C++ over Ruby Ruby
  25. I use a lot of code written in this language which I really don't want to have to make changes to

    72% 28%
    C++ 58 out of 80 picked C++ over Ruby Ruby
  26. This language has many features which feel "tacked on"

    72% 28%
    C++ 141 out of 195 picked C++ over Ruby Ruby
  27. I find it easy to write efficient code in this language

    69% 31%
    C++ 179 out of 257 picked C++ over Ruby Ruby
  28. Programs written in this language will usually work in future versions of the language

    68% 32%
    C++ 157 out of 228 picked C++ over Ruby Ruby
  29. It is too easy to write code in this language that looks like it does one thing but actually does something else

    67% 33%
    C++ 123 out of 183 picked C++ over Ruby Ruby
  30. This language is frequently used for applications it isn't suitable for

    65% 35%
    C++ 125 out of 192 picked C++ over Ruby Ruby
  31. I often get angry when writing code in this language

    64% 36%
    C++ 59 out of 91 picked C++ over Ruby Ruby
  32. This language has a very rigid idea of how things should be done

    63% 37%
    C++ 155 out of 244 picked C++ over Ruby Ruby
  33. If my code in this language successfully compiles, there is a good chance my code is correct.

    63% 37%
    C++ 74 out of 117 picked C++ over Ruby Ruby
  34. Programs written in this language tend to play well with others

    62% 38%
    C++ 142 out of 228 picked C++ over Ruby Ruby
  35. This language has a high quality implementation

    61% 39%
    C++ 73 out of 118 picked C++ over Ruby Ruby
  36. I know many other people who use this language

    60% 40%
    C++ 151 out of 249 picked C++ over Ruby Ruby
  37. I would use this language for mobile applications

    60% 40%
    C++ 149 out of 246 picked C++ over Ruby Ruby
  38. There are many good tools for this language

    60% 40%
    C++ 147 out of 244 picked C++ over Ruby Ruby
  39. This language is best for very large projects

    60% 40%
    C++ 129 out of 215 picked C++ over Ruby Ruby
  40. I usually use this language on projects with many other members

    58% 42%
    C++ 141 out of 242 picked C++ over Ruby Ruby
  41. When I run into problems my colleagues can provide me with immediate help with this language

    58% 42%
    C++ 130 out of 224 picked C++ over Ruby Ruby
  42. I am reluctant to admit to knowing this language

    57% 43%
    C++ 113 out of 197 picked C++ over Ruby Ruby
  43. This language excels at concurrency

    57% 43%
    C++ 126 out of 221 picked C++ over Ruby Ruby
  44. There is a wide variety of open source code written in this language

    55% 45%
    C++ 124 out of 224 picked C++ over Ruby Ruby
  45. I know this language well

    54% 46%
    C++ 1272 out of 2332 picked C++ over Ruby Ruby
  46. This language is good for distributed computing

    52% 48%
    C++ 113 out of 216 picked C++ over Ruby Ruby
  47. I am sometimes embarrassed to admit to my peers that I know this language

    52% 48%
    C++ 93 out of 178 picked C++ over Ruby Ruby
  48. Third-party libraries are readily available, well-documented, and of high quality

    51% 49%
    C++ 118 out of 229 picked C++ over Ruby Ruby
  49. This language has a niche outside of which I would not use it

    51% 49%
    C++ 116 out of 226 picked C++ over Ruby Ruby
  50. I would list this language on my resume

    51% 49%
    C++ 101 out of 197 picked C++ over Ruby Ruby
  51. I would use this language for a desktop GUI project

    48% 52%
    C++ 146 out of 285 picked Ruby over C++ Ruby
  52. Learning this language improved my ability as a programmer

    47% 53%
    C++ 134 out of 257 picked Ruby over C++ Ruby
  53. Libraries in this language tend to be well documented.

    47% 53%
    C++ 55 out of 105 picked Ruby over C++ Ruby
  54. I still discover new features of this language on a fairly regular basis

    47% 53%
    C++ 104 out of 198 picked Ruby over C++ Ruby
  55. Code written in this language tends to be very reliable

    45% 55%
    C++ 126 out of 233 picked Ruby over C++ Ruby
  56. If this language didn't exist, I would have trouble finding a satisfactory replacement

    44% 56%
    C++ 99 out of 180 picked Ruby over C++ Ruby
  57. There are many good open-source tools for this language

    44% 56%
    C++ 131 out of 238 picked Ruby over C++ Ruby
  58. This language has a very dogmatic community

    44% 56%
    C++ 118 out of 214 picked Ruby over C++ Ruby
  59. I can imagine using this language in my day job

    43% 57%
    C++ 158 out of 281 picked Ruby over C++ Ruby
  60. This language is well documented

    43% 57%
    C++ 129 out of 229 picked Ruby over C++ Ruby
  61. I regularly use this language

    43% 57%
    C++ 154 out of 271 picked Ruby over C++ Ruby
  62. Learning this language significantly changed how I use other languages.

    42% 58%
    C++ 69 out of 119 picked Ruby over C++ Ruby
  63. It's unusual for me to discover unfamiliar features

    41% 59%
    C++ 136 out of 232 picked Ruby over C++ Ruby
  64. I enjoy playing with this language but would never use it for "real code"

    40% 60%
    C++ 121 out of 204 picked Ruby over C++ Ruby
  65. The resources for learning this language are of high quality

    40% 60%
    C++ 134 out of 224 picked Ruby over C++ Ruby
  66. I would use this language for writing server programs

    40% 60%
    C++ 143 out of 239 picked Ruby over C++ Ruby
  67. It is easy to debug programs written in this language when it goes wrong

    39% 61%
    C++ 140 out of 232 picked Ruby over C++ Ruby
  68. I can imagine this will be a popular language in twenty years time

    39% 61%
    C++ 128 out of 212 picked Ruby over C++ Ruby
  69. This language matches it's problem domain particularly well.

    38% 62%
    C++ 46 out of 75 picked Ruby over C++ Ruby
  70. When I write code in this language I can be very sure it is correct

    36% 64%
    C++ 136 out of 215 picked Ruby over C++ Ruby
  71. This language has a wide variety of agreed-upon conventions, which are generally adhered to reasonably well, and which increase my productivity

    36% 64%
    C++ 138 out of 217 picked Ruby over C++ Ruby
  72. I usually use this language on solo projects

    35% 65%
    C++ 157 out of 244 picked Ruby over C++ Ruby
  73. This language has well-organized libraries with consistent, carefully thought-out interfaces

    34% 66%
    C++ 124 out of 188 picked Ruby over C++ Ruby
  74. This language has a niche in which it is great

    33% 67%
    C++ 156 out of 234 picked Ruby over C++ Ruby
  75. I would recommend most programmers learn this language, regardless of whether they have a specific need for it

    32% 68%
    C++ 86 out of 128 picked Ruby over C++ Ruby
  76. I use this language out of choice

    32% 68%
    C++ 140 out of 208 picked Ruby over C++ Ruby
  77. This language encourages writing code that is easy to maintain.

    31% 69%
    C++ 78 out of 114 picked Ruby over C++ Ruby
  78. I rarely have difficulty abstracting patterns I find in my code

    31% 69%
    C++ 152 out of 222 picked Ruby over C++ Ruby
  79. This language has a good community

    29% 71%
    C++ 163 out of 231 picked Ruby over C++ Ruby
  80. Code written in this language will usually run in all the major implementations if it runs in one of them.

    29% 71%
    C++ 65 out of 92 picked Ruby over C++ Ruby
  81. I would use this language to write a command-line app

    29% 71%
    C++ 195 out of 276 picked Ruby over C++ Ruby
  82. This language encourages writing reusable code.

    28% 72%
    C++ 84 out of 117 picked Ruby over C++ Ruby
  83. The semantics of this language are much different than other languages I know.

    28% 72%
    C++ 77 out of 107 picked Ruby over C++ Ruby
  84. This language is built on a small core of orthogonal features

    28% 72%
    C++ 126 out of 175 picked Ruby over C++ Ruby
  85. This language is likely to have a strong influence on future languages

    27% 73%
    C++ 153 out of 212 picked Ruby over C++ Ruby
  86. This language has unusual features that I often miss when using other languages

    27% 73%
    C++ 147 out of 203 picked Ruby over C++ Ruby
  87. This language has a very coherent design

    27% 73%
    C++ 153 out of 211 picked Ruby over C++ Ruby
  88. This language is minimal

    27% 73%
    C++ 161 out of 221 picked Ruby over C++ Ruby
  89. This language excels at symbolic manipulation

    26% 74%
    C++ 160 out of 218 picked Ruby over C++ Ruby
  90. Code written in this language tends to be terse

    26% 74%
    C++ 189 out of 257 picked Ruby over C++ Ruby
  91. I often write things in this language with the intent of rewriting them in something else later

    25% 75%
    C++ 115 out of 155 picked Ruby over C++ Ruby
  92. I enjoy using this language

    25% 75%
    C++ 214 out of 288 picked Ruby over C++ Ruby
  93. This language is easier to use for it's problem domain by removing unneeded expressiveness (such as not being Turing complete).

    25% 75%
    C++ 41 out of 55 picked Ruby over C++ Ruby
  94. I would like to write more of this language than I currently do

    24% 76%
    C++ 182 out of 240 picked Ruby over C++ Ruby
  95. This language is very flexible

    22% 78%
    C++ 195 out of 251 picked Ruby over C++ Ruby
  96. This language is expressive

    20% 80%
    C++ 192 out of 241 picked Ruby over C++ Ruby
  97. It is easy to tell at a glance what code in this language does

    19% 81%
    C++ 201 out of 251 picked Ruby over C++ Ruby
  98. I find code written in this language very elegant

    18% 82%
    C++ 214 out of 264 picked Ruby over C++ Ruby
  99. This language is likely to be a passing fad

    18% 82%
    C++ 151 out of 185 picked Ruby over C++ Ruby
  100. This language is best for very small projects

    18% 82%
    C++ 183 out of 224 picked Ruby over C++ Ruby
  101. This language is good for beginners

    17% 83%
    C++ 188 out of 229 picked Ruby over C++ Ruby
  102. Code written in this language is very readable

    17% 83%
    C++ 205 out of 248 picked Ruby over C++ Ruby
  103. This language excels at text processing

    17% 83%
    C++ 189 out of 228 picked Ruby over C++ Ruby
  104. This language has a good library distribution mechanism.

    16% 84%
    C++ 76 out of 91 picked Ruby over C++ Ruby
  105. This is a high level language

    12% 88%
    C++ 223 out of 254 picked Ruby over C++ Ruby
  106. I find this language easy to prototype in

    12% 88%
    C++ 210 out of 239 picked Ruby over C++ Ruby
  107. This language is well suited for an agile development approach using short iterations.

    12% 88%
    C++ 102 out of 116 picked Ruby over C++ Ruby
  108. This language would be good for teaching children to write software

    11% 89%
    C++ 100 out of 113 picked Ruby over C++ Ruby
  109. I would use this language for a web project

    10% 90%
    C++ 214 out of 239 picked Ruby over C++ Ruby
  110. I would use this language for casual scripting

    10% 90%
    C++ 213 out of 237 picked Ruby over C++ Ruby
  111. I would use this language as a scripting language embedded inside a larger application

    10% 90%
    C++ 197 out of 219 picked Ruby over C++ Ruby

What's going on here?

The absolute rankings are interesting for large scale comparisons but when you want to know about two specific languages it's much more informative to look at how the two fare when they go directly head to head.

Here are all the statements which we've got enough comparisons between C++ and Ruby to be meaningful and which of the two our users picked.

The order in which we're presenting them is a little arbitrary (sorry), but we've tried to put the things which they're both good at first so as to give you the most interesting picture of it.