► What should I test next? ► AWS is expensive - Infra Support Fund: buymeacoffee.com/antonputra ► Benchmarks: kzitem.info/door/PLiMWaCMwGJXmcDLvMQeORJ-j_jayKaLVn&si=p-UOaVM_6_SFx52H
@ferdynandkiepski5026
6 күн бұрын
When are we getting a comparison with C/C++? I would most like to see C++ vs Rust vs Go, as these are the options for high performance.
@AGAU1022
6 күн бұрын
Node vs Deno and/or Deno Fresh (real world test like Test 2 with Postgres or SQLite)
@AGAU1022
6 күн бұрын
I'd also like to see Test 2 for: single thread vs multi thread Bun the winner of Node vs Deno vs Go Axum vs Zig std library vs Go vs Loco F# (giraffe) vs C# (minimal API) Python (blacksheep) vs Lua (openresty) Julia (std lib) vs Julia (oxygen) vs Julia (jewlia)
@x31tr0n7
6 күн бұрын
A performance overview of kafka vs pulsar vs nats vs rabbitmq vs activemq would be really great.
@suriyaprakashg7007
6 күн бұрын
FastAPI benchmark
@wisataakhirpekan
6 күн бұрын
This match is the most anticipated by some viewers.
@Serizon_
6 күн бұрын
agreed
@PraiseYeezus
5 күн бұрын
they're really fun but it also seems like people are taking the results way too seriously
@AntonPutra
5 күн бұрын
😊
@orkhepaj
2 күн бұрын
but why?
@hohohomeboy
6 күн бұрын
Thank you for your videos! I really like to watch, because the setup is very consistent and you make good distinctions, like in this video with the “synthetic” setup and a more real word setup.
@AntonPutra
5 күн бұрын
thanks! i do my best
@ninjaasmoke
6 күн бұрын
this series is really good!!
@AntonPutra
5 күн бұрын
thank you!
@austinraney
5 күн бұрын
This result isn’t overly surprising. Bun is architected for environments where applications are running on a single CPU. Go is architected for running in environments with multiple CPUs. Constraining the tests to a single CPU is playing into buns court. The go runtime runs a separate cpu thread for network related syscalls. Other goroutines (each handler would get its own goroutine) could be running on one or more other cpu threads (goroutines are multiplexed onto the cpu threads by go’s runtime). The cost of switching between threads over a single cpu will be high and reduce performance.
@stxnw
5 күн бұрын
Bun can use workers. I doubt the results would change much. Bun is written in Zig afterall.
@AntonPutra
5 күн бұрын
thanks for the feedback
@austinraney
5 күн бұрын
@@stxnw yeah i’d be interested to see the results. For the first test, I would expect go to perform a bit better than it did in this sample as json marshaling shouldn’t contend as much with the thread conducting async network operations. But, I am a fool when it comes to the bun internals, so you are likely right!
@AGAU1022
5 күн бұрын
Thanks for doing these, love them.
@ferdynandkiepski5026
6 күн бұрын
You are possibly missing optimizations with GO. You don't define a value for GOAMD64, which will default to v1. Apparently if the host has higher capability then it can generate assembly with other extensions, but I wouldn't rely on the compiler doing that. Go wiki->minimum requirements->microarchitecture describes the possible values for x86_64. On M7a, it looks like you have access to avx512, which means you could set GOAMD64=v4. Similar flags exist for other architectures. This could also reduce code size, as it would mean the compiler won't be relying on dynamic dispatch to generate the faster codepaths while leaving a compatibility version behind, which wastes space and is slower.
@howemeet
6 күн бұрын
There is also PGO (profile guided optimizations) in go and more agressive inlining optimizations to be enabled
@misalambasta
5 күн бұрын
Raise the PR
@severgun
5 күн бұрын
I can bet processing HTTP requests does not require vector extensions
@salamander_xing
5 күн бұрын
ok but i bet you can also optimize Bun
@germandavid2520
5 күн бұрын
Please raise a PR with the changes, Anton will merge your PR and make a new video if there is performance improvements.
@DimasYudhaPratama-w4c
4 күн бұрын
Great video. Hope you can make another video to compare between Bun with Elysia and Go with Fiber 👌
@AbegazNap
3 күн бұрын
does elysia use a custom json parser?
@Mentioum
6 күн бұрын
It's worth noting that in Golang, if you're optimizing for a scenario where you want to do this kind of test, you'd definitely not use the default json/marshal to return JSON, you're use string substitution / a template system. JSON marshalling is *extremely* cpu and memory intensive relatively speaking to something like quicktemplate. I havent benchmarked it for a long time, but from memory it was something like 10x better. If you know the structure of your json object and can build it with fasttemplate (almost always can) then you can save a *huge* amount of CPU usage, and increase application throughput. Great video though, the ¬40% CPU utilisation's effect on Go was fascinating and so easily avoidable with autoscaling. Incredibly interesting. I'll be adjusting my autoscaling triggers from 60% to 40% based on this.
@AntonPutra
5 күн бұрын
thank you for the feedback, I'll play with json sometime in the future
@therealgamingmaniac
5 күн бұрын
Also Golang encoding/json is slow, use fast-json
@reneseses
4 күн бұрын
Sonic is the fastest JSON library that I have tested and does not require making significant changes to the code. Also the project is active.
@gokulkrishnan7427
4 күн бұрын
@@therealgamingmaniac Why fast-json is good in serialization than encoding/json ?
@Tom-mx1ec
6 күн бұрын
Дякую за такий корисний контент! Вже почав вчити Go ;)
@AntonPutra
5 күн бұрын
my pleasure 😊
@Thassalocracy
Күн бұрын
Thank u, this was a very informative and frankly, quite entertaining video even though there is no animation or music at all. I think honestly, that Go as a GCPL has performed really admirably against Zig (a low level non GCPL). The tradeoff between performance (Zig) and memory safety (Go) is not easy to make. For this comparison please assume crabs 🦀 don't exist 😂
@iferca
Күн бұрын
Anton, Deno 2 just released. I'd love to see Deno vs Node.JS, Go and Rust. :) Your videos are saving us tons on time in testing and helping to win lots and lots of arguments :) Thanks! Keep bringing them!
@christianovergaard1081
6 күн бұрын
I think it would be nice if you did like a bigger benchmark once in a while to collect all your tests. So best rust, vs best go, vs django/fastapi (lol), etc.
@martinhotmann7868
6 күн бұрын
ABSOLUTELY!!! :) Also he should take not stdlib from golang, since it just is not so performant as fiber etc! And: more cores ... really today cores are cheap and people that would care about such type of performance, at least run on 4 cores. Single core is just not realistic today anymore.
@BosonCollider
6 күн бұрын
@@martinhotmann7868 Stdlib router was more than good enough when the requests have to do actual work.
@severgun
5 күн бұрын
just check final values and compare them in your mind or google spreadsheet. You can compare 3 values without youtube video
@AntonPutra
5 күн бұрын
yes, I will do that as soon as I standardize the tests and optimize the infrastructure
@katungiyassin9947
5 күн бұрын
@@christianovergaard1081 I like to see Erlang go against Rust, because Erlang's BEAM is hyped for it's concurrency. Don't you think that will be worth being the benchmark of the Century?
@colin_actually
5 күн бұрын
Very interesting. Need a table summarizing where each solution's relative strengths and weaknesses are. Golang pretty good overall.
@공석원-v9b
6 күн бұрын
elixir vs golang 🎉
@AntonPutra
5 күн бұрын
i remember 😊
@Mentioum
5 күн бұрын
@@공석원-v9b elixir will be *much* slower. Benefits of elixir are it's developer ergonomics.
@katungiyassin9947
5 күн бұрын
@@Mentioum And Elixir is not good with memory, it just drinks memory like water
@roccociccone597
3 күн бұрын
yes that is one I am actually interested in.
@MrAverageViewer
3 күн бұрын
@@katungiyassin9947 Explain how it "drinks" memory.
@ilyastrelov9868
6 күн бұрын
Thanks for doing such a wonderful work
@AntonPutra
5 күн бұрын
my pleasure, it's fun
@cheatoffchannel6320
2 күн бұрын
Interesting results! Can you also compare Python’s FastAPI with something? It is pretty fast and should be on par with Java Swing.
@TsillALevi
6 күн бұрын
After went through so much compare between programing language. What do you think about making a video compare between database especially recently PostgreSQL 17 release and MySQL have major update to version 9. Thks.
@AntonPutra
5 күн бұрын
yes mysql 9.0.1 vs postgres 17.0.1 coming next
@jevve11er
5 күн бұрын
@@AntonPutra Don't forget MongoDB, RavenDB YugabyteDB, DuckDB with Go pls
@lemna9138
6 күн бұрын
Probably what is happening is that the bun.serve({static: {...}}) only interprets the js object once while the dynamic tests must run javascript every single request. I guess bun.serve static is a very convenient api for their static zig server
@AntonPutra
5 күн бұрын
maybe you're right
@MelroyvandenBerg
5 күн бұрын
@@AntonPutra testing is easy, creating a good test is hard.. Creating a fair test is even harder.
@erisboxxx
2 күн бұрын
Love these
@prerit714
4 сағат бұрын
HI Anton! Love your videos, can you do a bun vs deno2 comparison as well? I really want to see how will they behave since internally its just zig vs rust
@conundrum2u
5 күн бұрын
If you're serving static content you're really just going to use a CDN or service that is optimized for it. Scenario #2 is far more illustrative. When we're talking microseconds difference in latency, it's more likely that other network factors will mask it from the client's perspective so I think it's a non-issue. Good video
@AntonPutra
5 күн бұрын
agreed
@diosupremo4928
5 күн бұрын
What I learn with this channel: If you need to build a performant web server use Go
@Александр-ф9в4ю
5 күн бұрын
Yes, you use Rust
@artemxyi
5 күн бұрын
@@Александр-ф9в4юyou should use, учите инглиш
@AntonPutra
5 күн бұрын
rust is also an option
@LuarVik-x1l
5 күн бұрын
@@artemxyi Все зрители данного видео, так же как и его автор, оказались русскими, скрывающими свое происхождение.
@cesarmartinez2207
5 күн бұрын
@@AntonPutra True, but the learning curve between rust and go it's insane, even you needed a second video with rust to optimize to beat go but with go on the other hand, you can get things done fast and easy
@MelroyvandenBerg
5 күн бұрын
Thanks for the Golang vs Bun !
@AntonPutra
5 күн бұрын
my pleasure, deno is coming soon as well
@user-ow8gw8nl6p
4 күн бұрын
🔥@@AntonPutra
@MelroyvandenBerg
2 күн бұрын
@@AntonPutra deno v2 is out now!
@MelroyvandenBerg
2 күн бұрын
@@AntonPutra deno v2 is out now.
@elvispalace
6 күн бұрын
non-blocking I/O is great to handle request. but when you need to parse alot data, JS pushes the CPU, there is where GO shows it supremacy. maybe in the future, with a runtime using Static Hermes (a JS static compiler x10 times faster than actual engines), JS will be better in handle with this problem
@AntonPutra
5 күн бұрын
ok thanks, i'll test it when available
@roccociccone597
3 күн бұрын
Before JS can be sensibly compiled it needs types. Static Hermes uses type annotations for compiler optimisations. I don't know how concurrency and parallelism would work with JS with an AOT solution. It would require some stdlib from hermes to make that work, since that is something which is handled by the js engine. The lenghts people go to, to keep using JS is mind blowing.
@amiteshgupta8404
6 күн бұрын
Thanks for such a good comparison video.
@AntonPutra
5 күн бұрын
my pleasure
@edgonn
6 күн бұрын
Bun already comes pre-configured with optimization features that were not used in Go. Use goroutine to get closer to what is already offered in Bun's standard architecture.
@AntonPutra
5 күн бұрын
What do you mean by use goroutine in this context? Can you give me an example or PR?
@roccociccone597
3 күн бұрын
the HTTP libraries use goroutines by default. He could use fiber I guess and some compilation optimisations, but I don't see how that is related to "using goroutines"
@GabrielPozo
5 күн бұрын
Great video!!! 👏👏👏
@danielnascimento4577
6 күн бұрын
This kind of video is awesome!! Tks for This.
@AntonPutra
5 күн бұрын
thank you!
@tghpereira
5 күн бұрын
A comparison between go and c++ would be interesting
@AntonPutra
4 күн бұрын
will do!
@easy-draw
Күн бұрын
Impressive. Bun is just under year old and competing NBA league, lets wait little while and see what happens!
@ruannawe6157
4 күн бұрын
Nice vídeo! Do you have some documentation how to deploy the benchmarks that you do in your vídeos?
@bravodecodigo
Күн бұрын
Craaazy results! What about Bun vs Deno 2.0?
@prerit714
3 сағат бұрын
THIS. I really really want to know the benchmarks LOL
@andreujuanc
6 күн бұрын
Oh wow, WTF! UNEXPECTED!!!!
@AntonPutra
5 күн бұрын
i expected this after i ran Bun vs Node.js 😊
@ahmedsat4780
5 күн бұрын
great videos 💯💯
@AntonPutra
5 күн бұрын
thanks!
@toTheMuh
5 күн бұрын
Bun could be useful as a background worker. Imagine you have a go api which contains some functionalities with cpu heavy calculation that do not need to access a database. You could outsource that part of the your go api to a bun server which does the calculation and returns the result.
@skuwamy
5 күн бұрын
imagine using javascript in backend hahahahahahah
@AntonPutra
5 күн бұрын
i think if you're a frontend developer, you can probably find a use case for bun, just to keep your codebase in the same language
@uptownhr
4 күн бұрын
Did not expect this. How about a deno vs bun?
@danielelatocca
2 күн бұрын
We need a benchmark between c++ and go ❤🙂
@AntonPutra
Күн бұрын
soon!
@reinhard_silaen
Күн бұрын
Ayo, Deno 2 just dropped. Could you make compiled deno typescript vs go?
@yaminokaze4475
6 күн бұрын
So when doing any real work go is better?
@AntonPutra
5 күн бұрын
yes
@Justsomeguy492
6 күн бұрын
please benchmark spring boot with virtual threads
@AntonPutra
5 күн бұрын
I'll work on Java in a bit
@salim444
6 күн бұрын
Can you please do Clojure (reitit) vs go? the bun vs go was unexpected but that is why testing is crucial
@AntonPutra
5 күн бұрын
ok noted
@robcannon
5 күн бұрын
I would like to see Deno vs Bun. I would also like to see the C# vs Go again now that you are using Go stdlib. Although, maybe you should wait for .Net 9.0 since this being release next month.
@AntonPutra
5 күн бұрын
i'll wait. also, deno v2 is not officially out yet either
@ariseyhun2085
2 күн бұрын
I'm trying to run your benchmarks myself by deploying AWS EKS cluster, however I'm not experienced with AWS or how to setup the monitoring. The furthest I got was just building the app images and uploading them to a repository. Is there any tutorial where you walk through running one of your benchmarks on AWS with Grafana?
@SilasDuarte-e9k
5 күн бұрын
Bun is basically Zig, so great performance is expected. But, Bun is a dependency and Go is a single binary without dependencies. So, it's basically Zig vs Go. And the two languages are great. Good comparison!
@commonfolk663
5 күн бұрын
What does that even mean tho? Bun is bascially Zig the same way NodeJs is basically C++.
@AntonPutra
5 күн бұрын
😊
@eightc3370
5 күн бұрын
It's clear you don't fully understand the difference among Javascript, Go and Zig. Saying Bun is 'basically Zig' and comparing it to Go really overlooks how programming languages work. Zig is a systems programming language with low-level memory management, while Bun is a JavaScript runtime built using Zig to optimize JS performance. Comparing Go and Zig doesn’t make sense because they solve very different problems-Go is designed for web services, concurrency, and backend development, while Zig focuses on systems-level control. These languages operate in entirely different ecosystems, so it’s not an apples-to-apples comparison.
@garretmh
5 күн бұрын
I think what the OP trying to say is that since bun's internals are implemented in Zig, in a simple test like the first one most of the executed code is Zig and not JavaScript.
@boot-strapper
5 күн бұрын
unfortunately for tests like these its really hard to judge a language. For example, bun's built in sqlite is godly performance. Some of the drivers that bun is compatible with, are not really optimal for bun. I suspect thats the case with mongo driver here. Thanks again, nice work
@AntonPutra
5 күн бұрын
well, sqlite is not for production, it’s just a local database for testing. i’ve already tested bun with postgres and mongo, and the results are the same so far
@boot-strapper
5 күн бұрын
@@AntonPutra fair. I do think it will get better over time. But SQLite can be used for production actually, and there are even new tools around using distributed SQLite
@farhadeviltrg6116
6 күн бұрын
Good content 👌 Do fastapi vs go too
@AntonPutra
5 күн бұрын
thanks! i'll do python fastapi soon
@marufhasan3782
6 күн бұрын
We need springboot with virtual threads vs go.
@AntonPutra
5 күн бұрын
i remember 😊
@svrd-tech
5 күн бұрын
@@AntonPutra Spring boot app with virtual threads, webflux and compiled with graalvm :)
@TheOchita
6 күн бұрын
Isn't test1 just testing how good the buildin json lib is? My guess would be that the bun json is either being jitted to really good optimal code or it's using a c++ biding. On the good side it's well known that v1 isn't fast, which is why they are msking v2.
@AntonPutra
5 күн бұрын
I guess, but many benchmarks use static tests, which is why I include them
@7heMech
Күн бұрын
You could do a multi cpu test with workers
@avayema
4 күн бұрын
Please compare Fiber vs Bun
@AntonPutra
4 күн бұрын
i'll do it but probably later
@zedd7682
5 күн бұрын
i think a benchmark returning html instead json (htmx) could be cool too
@AntonPutra
5 күн бұрын
i'll get to UI soon, like react and angular, but I don't really see the benefit of testing server-side rendering
@truongan354
5 күн бұрын
Again with sqlite please
@AntonPutra
5 күн бұрын
sqlite is used only for development, it is not a real database
@truongan354
5 күн бұрын
@@AntonPutra I use sqlite for huge data of farms. It is very fast
@denisuardi3979
5 күн бұрын
please do go vs php, because i wanna explain to my company about how good golang
@alissonprimo
6 күн бұрын
Elixir vs All the others
@-foxy1859
6 күн бұрын
i think since Erlang type langs run in beam they will have worse performance. But they can scale at ease. Id also like to see benchmarks
@infantfrontender6131
6 күн бұрын
@@-foxy1859, you can use Rustler or Elixir NX for better performance, but it's too much. BEAM is about scale, concurrency, and fault tolerance
@AntonPutra
5 күн бұрын
will do Elixir afte database benchmark
@mridu299
6 күн бұрын
Request for two new items. First explaining these metrics and second fastapi vs go really want to see how the results will be.
@AntonPutra
5 күн бұрын
ok got it, i'll do fastapi (python) soon
@RishabhBahukhandi
5 күн бұрын
I wonder how good nextjs APIs are as compared to a proper server using express
@AntonPutra
5 күн бұрын
i'll test next.js in the near future
@RishabhBahukhandi
5 күн бұрын
@@AntonPutra thanks 👍🏼
@katungiyassin9947
5 күн бұрын
I like to see Erlang go against Rust, because Erlang's BEAM is hyped for it's concurrency. Don't you think that will be worth being the benchmark of the Century?
@_neuromanser_
2 күн бұрын
Bun isn't bad at all!
@AntonPutra
Күн бұрын
to run static routes
@kimfom
2 күн бұрын
Can I run these benchmarks locally in minikube? Is there any guide available?
@ebuzertahakanat
5 күн бұрын
would you re create go vs java benchmark please because as you know you didn't push them to the limit with the video that currently published.
@therceman
6 күн бұрын
Deno 2 vs go 😀 Or Bun with framework vs go Lang framework
@yume6643
5 күн бұрын
what framework ? There is no use of a framework in go
@therceman
5 күн бұрын
@@yume6643 are you sure about that? 😀
@AntonPutra
5 күн бұрын
waiting for the official release of v2, so far, Deno only has a release candidate
@yume6643
5 күн бұрын
@@therceman well, give me one reason to use a framework over the stdlib?
@victormadu1635
5 күн бұрын
Pls can you do database performance benchmarking
@AntonPutra
5 күн бұрын
yes coming next
@giorgio5127
5 күн бұрын
I am curious about Swift 6 with hammingbird 2
@AntonPutra
5 күн бұрын
ok noted
@kal.leroux
5 күн бұрын
I think it's better to have 1 instance with 2 core than 2 instances with 1 core for golang case or you can make a video about it
@AntonPutra
5 күн бұрын
I'll test it, but I use 2 instances to match Bun's setup, since it runs on a single thread
@kal.leroux
5 күн бұрын
@@AntonPutra I understand it's just that if golang perform better in multiple core env than multiple instance with single than your test would be a little bit misleading but I understand that we always use multiple instance when deploying app even in golang so I don't know, anyway I like your content and keep going
@timvw01
6 күн бұрын
C++ vs rust?
@AntonPutra
5 күн бұрын
i'll get to c++ soon
@settiricardo
6 күн бұрын
that's unexpected,
@AntonPutra
5 күн бұрын
i expected this after i ran Bun vs Node.js 😊
@randomtechclipper
12 сағат бұрын
I'd love to see how that MongoDb server was performing during all this 😂
@hughesabsalom526
5 күн бұрын
Lesson learnt, no company runs on static data 😅😅
@AntonPutra
5 күн бұрын
💯
@0xd3c0d3d
5 күн бұрын
Zig shining through the BUN 😁
@marcosAmaranteC
6 күн бұрын
Guys, what do you think about GORM, for a long time I preferred to use pgx and write my queries manually, but I've been using gorm for a week on a small project and I'm really enjoying it. although it is very far from being a LINQ
@nguyennguyenkhang5800
6 күн бұрын
Meh, I found ORM really sucks if project grew up with a complex queries can make it slow overtime and try pretend your programming code is better than SQL. If you have time and you know SQL just dive in to SQL and write SQL procedure or function. It is easier for me to switch to other backend programming or write unit test in the future in case I don't like Go and switch to Rust. But that is just my personal opinion if I have to work with SQL.
@khawarizmyana
6 күн бұрын
Sqlc
@mad_t
5 күн бұрын
gorm is good for read tasks I use gorm to read and pgxpool to insert/update/delete
@AntonPutra
5 күн бұрын
🧐
@szymmarcinkowski
4 күн бұрын
These benchmarks should not be taking too serious as that is still clearly too simple thus far from real life applications to provide real insights.
@dtesta
5 күн бұрын
You should probably have chosen sqlite3 instead, as Bun is optimised for it.
@yedidyarashi
6 күн бұрын
I see that you using aputra/load-tester:v18 to run the tests where can I find the docker file for it?
@AntonPutra
5 күн бұрын
i need to refactor it before i can release it, it's just a rust client with prometheus metrics
@yedidyarashi
5 күн бұрын
@@AntonPutra awaiting for your update
@SamerLOLOfficial
5 күн бұрын
Maybe next time use Honojs or Elysiajs for Bun, since it handle HTTP requests better.
@AntonPutra
5 күн бұрын
thanks i'll get to Elysiajs soon
@ibrahimnalbant7635
6 күн бұрын
can you do python vs bun vs node?
@AntonPutra
5 күн бұрын
i'll do python soon (faastapi)
@sanchitwadehra
6 күн бұрын
dhanyavad
@Serizon_
6 күн бұрын
Lmao seeing a indian in the chat is good
@AntonPutra
5 күн бұрын
my pleasure 😊
@chielonewctle7601
5 күн бұрын
hmm, that red-eyed jealous gopher...
@katungiyassin9947
5 күн бұрын
If Bun has managed to be this good, I think now you see where Zig is going. Soon Zig is coming for your Rust....
@SR-ti6jj
6 күн бұрын
What do you make of the very last graph (CPU throttling)? Seems like Bun dipped below Go near the end of the test
@AntonPutra
5 күн бұрын
Not sure, I need to investigate, but it does correlate with high latency
@archyt88
5 күн бұрын
Give it a try to python sanic, it is really fast
@biLLie_wiLLie
6 күн бұрын
Do you really know all programming languages and tools?
@mad_t
5 күн бұрын
I don't think so. That's why he gives a repo link so ppl can make PRs if they want to optimize something
@AntonPutra
5 күн бұрын
I can handle basic tasks in most languages, but I heavily rely on expert advice and optimizations to improve performance
@abinesh-devadas
5 күн бұрын
Can you do java (springboot) vs node (nestjs)
@ИнтернетСпасётМир
5 күн бұрын
I'm curious, how much does it approximately cost to run load benchmarks in large instances of AWS EKS for 2 applications with 2 replicas each for 2 hours?
@AntonPutra
5 күн бұрын
best case $10, worst case $50 and if you forget to tear down after test $200 😊
@ИнтернетСпасётМир
5 күн бұрын
@@AntonPutra Am I correct in understanding that the cost of an experiment can only be known at the end of the month when the bill is issued, or is it possible to find out earlier on Amazon, for example, the next day? I think many subscribers, including myself, would be very interested if you made an overview video about the costs of your test runs that we see on the channel. This could be an idea for your new videos - evaluating the financial aspect of your launches on Amazon.
@RandyRanderson404
5 күн бұрын
Why is the gopher stoned in the thumbnail?
@AntonPutra
5 күн бұрын
😂
@treehouseskoolie2515
Күн бұрын
Bun vs node vs erlang vs elixir
@crazycode2578
6 күн бұрын
I wanna tag Web dev cody here!!!!
@AntonPutra
5 күн бұрын
😀
@SkylearJ
5 күн бұрын
Reading the comments on every video, I think people miss the point. If you have to take a bunch of extra steps to achieve max optimization, that is inherently a lesser experience than something that works fast and well out of the box. Just because Go has some esoteric optimizations you can use, doesn't mean everyone will know they even exist. Bun is therefore a better ootb experience.
@AntonPutra
5 күн бұрын
well, if you're a frontend developer with javascript experience, it's much easier to maintain the codebase using the same language
@commonfolk663
5 күн бұрын
@@AntonPutra you probably mean isomorphic codebase, frontenders could use types from Typescript backend directly, without having to rely on tools like Swagger to expose backend API. But TS-Node/Bun backend is much harder to learn than Golang even with frontend-js background, for anyone whos looking to develop simple but performant backend, Golang is a much better fit. Typescript is just outright better for business logic than Go on the other hand, fully capable of utilizing OOP and FP patterns, having higher level of control over threading, making it suitable for managing other services. I think biggest advantage Go has over Bun/Node isnt necessarily speed, but how easy it is not to mess up. In Go you can pretty much throw goroutines at anything and Go will automagically make sure it avoids blocking. In NodeJS/Bun on the other hand, its one of the biggest problems in community and backend development, as poor understanding of EventLoop and Worker-Threads leads to blocking and therefore insufferable performance JS is rumored for.
@assorium
5 күн бұрын
It's not that isoteric, this is why backend is it's own thing. There are CPU architectures and other hardware to keep in mind. It is true though, that some languages and runtimes help optimizing but they cannot physically optimize code for every use case and hardware combinations. In the end all these comparisons are 10-20% useful, mostly showing how far actually hardware went ahead rather languages. Serving 20k dynamic request from a couple of nodes would be quite insane 10 years ago. And I'm not completely agree that knowing same language helps with DX, as language is just 1 step in the field of huge amount other knowledge required to maintain that end.
@RP-Rentner
16 сағат бұрын
"GoLang is the better alternative" Did they say in 2019 "The performance is much better than JavaScript" Did they say in 2019 Here take this 🖕
@lordxan1
5 күн бұрын
Bun vs rust (axum) next
@O...Maiden...O
5 күн бұрын
great, but no chance for bun when compared to rust, similar to recent benchmark between rust (actix) and zig (zap)
@AntonPutra
5 күн бұрын
bun can win in static tests, but if I add any dependency like a database or S3, it will fail
@SarnavaBanerjee
2 сағат бұрын
Bun vs Deno
@yume6643
5 күн бұрын
So basically, what does this benchmark shows us : unoptimized Golang nerfed to 1 core + pure go json lib is not far from a zig json implementation; "real world" nerfed golang is much better than bun. 2-0 for golang against zigscript. 😀
@AntonPutra
5 күн бұрын
not sure what you mean by not optimized
@Dipj01
5 күн бұрын
That's a lot of cope
@yume6643
5 күн бұрын
@@AntonPutra did you compile it with pgo and optimization flags? Have you done a string format instead of the stdlib json which is known for low performances? Did you tune the gc ? Golang offers a lot of easy lower level optimization that doesn't need much work. 😊
@eip408
6 күн бұрын
holy
@AntonPutra
5 күн бұрын
😊
@abiiranathan
6 күн бұрын
Where is Jarred?
@AntonPutra
5 күн бұрын
?
@RustIsWinning
5 күн бұрын
Baldie is in his office fixing segfaults.
@techinsider3611
43 минут бұрын
Try mojo
@toidihocdao-ux7ft
6 күн бұрын
what aboout deno vs golang
@AntonPutra
5 күн бұрын
waiting for the official release of v2, so far, Deno only has a release candidate
@mycode0
6 күн бұрын
Elixir vs go
@AntonPutra
5 күн бұрын
Noted, I'll do it after the database test
@O...Maiden...O
6 күн бұрын
bun & zig is just hype from ziguana, nothing more
@AntonPutra
5 күн бұрын
maybe, but I got a few PRs with Zig optimizations, will see
@orkhepaj
2 күн бұрын
soon there will be more languanges than pronouns...
Пікірлер: 281