Navigate Select ESC Close

I built the same app with 5 different stacks

2024-11-15 Science & Technology
151.1k
3.5k
425
Theo - t3․gg
Theo - t3․gg
539.0k subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

I've wanted to do this video for SO long. I've used a ton of stacks, from Rails to Elixir/Phoenix to Go to T3 to Next. So I built the same app in all of them. THANK YOU FLY FOR SPONSORING. Check them out at https://fly.io Thank you @bmdavis419 for all of the help as well 🫡 check out his follow up https://youtu.be/ucFTUH78CmM GITHUB LINK: https://github.com/t3dotgg/1app5stacks Check out my Twitch, Twitter, Discord more at https://t3.gg 00:00:00 - Intro 00:01:24 - Ruby on Rails 00:17:09 - Elixir + Phoenix 00:38:14 - Go + GraphQL 00:56:04 - T3 Stack 01:08:24 - Next.js + Server Components

Top Comments (10)

@yentheeditor 2024-11-15

Please make Open Source Github repo, so we can add our versions with another stack, or improve your versions. I really wanna show how Rust + Htmx version would be fast

342 9 replies
@Felix-g8t1p 2024-11-16

The NextJS implementation contains so much implicit knowledge you need to keep in your head to understand how all this "easy" "baked in" stuff works behind the scenes. Yes on something like elixir you have more lines of code but once you understand the mvc pattern it stays the same and does not change all the time. You can move around and understand the code base without knowing how all the cache & await connection etc. works. Nevermind the fact that in Next all of this implicit knowledge changes every two months

202 2 replies
@wouterhenderickx6293 2024-11-16

If I have a look at some of the comments, this video kind of drives home Prime's point about DX just being familiarity with the tools/language/... I'm not saying the niceties in Next aren't real, but the other stacks most definitely include features that would improve performance or "DX", but weren't used in this video because of lack of knowledge. The "number of files"-benchmark also just indicates a style difference. Splitting a project with a given number of lines over 10 or 20 files just moves the balance from searching within a file to searching for a file. With proper naming conventions and editor support, there's something to be said about both approaches. Very nice vdeo though, on a more global level this clearly indicated the pros and cons of not only the stacks themselves, but of the technology choices. You could sub rails for laravel, go for rust, next for nuxt and come to very similar conclusions because the "approach" is the same.

124 2 replies
@michaelroudnitski350 2024-11-15

Actually, you can use Turbo Frames to do the experience in a single request in the Rails version

83 2 replies
@tagKnife 2024-11-20

Calling Go an old stack. You're under arrest.

81
@joseelias7603 2024-11-16

As a Brazilian and a José, you NAILED the pronunciation at 17:33

64
@peterj.2114 2024-11-16

I think its pretty clear that you don't just introduce graphql into your project to make an SPA with 2 images and buttons.

53 1 replies
@WarloardInPcGamer 2024-11-16

wow that elixir app demo was such nice to look at. its so smooth and fast when compared to nextjs demo for some reason. Need to try it manually.

44
@hank9th 2024-11-15

You could have done something very similar to your Next cache in the Elixir version, by using a GenServer or an ETS table. I've found that Elixir/Phoenix projects can go crazy far w/o a database thanks to the OTP primitives.

27
@isuperman1113n 2024-11-15

I really appreciate videos like this. Great to see your takes on these frameworks with a bit deeper understanding of some of the gripes, along with the things they get right

7

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot