Is Ruby On Rails Too Slow!? 😱

  Рет қаралды 9,566

Deanin

Deanin

Жыл бұрын

Ruby on Rails is too slow, and I can prove it with numbers! Everyone should go learn GoLang or Rust instead. 😤
Checkout my course(s) at: learn.deanin.com
Benchmarks are from this website:
programming-language-benchmar...
Join this channel to help support these videos:
/ @deanin
Follow me on social media:
linktr.ee/deanin
If you liked this video, please consider subscribing: t.co/RZ4EwP0F2a
#Deanin #Software #Programming

Пікірлер: 43
@Deanin
@Deanin Жыл бұрын
Rails is only too slow if you need something fast, which most people won't need. Give me the fastest programming language in the world and I'll slow it to a crawl with my spaghetti code. 😤
@Deanout
@Deanout Жыл бұрын
This is ridiculous, I came here to be offended but not personally attacked. My code isn't spaghetti! 😠
@vaultek_
@vaultek_ Жыл бұрын
@@Deanout lol 😅😅, dean you the best
@hlazo6146
@hlazo6146 Жыл бұрын
Shopify disagrees
@Deanin
@Deanin Жыл бұрын
I somehow doubt Shopify disagrees, but okay lol.
@hlazo6146
@hlazo6146 Жыл бұрын
@@Deanin hahaha I meant disagreen on been slow
@siyaram2855
@siyaram2855 Жыл бұрын
The app you build in Rails in a day would take you a week or two(even a month) in Go or Rust. This is the speed benchmark that will matter in real life.
@manmeetsingh1712
@manmeetsingh1712 Жыл бұрын
Word.
@thundergabriel
@thundergabriel Жыл бұрын
And Scale a RoR app take months. Pros and Cons.
@siyaram2855
@siyaram2855 Жыл бұрын
@@thundergabriel Dude, What are you even taking about?Rails is super easy to scale. Ever heard of kubernetes and container?
@gadgetboyplaysmc
@gadgetboyplaysmc Жыл бұрын
Na
@dmitriyobidin6049
@dmitriyobidin6049 Жыл бұрын
@@siyaram2855 Sometimes people just forget that not only microservices can be scaled using containers... Plus you can always rewrite bottlenecks in a rust or other very performant language. No need to write the whole project in rust when you just starting.
@ministerstein
@ministerstein Жыл бұрын
If you want something fast as a Ruby developer you can try Amber or Lucky for Crystal. Crystal is very close to Ruby's syntax so there is not that much to learn more.
@Adam-Freemer
@Adam-Freemer Жыл бұрын
I tend to leverage GFY when told Rails is dead. It starts with a Go and ends with a Yourself :)
@sourcerer_
@sourcerer_ 11 ай бұрын
This is so elegant. 🤣👍
@Noah-sz1oy
@Noah-sz1oy Жыл бұрын
Good video! Fast description. wink.
@julienramel222
@julienramel222 Жыл бұрын
hmmm that's strange comparaison.. a language vs a framework ? yeah ruby in itself is slow, could save microseconds here and there... but in practice, pretty much every latency I ever had on a project came from server issues, disk space, bad db indexing or queries, n+1 queries, network issues & so on... I'm pretty sure it's possible to mess that up in golang or rust too
@Nathan00at78Uuiu
@Nathan00at78Uuiu Жыл бұрын
Ruby can go away and you can sleep just fine! Woah your heartless. 😂
@jackjackjackjack
@jackjackjackjack Жыл бұрын
this dude and I have very different ideas of what a love child is
@warpspeed8305
@warpspeed8305 Жыл бұрын
I once wrote my websites search crawler that processed millions of sites. First i did it with php. Then i wrote it in go and it became at least 10x faster. It run multiple http requests in parallel. With go i hit the limit of possible connections on my linux laptop... also linux gave 2x or so boost comparing to windows in php
@manmeetsingh1712
@manmeetsingh1712 Жыл бұрын
ScrapyCluster?
@azizdevfull
@azizdevfull Жыл бұрын
good!
@tocode5434
@tocode5434 Жыл бұрын
Better algorithm, better performance. No language or framework makes your app faster
@datguy4104
@datguy4104 6 ай бұрын
This is just incorrect lmao
@JasonJA88
@JasonJA88 Жыл бұрын
I don't use golang for performance i use it for readability and simplicity
@jsalguero94
@jsalguero94 Жыл бұрын
Have you used ruby?
@JasonJA88
@JasonJA88 Жыл бұрын
​@@jsalguero94 No so i have nothing good or bad to say about it.
@jsalguero94
@jsalguero94 Жыл бұрын
@@JasonJA88 ok because ruby is also readable and simple. I have used both, both has pros and cons.
@datguy4104
@datguy4104 6 ай бұрын
@@jsalguero94 Ruby is alright, but with Go there are numerous idiosyncrasies on top of a very lean syntax means you can go line by line and know explicitly what happens. Ruby's syntax looks pretty, but there are 20 different methods to do the same thing, and can very quickly lead to some really stupid code golf that makes it hard to know exactly what's happening, or even what the code's purpose is.
@ygjt76v0-----
@ygjt76v0----- Жыл бұрын
Waiting peoject like rails writing in go
@datguy4104
@datguy4104 6 ай бұрын
Likely won't happen. The Go community has a very strong DIY, and "never gonna need it" dogma built into it. They do everything by hand and import small packages only for specific things that do one thing, like a session manager, or router.
@sbditto85
@sbditto85 Жыл бұрын
How dare you be practical! Be unreasonable like the rest of us lol
@PankajDoharey
@PankajDoharey Жыл бұрын
In my view we should start with Ruby its pretty fast and when you want more speed migrate the code to Crystal, which is largely compatible with ruby syntax. And easier to migrate the code base to crystal than to deal with oddities of converting highly OOP code base to a procedural one like Golang. Correction: I am aware Golang has interfaces and does support some OO but ruby and crystal are a different league altogether. Also crystal beats the b'jesus out of Go.
@tylerbonklevoss8986
@tylerbonklevoss8986 Жыл бұрын
The problem with migrating to crystal later on is there isnt nearly as many shards as there are gems, so migrating could be a huge pain. would be better off to just start there. the productivity levels between writing ruby and writing crystal arent hugely different
@PankajDoharey
@PankajDoharey Жыл бұрын
@@tylerbonklevoss8986 Well yeah, but since it supports C lib calling conventions building shards that call C lib functions is not that hard. Build the ones that you need. But good point! Overall i think we have to see how to save programmer time which is the most expensive thing here.
@karthikeyanak9460
@karthikeyanak9460 Жыл бұрын
I start coding my app only after I get a million confirmed users who will promise my server 1000's of times a second. :D
@MrMrbannanapants
@MrMrbannanapants Жыл бұрын
I have to disagree here
@jsalguero94
@jsalguero94 Жыл бұрын
Ok can you tell us why?
@MrMrbannanapants
@MrMrbannanapants Жыл бұрын
@@jsalguero94 no
@jsalguero94
@jsalguero94 Жыл бұрын
@@MrMrbannanapants ok, thanks for your valuable contribution
@omfgihopethisworks
@omfgihopethisworks Жыл бұрын
I disagree with your comment
When To Use React Instead Of Hotwire In Rails 7?
17:30
Deanin
Рет қаралды 8 М.
The Ruby On Rails Junior Developer Problem
16:03
Deanin
Рет қаралды 18 М.
How I prepare to meet the brothers Mbappé.. 🙈 @KylianMbappe
00:17
Celine Dept
Рет қаралды 55 МЛН
Go vs Rust vs Bun vs Node | Prime Reacts
18:07
ThePrimeTime
Рет қаралды 158 М.
PHP vs NodeJS vs Python vs Ruby: What Do The Statistics Say?
10:44
Kodaps Academy
Рет қаралды 40 М.
How To Build An Android App With Ruby on Rails & Turbo Android
15:59
Indigo Tech Tutorials
Рет қаралды 253
I built 10 web apps... with 10 different languages
14:23
Fireship
Рет қаралды 1,5 МЛН
Beginners Should Think Differently When Writing Golang
11:35
Anthony GG
Рет қаралды 91 М.
Dev Containers - New To Rails 8!
11:42
Deanin
Рет қаралды 3,6 М.
Rails vs JavaScript: Which one should you use for your SaaS?
12:50
Ruby Blocks, Procs, and Lambdas 🦁🐅🐻
25:42
CJ Avilla
Рет қаралды 16 М.
Should you learn Go in 2023?
4:33
Dreams of Code
Рет қаралды 159 М.
NixOS Setup Guide - Configuration / Home-Manager / Flakes
3:01:39
Matthias Benaets
Рет қаралды 146 М.
Gold vs Silver Brushing Routine
0:33
Dental Digest
Рет қаралды 31 МЛН
The Worlds Most Powerfull Batteries !
0:48
Woody & Kleiny
Рет қаралды 19 МЛН
Before vs After: Choo Choo?
0:17
Horror Skunx 2
Рет қаралды 20 МЛН
🍁 Последний звонок
0:11
Ка12 PRODUCTION
Рет қаралды 1,7 МЛН
Nightmare CatNap attack my home #poppy3
0:21
TiTan Dinosaur
Рет қаралды 8 МЛН
小丑和路飞竟然这样对天使。#天使 #小丑 #超人不会飞
0:37
I Need Your Help..
0:33
Stokes Twins
Рет қаралды 145 МЛН