Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

C#
C#

9K
6.6K
+ 1
1.4K
Ruby
Ruby

12.2K
6.8K
+ 1
3.8K
Add tool

C# vs Ruby: What are the differences?

C#: Simple, general-purpose, object-oriented programming language for the .NET platform. C# (pronounced "See Sharp") is a simple, modern, object-oriented, and type-safe programming language. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers; Ruby: A dynamic, interpreted, open source programming language with a focus on simplicity and productivity. Ruby is a language of careful balance. Its creator, Yukihiro “Matz” Matsumoto, blended parts of his favorite languages (Perl, Smalltalk, Eiffel, Ada, and Lisp) to form a new language that balanced functional programming with imperative programming.

C# and Ruby can be categorized as "Languages" tools.

"Cool syntax", "Great lambda support" and "Great generics support" are the key factors why developers consider C#; whereas "Programme friendly", "Quick to develop" and "Great community" are the primary reasons why Ruby is favored.

Ruby is an open source tool with 15.9K GitHub stars and 4.25K GitHub forks. Here's a link to Ruby's open source repository on GitHub.

According to the StackShare community, Ruby has a broader approval, being mentioned in 2530 company stacks & 1140 developers stacks; compared to C#, which is listed in 697 company stacks and 1163 developer stacks.

- No public GitHub repository available -

What is C#?

C# (pronounced "See Sharp") is a simple, modern, object-oriented, and type-safe programming language. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers.

What is Ruby?

Ruby is a language of careful balance. Its creator, Yukihiro “Matz” Matsumoto, blended parts of his favorite languages (Perl, Smalltalk, Eiffel, Ada, and Lisp) to form a new language that balanced functional programming with imperative programming.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose C#?
Why do developers choose Ruby?

Sign up to add, upvote and see more prosMake informed product decisions

What are the cons of using C#?
What are the cons of using Ruby?

Sign up to add, upvote and see more consMake informed product decisions

What companies use C#?
What companies use Ruby?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with C#?
What tools integrate with Ruby?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to C# and Ruby?
PHP
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
Java
Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
HTML5
HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
See all alternatives
Decisions about C# and Ruby
No stack decisions found
Interest over time
Reviews of C# and Ruby
Avatar of kfretwell33
Founder at Pouch
Review ofRubyRuby

I taught myself Ruby about a year ago. I had experience with HTML/CSS, MySQL, and a little bit of javascript and python but would consider this my first true programming language I became proficient in (later picked up Swift).

I started with a CodeAcademy course before working on my first Rails project. The language is easy to read and Rails is an amazing framework. The online community is fantastic, the documentation is amazing, and there is no shortage of Ruby Gems which allows you to quickly "cobble" together a new project.

How developers use C# and Ruby
Avatar of Arbor Health, LLC
Arbor Health, LLC uses C#C#

C# is the most productive production language - it exposes a lot of functional conveniences along with the robustness of strong typing. And they're finally embracing the open source community - a huge plus.

#Language Features We use the basic syntax (for, foreach, if,while) and object oriented constructs (classes, very simple inheritance).

We also use lambdas and block methods extensively, an intermediate level programming construct, but in a very formulaic and predictable way.

Avatar of StackShare
StackShare uses RubyRuby

Only thing worth noting here is that we saw some major issues with memory swapping on Heroku with Ruby 2.1.2. We weren’t the only ones. So we actually reverted back to 2.0.0. Here’s what happened: reverting. We’re planning to upgrade to 2.1.4 once we’ve had time to test thoroughly.

Avatar of benyomin
benyomin uses RubyRuby

When we are comparing Turing complete languages it's not about what compiles faster or to the cleanest machine code, it's about what the developer can think in and write faster, including the availability of libraries. A couple of times I wrote some ruby scripts for this project. I just like the language best for some things. Love the syntax.

Avatar of SaberEsPoder
SaberEsPoder uses RubyRuby

We are primarily a Ruby shop; our main apps are running on Ruby + Rails, our Slack bot is written in Ruby and our smaller projects are on Sinatra. It makes it really easy for us to re-use code and switch between different projects since they are all on the same language.

Avatar of Promethean TV
Promethean TV uses C#C#

PrometheanTV has used .NET and C# for several back-end applications and services including the Morphic Video Task System utilized to stream video assets to a variety of video delivery platforms including, Akamai, Brightcove, and others.

Avatar of Jonathan Bro
Jonathan Bro uses C#C#

Unity3d builds the app and scripts are written in C#. It receives first class support from the Unity3d developer and most plugins exist in C# in comparison to Javascript (the other supported scripting language)

Avatar of Tim Lucas
Tim Lucas uses RubyRuby

Because happiness. Testing via RSpec (mostly model and request specs), Factory Girl for fixtures, VCR for testing API responses, timecop, Redcarpet for Markdown rendering, Intercom gem for posting events.

Avatar of Karma
Karma uses RubyRuby

Most of our services are written in Ruby. We started out as a Ruby shop, but we're slowly also moving some stuff to Go. We're using Go more and more these days, actually, including some backend services.

Avatar of Carbonmade
Carbonmade uses C#C#

The main Carbonmade backend / API is written in C# and is ready to run on the CLR. We currently host on Windows but are preparing to migrate to Linux when the CoreCLR stabilizes.

Avatar of Andrew Miller
Andrew Miller uses C#C#

C# is the industry standard for Microsoft developers. It has a lot of syntactical similarities to Java & JavaScript. New releases integrate cutting-edge features.

How much does C# cost?
How much does Ruby cost?
Pricing unavailable
Pricing unavailable