Software Alternatives & Reviews

Ruby VS Swift

Compare Ruby VS Swift and see what are their differences

Ruby logo Ruby

A dynamic, interpreted, open source programming language with a focus on simplicity and productivity

Swift logo Swift

Swift is a general-purpose, multi-paradigm, compiled programming language developed by Apple Inc. for iOS, macOS, watchOS, tvOS, Linux and z/OS.
  • Ruby Landing page
    Landing page //
    2018-09-30

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

  • Swift Landing page
    Landing page //
    2023-07-24

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

Ruby videos

Ruby Programming Language - Full Course

Swift videos

Honest Review of Swift and First Year Pay

More videos:

  • Review - Maruti Suzuki Swift - Hindi Review - Autoportal
  • Review - 2018 Maruti Swift Review - Still Fun To Drive | Faisal Khan

Category Popularity

0-100% (relative to Ruby and Swift)
Programming Language
54 54%
46% 46
OOP
73 73%
27% 27
Generic Programming Language
Developer Tools
0 0%
100% 100

User comments

Share your experience with using Ruby and Swift. 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 Ruby and Swift

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

Swift Reviews

Top 10 Rust Alternatives
Swift also stands to be among the general-purpose computer languages used to generate codes. The basics of this language are based on a safer approach for the users.
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, Swift should be more popular than Ruby. It has been mentiond 27 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.

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

Swift mentions (27)

  • Swift was always going to be part of the OS
    The raisons d'être between the CLR (and C#) and Swift are entirely different. Apple has explicitly set out to adopt swift as a successor language to C, Objective-C, C++, and Objective-C++[0][1]. This stands in stark contrast to Microsoft's vision for the CLR, which was… to be a better Java, more or less? (Does anyone actually know what the .NET initiative was all about? Microsoft went absolutely ham on it... - Source: Hacker News / 4 months ago
  • Local Dev Meetup
    What part of the coding universe are you interested in? Swift? React? Fission Ecosystem? Source: 5 months ago
  • Bare Metal Rust in Android
    -- https://developer.apple.com/swift/ They also mention plans for kernel and firmware targets on that talk. - Source: Hacker News / 7 months ago
  • Bare Metal Rust in Android
    Not for Apple, > Swift was designed from the outset to be safer than C-based languages, and eliminates entire classes of unsafe code. -- https://www.swift.org/about/ > Swift is a successor to the C, C++, and Objective-C languages -- https://developer.apple.com/swift/. - Source: Hacker News / 7 months ago
  • How popular are libraries in each technology
    Other popular mobile app libraries and languages include Swift, Kotlin, and React Native. Swift is a programming language developed by Apple that is used for iOS and macOS development. Kotlin is a programming language developed by JetBrains that is used for Android development. React Native is a JavaScript framework developed by Facebook that enables developers to build mobile applications for iOS and Android... - Source: dev.to / 10 months ago
View more

What are some alternatives?

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

Kotlin - Statically typed Programming Language targeting JVM and JavaScript

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

Elixir - Dynamic, functional language designed for building scalable and maintainable applications

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

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