Navigate Select ESC Close

Bun vs Go Perf | Prime Reacts

2024-10-11 Science & Technology
129.4k
2.6k
361
ThePrimeTime
ThePrimeTime
1.1m subscribers

Unlock all features

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

Description

Recorded live on twitch, GET IN ### Reviewed Video https://www.youtube.com/watch?v=ECnlX00YcPI By: https://www.youtube.com/@AntonPutra ### My Stream https://twitch.tv/ThePrimeagen ### Best Way To Support Me Become a backend engineer. Its my favorite site https://boot.dev/?promo=PRIMEYT This is also the best way to support me is to support yourself becoming a better backend engineer. MY MAIN YT CHANNEL: Has well edited engineering videos https://youtube.com/ThePrimeagen Discord https://discord.gg/ThePrimeagen Have something for me to read or react to?: https://www.reddit.com/r/ThePrimeagen Kinesis Advantage 360: https://bit.ly/Prime-Kinesis Get production ready SQLite with Turso: https://turso.tech/deeznuts

Top Comments (10)

@RomanKisil 2024-10-11

People thinking Promises are multi-threaded was painful to watch.

716 32 replies
@IvanRandomDude 2024-10-11

Bun is the definitely KING of hard-coded JSON response.

374 4 replies
@PledgeBass 2024-10-11

Alright I'm going to host a race to see which of these bikes is faster - But I'm going to be replacing one of their wheels with square wheels!

157 3 replies
@dave4148 2024-10-11

Prime please make some standardized benchmarking setup as a project! You always have comments on how to do it right and no one seems to follow them lol

115
@sawertynn 2024-10-11

"short for assembly is asm" Prime: Ass

69 3 replies
@georgehelyar 2024-10-11

Prometheus scrapes metrics from the service. Commonly used with Grafana

23
@heck-r 2024-10-11

There is also the trap with interpreted vs compiled languages. If the two code is computationally doing the same, then the interpreted one is slower at least by the time it takes to parse the code. The trap is that if you have little enough of the interpreted language which uses heavily a library written in another language (e.g.: the standard library in JS, or about any machine learning library in Python), 99% computation happens in ridiculously optimized C++

16
@patricknelson 2024-10-11

10:48 Concurrent, but not parallel. The tasks overlap in time, but cannot execute at the exact same time (or simultaneously) as there is only a single thread to run it on.

9
@anonlegion9096 2024-10-15

9:15 concurrency != parallelism

4
@i-am-your-conscience 2026-03-06

This is on a whole other level now. Test it yourself. Bun ❤

0

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