🌐
Programming Language Benchmarks
programming-language-benchmarks.vercel.app › ruby-vs-javascript
Ruby VS Javascript benchmarks, Which programming language or compiler is faster
Javascript · Kotlin · Lua · Nim · OCaml · Odin · Perl · Php · Python · Ruby · Rust · Swift · Typescript · V · Wasm · Zig · Current benchmark data was generated on Fri Aug 01 2025, full log can be found HERE · CONTRIBUTIONS are WELCOME! CPU INFO:[x86_64][4 cores] AMD EPYC 7763 64-Core Processor (Model 1) * -m in a file name stands for multi-threading or multi-processing ·
🌐
Career Karma
careerkarma.com › blog › tech guides › ruby vs javascript: compared and contrasted
Ruby vs JavaScript: Compared and Contrasted | Career Karma
October 1, 2022 - By benchmark, Ruby holds an average speed that is 50% to 200% slower than JavaScript (running with node.js).
Discussions

Is Javascript faster than Python/Ruby?
Depends on a lot of things - the Python implementation you use, the JavaScript engine you use, the benchmark you use to measure speed. In general you should not be worried about the relative performance. If you really need to run something fast you will eventually move to lower level languages (like C/C++) or a specialized solution (like utilizing multiple cores or GPGPU if applicable). More on reddit.com
🌐 r/learnprogramming
3
0
April 6, 2017
What blocks Ruby, Python to get Javascript V8 speed? - Stack Overflow
Are there any Ruby / Python features that are blocking implementation of optimizations (e.g. inline caching) V8 engine has? Python is co-developed by Google guys so it shouldn't be blocked by soft... More on stackoverflow.com
🌐 stackoverflow.com
JS vs ruby on rails?
Can’t go wrong with either. Ruby is a beautiful language fwiw. More on reddit.com
🌐 r/ruby
30
4
March 21, 2024
Full stack Ruby on Rails or Full stack JavaScript
JavaScript. It's too practical in multiple realms, and I fortunately for me I like what they've done with the language in modern times. About a decade ago I was really rooting for Ruby to win the popularity contest with Python, because I love Ruby's syntax and really don't enjoy Python... But that didn't happen. RoR is way too niche, bordering on legacy, to hang my hat on. I still like Ruby and secretly hope for an evential uprising though. More on reddit.com
🌐 r/learnprogramming
56
67
December 15, 2023
People also ask

Is Ruby on Rails or JavaScript better for beginners?

Beginners should look for user-friendliness when deciding between Ruby on Rails and JavaScript. When it comes to learning curves, RoR takes an edge as the framework is very user-friendly, making it easier for developers to get used to the development process. To achieve the same, JavaScript prepares excellent documentation. However, beginners might find it hard to understand it.

🌐
bairesdev.com
bairesdev.com › home › blog › technology
Ruby on Rails vs JavaScript: A Detailed Comparison
What are the differences between Ruby on Rails and JavaScript?
Ruby on Rails is used for building the structure and backend of a website, like managing databases and handling requests. JavaScript, on the other hand, is used for adding features to the frontend of a website, like buttons, forms, and animations.
🌐
monarch-innovation.com
monarch-innovation.com › home › ruby on rails vs javascript: choosing the right framework for your project in 2024
Ruby on Rails vs JavaScript: Which is Right for Web Development?
Are there performance differences between Ruby on Rails and JavaScript?

Yes, Ruby on Rails allows for high-speed coding and delivery when developers use its modern IT tools, extensive libraries, and documentation. However, the asynchronous nature of its code results in slow processing speed. JavaScript supports asynchronous coding to allow fast code execution. JavaScript is 20 times faster than RoR because it has a highly optimized engine.

🌐
bairesdev.com
bairesdev.com › home › blog › technology
Ruby on Rails vs JavaScript: A Detailed Comparison
🌐
Ruby-Doc.org
ruby-doc.org › home › ruby vs javascript: a comprehensive comparison for developers
Ruby vs JavaScript: A Comprehensive Comparison for Developers - Ruby-Doc.org
July 16, 2025 - Discover the key differences, pros and cons, performance benchmarks, and use cases of Ruby vs JavaScript and see which is better to use.
🌐
Quora
quora.com › Which-language-is-better-performance-wise-Node-js-or-Ruby-on-Rails
Which language is better, performance wise: Node.js or Ruby on Rails? - Quora
Answer (1 of 8): This answer doesn't require an opinion. This is measured by benchmarks. [1] Summary: Rails is as slow as 1.6% of the Node.js speed. Rails’ best benchmark hits 21% of Node's raw speed. Rails is slow. There are other Ruby frameworks that are faster, but Node still wins. ActiveR...
🌐
BairesDev
bairesdev.com › home › blog › technology
Ruby on Rails vs JavaScript: A Detailed Comparison
JavaScript supports asynchronous coding to allow fast code execution. JavaScript is 20 times faster than RoR because it has a highly optimized engine. Beginners should look for user-friendliness when deciding between Ruby on Rails and JavaScript.
🌐
EDUCBA
educba.com › home › software development › software development tutorials › top differences tutorial › javascript vs ruby
JavaScript vs Ruby | Topmost 7 Useful Comparisons to Learn
March 7, 2024 - Ruby is better for high CPU-intensive application development involving graphics, image processing, etc., whereas Node.JS is unsuitable for high CPU application development. Many companies use JavaScript, including Instagram, eBay, Codecademy, Firebase, Groove Shark, Square, sentry, etc.
Address   Unit no. 202, Jay Antariksh Bldg, Makwana Road, Marol, Andheri (East),, 400059, Mumbai
🌐
Bright Data
brightdata.com › blog › web-data › ruby-vs-javascript
Ruby vs JavaScript: Which Should You Choose?
February 26, 2024 - To the point that Ruby tends to be generally slower than JavaScript. JavaScript, especially with modern engines like V8, boasts impressive speed. Plus, its asynchronous nature enhances responsiveness.
Find elsewhere
🌐
Vivasoft
vivasoftltd.com › home › javascript › ruby on rails vs javascript: which one is best in 2025?
Ruby on Rails vs JavaScript: Which One is Best in 2025? (2026)
September 23, 2025 - As we all agree, JavaScript development time is not as swift as RoR, but it still has a huge potential to speed up the process. Just a proper workflow and pre-planned steps are essential for prototyping.
🌐
Monarch Innovation
monarch-innovation.com › home › ruby on rails vs javascript: choosing the right framework for your project in 2024
Ruby on Rails vs JavaScript: Which is Right for Web Development?
February 20, 2024 - When it comes to performance between Ruby and JavaScript, JavaScript is faster than Ruby on Rails. JavaScript’s asynchronous behaviour allows code to run concurrently, which can result in faster execution speeds.
🌐
2am.tech
2am.tech › blog › ruby-on-rails-vs-javascript
Ruby on Rails vs JavaScript: Which Is Right for Your Project?
September 26, 2025 - In raw execution, JavaScript (Node.js) generally handles asynchronous, I/O-heavy operations faster. Ruby prioritizes developer productivity and readability over raw speed, so high-traffic applications may need optimization or scaling.
🌐
Scaler
scaler.com › home › topics › javascript vs ruby : what are the differences?
JavaScript vs Ruby - What are the Differences? - Scaler Topics
October 18, 2023 - As a result, JavaScript has become significantly faster in recent years, making it suitable for a wide range of applications. Ruby, on the other hand, is known for its slower execution speed compared to languages like JavaScript.
🌐
Reddit
reddit.com › r/learnprogramming › is javascript faster than python/ruby?
r/learnprogramming on Reddit: Is Javascript faster than Python/Ruby?
April 6, 2017 -

As languages go I mentally slotted them as about the same in terms of speed (not as performant as, say C++) This article suggests otherwise: https://hackernoon.com/javascript-vs-python-vs-go-the-deal-breaker-e54328ffd550

Then I got to thinking about NodeJS. And then about how JS was made for the client side.

So is Javascript a faster language than Python and Ruby?

🌐
Purple Engineer
purpletutor.com › home › language strategy › ruby on rails vs javascript comparison for developers
Ruby on Rails vs JavaScript web development comparison for performance 🚀✨
December 23, 2025 - JavaScript, especially when running on V8 engine in Node.js, is generally faster than Ruby in terms of execution speed for certain tasks due to its just-in-time compilation. However, Ruby can be optimized for performance in Rails applications, ...
🌐
Ironhack
ironhack.com › gb › blog › javascript-vs-ruby-what-language-for-first-time-coders
JavaScript vs. Ruby: what language for first-time coders?
May 16, 2024 - Or rather Ruby is suuuuper slow ... your application will be able to perform tasks. For certain tasks, JavaScript can be up to 20x quicker than Ruby, making it a good choice to reduce your costs as your application scales ...
🌐
Monocubed
monocubed.com › blog › ruby-on-rails-vs-javascript
Ruby on Rails vs JavaScript: Which One is Best For You?
January 7, 2026 - The alternatives to Rails – Django, Laravel 5, Asp.Net Core, Symfony, though, got remarkable characteristics and modules, but if you want a speedy release, using Ruby is the perfect choice. It is so because it contains shortcuts and features that make it simpler for web applications to integrate the complex attributes. Now that you know about Ruby on Rails and its popularity, let us understand what Java Script is and how popular it is. We are also going to describe why businesses choose it for their development. Further, we will learn which one is better in JavaScript and Ruby on Rails.
🌐
Bacancy Technology
bacancytechnology.com › bacancy technology › blog › technology comparison
Ruby on Rails vs JavaScript: Which Framework to Use in 2026?
January 2, 2026 - JavaScript, on the other hand, offers a comparatively slow development speed due to the additional functions of the language, like the event queue operators, syntax, and HTTP requests.
Top answer
1 of 11
517

What blocks Ruby, Python to get Javascript V8 speed?

Nothing.

Well, okay: money. (And time, people, resources, but if you have money, you can buy those.)

V8 has a team of brilliant, highly-specialized, highly-experienced (and thus highly-paid) engineers working on it, that have decades of experience (I'm talking individually – collectively it's more like centuries) in creating high-performance execution engines for dynamic OO languages. They are basically the same people who also created the Sun HotSpot JVM (among many others).

Lars Bak, the lead developer, has been literally working on VMs for 25 years (and all of those VMs have lead up to V8), which is basically his entire (professional) life. Some of the people writing Ruby VMs aren't even 25 years old.

Are there any Ruby / Python features that are blocking implementation of optimizations (e.g. inline caching) V8 engine has?

Given that at least IronRuby, JRuby, MagLev, MacRuby and Rubinius have either monomorphic (IronRuby) or polymorphic inline caching, the answer is obviously no.

Modern Ruby implementations already do a great deal of optimizations. For example, for certain operations, Rubinius's Hash class is faster than YARV's. Now, this doesn't sound terribly exciting until you realize that Rubinius's Hash class is implemented in 100% pure Ruby, while YARV's is implemented in 100% hand-optimized C.

So, at least in some cases, Rubinius can generate better code than GCC!

Or this is rather matter of resources put into the V8 project by Google.

Yes. Not just Google. The lineage of V8's source code is 25 years old now. The people who are working on V8 also created the Self VM (to this day one of the fastest dynamic OO language execution engines ever created), the Animorphic Smalltalk VM (to this day one of the fastest Smalltalk execution engines ever created), the HotSpot JVM (the fastest JVM ever created, probably the fastest VM period) and OOVM (one of the most efficient Smalltalk VMs ever created).

In fact, Lars Bak, the lead developer of V8, worked on every single one of those, plus a few others.

2 of 11
77

There's a lot more impetus to highly optimize JavaScript interpretors which is why we see so many resources being put into them between Mozilla, Google, and Microsoft. JavaScript has to be downloaded, parsed, compiled, and run in real time while a (usually impatient) human being is waiting for it, it has to run WHILE a person is interacting with it, and it's doing this in an uncontrolled client-end environment that could be a computer, a phone, or a toaster. It HAS to be efficient in order to run under these conditions effectively.

Python and Ruby are run in an environment controlled by the developer/deployer. A beefy server or desktop system generally where the limiting factor will be things like memory or disk I/O and not execution time. Or where non-engine optimizations like caching can be utilized. For these languages it probably does make more sense to focus on language and library feature set over speed optimization.

The side benefit of this is that we have two great high performance open source JavaScript engines that can and are being re-purposed for all manner of applications such as Node.js.

🌐
Curotec
curotec.com › home › insights › ruby on rails vs. javascript: choosing the right stack for your web development project
Ruby on Rails vs. JavaScript: Choosing the Right Stack for Your Web Development Project - Curotec
June 13, 2025 - JavaScript projects have a broader deployment surface. Modern hosting platforms like Vercel and Netlify are optimized for frontend frameworks, and Node-based APIs can run on AWS Lambda, DigitalOcean, or any containerized service. It may require more configuration, but it offers a lot of flexibility. ⚡ Speed to market: You need to build and launch quickly (think MVPs and internal tools)
🌐
Rubyroid Labs
rubyroidlabs.com › blog › ruby on rails › ruby on rails vs javascript: choosing the right technology stack
Ruby on Rails vs JavaScript: Pros, Cons, Performance & Best Use Cases
April 1, 2025 - You are probably wondering which ... expandability. JavaScript powers the web, dominating the front- and back-end. Rails is known for its speed, clean syntax, ......