bun is slowly ship-of-theseus-ing javascript with low level code, amazing.
@Omikronik9 сағат бұрын
I saw a comment on the bun 1.2 video that said something along the lines of “the speakers all look like the bun mascot” and it still cracks me up
@paulrpg11 сағат бұрын
It feels similar to what has happened in Python - a lot of the big crunchy libraries are just bindings to c/rust/whatever. You end up with a language which is easy to access and an underlying toolset which is actually pretty performant.
@alexander32938 сағат бұрын
bun could do the same by intruducing a native api. then they could provide native implementations as third party packages. idk if embedding it is a good idea
@spicybaguette77067 сағат бұрын
@@alexander3293 Node already has a native API. It's just a pain to deal with installing native packages. While having this kind of stuff built in to the binary is much more convenient
@pwii7 сағат бұрын
@@alexander3293 bun has always had a FFI API, there's even an example in their documentation on how to compile C files and use them transparently, with node's napi for passing values. native modules would just be some syntax sugar over this, as it is right now it's kind of annoying to use.
@krumbergify5 сағат бұрын
Doesn’t help if you use for-loops unfortunately….
@nathanfranck58224 сағат бұрын
@@krumbergify Not until there's a numpy equivelant :)
@andrewporter186812 сағат бұрын
It still cracks me up that only in the 21st century is it possible to boast printing text to a screen takes milliseconds (instead of picoseconds and nanoseconds like it should these days). Yeah, I know, it's JavaScript, not Bun, but it was still funny watching the Bun 1.0 release making that statement.
@somcho12 сағат бұрын
this channel is a giant tech interview
@spicybaguette77066 сағат бұрын
12:00 Yes, but the headline is "Reading S3 files is 5x faster". This is just one big marketing video. Impressive stats to be sure, but again, does it really matter in a real application?
@easternplatypus9 сағат бұрын
18:37 "AI Peter Griffin" is diabolical 😭
@codeman99-dev9 сағат бұрын
Thank you for delivering this timestamp. I needed that laugh!
@nodemodules13 сағат бұрын
Thousands of hours of human efforts, all to make people adopt a language that was never meant to be used aside from some light scripting (it even sucks at that).
@xwdarchitect13 сағат бұрын
Disagree. I get the hate, but JS features low cognitive load if written well, easy to read and is very adaptable, like a paste. This is from someone who coded in all sorts of languages, typed or dynamic. TS mostly sucks though NGL
@noomade13 сағат бұрын
At least its not Java!
@voidwalker777413 сағат бұрын
The thing is, if something is hard, you feel success if you reach your goal. It is hard to do things in C++ and JS, so you feel successful because you slain the dragon. But this is not the same as being productive, as in getting some milage for your effort. Only because it is hard, does not mean it is good.
@mikadofxx903012 сағат бұрын
Just go with it bro, another framework/runtime/library will fix it, trust me
@jimblonde252312 сағат бұрын
You're right, we never should have taught sand to think
@lucaszapico9267 сағат бұрын
I was hopping you would review this! 🙌🙌 thanks prime
@m4saurabh13 сағат бұрын
Bun is shipping free performance for JavaScript developers
@foreignconta13 сағат бұрын
2:03 Did my screen just "tear"? I haven't seen those in decades!
@Duckly9713 сағат бұрын
Primeagen doesn't believe in Wayland
@bloody_albatross12 сағат бұрын
My guess Nvidia proprietary drivers? They only care about Linux as a render farm or GPU compute farm.
@VlaDexa_MAX11 сағат бұрын
HE'LL SWITCH TO SWAY, OKAY???
@lastrae812911 сағат бұрын
@@bloody_albatrossNVIDIA has fixes everything in their latest proprietary drivers, their is not a single reason to stay on x11
@OnStageLighting10 сағат бұрын
I watch Prime from my Macbook just to get that warm fuzzy feeling of screen tearing.
@dolorsitametblue48 минут бұрын
20:39 "I love the mentality of maximized performance and maximized convenience" Amazing take. This is why I love Nim - you get good performance writing mid code and standard library is often all you need.
@SIMO__42011 сағат бұрын
I love watching theprimeagen even though I'm barely understanding what he says .
@cx1234562 сағат бұрын
11:00 that "reading s3 files" reminded me of my script that was synching files. Tens of thousands of files. I had a nice thread pool, at least 16 concurrent connections, and it was taking minutes with decent throughput. Then someone decided to give it a rewrite and introduced some modern js techniques, like functional programming and await. Sure, the code looked way more sexier and bit more structured, but now we were talking hours if not days to get through the whole list.
@andrewjleonard4 сағат бұрын
I feel like I can be convinced either way, but right now I have the opposite opinion. Why are we bundling third party services (s3, Postgres) into bun core ? If anything I think those should be optional modules
@Kiiiizle3 сағат бұрын
Thank goodness someone said it These things sound useful, but they sound more like a standard library or extended standard library Absolutely should not be anywhere near the core of the platform
@stoched12 сағат бұрын
Damn I commented on bun's original video how for some reason nobody EVER supports MS SQL didn't even see the part about about them adding S3. So now I need to add nobody ever supports azure or ms sql smh my head.
@SkylearJ11 сағат бұрын
Maybe because MS SQL is the mentally disabled red-headed step child of the SQL world lol
@MrMudbill9 сағат бұрын
MS doesn't deserve support after what they did to us with IE :D
@lucsoft9 сағат бұрын
you can't even post benchmarks of MS SQL without getting into legal trouble. postgres is clearly way more open
@sohn77677 сағат бұрын
How does that surprise you?
@SkylearJ7 сағат бұрын
@@stoched maybe because MS SQL is the red headed step child of the SQL world?
@philadams925412 сағат бұрын
Bun trying to become PHP
@heitorfreitasf11 сағат бұрын
i think they are aiming for the go experience
@masadamsahid10 сағат бұрын
Become PHP? Wdym? Or did you mean become Laravel (that gives so much included batteries for web dev)?
@shreshthrai632610 сағат бұрын
did you say it on stream as well ?
@AllanSavolainen10 сағат бұрын
So they are trying to become great, easy to use, general purpose web development language for backend? Sounds good.
@philadams92548 сағат бұрын
@ Exactly. IMO just use PHP!
@BenjaminSolum3 сағат бұрын
That Zelda cyberpunk/synthwave playlist is solid. Great programming music!
@bluelightning2k7 сағат бұрын
I suspect that the circumstances when the downloads are faster might be when you have a really, really fast network and simultaneous large files. Basically the bottleneck becomes the filesystem writes and bun can multi-thread this ?
@oblivion_28524 сағат бұрын
I did some basic benchmarking of reading two files, running matmul and writing the result to a file. I found that for some reason bun has a performance regression on write streams (bun and node were equal on read stream)
@freeideas11 сағат бұрын
Linux can't be used more than sqlite because every instance of linux will typically have 8 instances of sqlite.
@AllanSavolainen10 сағат бұрын
But what are we counting? Number of sqlite db files? Sqlite libraries installed? Apps with sqlite bindings? Linux installations since 0.x version?
@freeideas9 сағат бұрын
@@AllanSavolainen I believe my comment holds true no matter which of those we are counting. Am I wrong?
@ronniebasak968 сағат бұрын
Yes, sqlite is deployed in places in engines and no os envs @@freeideas
@spicybaguette77067 сағат бұрын
Not to mention sqlite runs on systems that aren't linux
@AllanSavolainen7 сағат бұрын
@@spicybaguette7706 are we talking about sqlite or sqlite2 or sqlite3? Numbers between those are wildly different. :D
@arhum122411 сағат бұрын
I'm new to these js frameworks, it seems Deno and Bun seem to one-up each other (and dunk on node) every few weeks. What should I really choose as a newcomer? I'd like something standard, tried and tested and widely used. Deno 2.0 has a built-in LSP and formatter + permissions system which has sold me on deno (2.0) so far.
@神キラー11 сағат бұрын
Bun is what the community is adopting for sure, I use it for builds even if I’m not running it on the server
@MrMudbill9 сағат бұрын
If you want something tried and tested and widely used, you'd go with Node. Considering Bun is trying for 100% compatibility with Node, that gives Bun a good opportunity to take over in the future if a project is started in Node today. Personally I use Bun, but there are rare issues (doesn't seem to do testcontainers properly yet). Btw these are runtimes, not frameworks.
@mattymattffs9 сағат бұрын
Anything other than JavaScript is what you should choose. Jfc it's so obvious
@tarosceptic9 сағат бұрын
bun has more compatibility by now
@Klaus-bm5ek7 сағат бұрын
the unfortunate truth is the answer is node, deno and bun are way better, yes. but node still has the jobs, and you should know how to survive the chaos that is the node "ecosystem", then see all the problems deno and bun solves and glimpse into a better world. to answer your question, i prefer deno
@零云-u7e7 сағат бұрын
If you look at Bun, the config is pleasurable. I went looking for a path of least resistance. Something at the house, right? Toss in a container, get nginx working for me, things like that. I was really taken by it, and I like JSC, so I wanted to play with a fast setup time.
@titfortat44052 сағат бұрын
Deno: 101k stars, 2k issues, 13k commits (zero segfaults). Bun: 75k stars, 4k issues, 11k commits (many segfaults). Hmmm should I go with the more popular library with fewer issues or the less popular one with more issues.
@TamikoMaples6 сағат бұрын
I usually don’t jump into new projects, but after seeing the potential with Adaxum, I’m in. Time to diversify my portfolio!
@MirellaShea6 сағат бұрын
Adaxum token is a rare gem in the presale market. Alts are heating up, and this project looks poised for success!
@zx-sy1qh5 сағат бұрын
I have been baking a lot these day ! Bun lives up to the video claims !
@SoreBrain13 сағат бұрын
I'm kinda tired of the vague benchmarks bun is constantly showing off. I like denos approach.
@spicybaguette77067 сағат бұрын
Yes, it's disingenuous and they know it. Bun is not 3x faster than Node, their netcode may be faster, but they don't say that. JSCore is not significantly faster than V8. It's especially harmful for new devs who think "oh, so Bun must be better, right?". The JS ecosystem is full of unnecessary hype...
@PhilKulak59 минут бұрын
Zig is great! The best window manager (River) is written in it.
@noblemajo7 сағат бұрын
I live the new baked in features but i switched from node and denontl bun because of the already existing and nessesary tool set for an environment. I like this idea of "give the users what they need" like go has it today: gofmt, tests, ls, install from git... (i just wish for go also any kind of skipt or alias file/format like the package.json scripts and not makefiles). bun people look deadly baked like the mascot :P
@Richard-sp3ul10 сағат бұрын
Tried out bun hono and turso and htmx to prototype. Was nice. Might move a product to the SHART stack. Shuttle htmx alpine rust turso.
@wes5558 сағат бұрын
might try SHART myself
@zwanz0r12 сағат бұрын
SQLITE is the lord's database
@avwie13210 сағат бұрын
Sqlite is part of node22
@spicybaguette77066 сағат бұрын
Amen!
@JaFupy9 сағат бұрын
Bun and Void 0 should merge. And also if this is bun 1.2, 2.0 will be crazy
@PwnKilla10 сағат бұрын
Can someone explain the import html bit 19:51
@medbenbrahim32468 сағат бұрын
They are processing the html file at import time, so any JS/TS/CSS imports in it are compiled/bundled and also the html is minified and optimized bun.sh/docs/bundler/loaders#html
@WillHuizenga12 сағат бұрын
Eh, I'd like to have the cloud stuff spun out into its own lib. 'bun/cloud' or something. Maybe it's not that big of a deal.
@valentinrafael92014 сағат бұрын
I mean,someone has to say this to you Prime…if you like clustering so much, why DONT YOU CLUSTER DEEZNUTS. Too easy
@taylor-worthington12 сағат бұрын
The look-alike contest is the bell boy from Upload show, and the trader from Minecraft.
@DoganOrhan-l7y6 сағат бұрын
Projects like Adaxum are what make altcoin season exciting. Cutting-edge innovation paired with high growth potential.
@LeeKao13 сағат бұрын
There are things that are faster to build on Bun. for example if you plan on spawning lots of child processes and interact with them Bun is 1000x simpler and faster to write the code then in Node
@BarakaAndrewСағат бұрын
I only use bun nowadays for everything new, even on react native. Everything just work
@ktktktktktktkt13 сағат бұрын
16:28 pick and choose much? The second pic is a dead ringer.
@metaltyphoon6 сағат бұрын
How can prime not understand that hello world shows the overhead removed compared with the previous version?
@andrwondabeat12 сағат бұрын
5:51 minutes to 26:01, well done.
@firesquid65 сағат бұрын
Bun+TS makes JavaScript into a serious language
@ktktktktktktkt13 сағат бұрын
12:52 broke character
@benotisanchez55838 сағат бұрын
Bun hit me the same way tailwind hit me. I tried it once, and now I can't see myself using any other software.
@AstuteJoe11 сағат бұрын
Bun is a nice hobby project that is dogshit at the real word, I built an app using Bun, deployed to AWS, after 2 days I noticed the containers were constantly restarting due to out of memory, checked the graphs and it was a beautiful hardcore saw blade teeth looking memory leak graph, changed to Node, no leak :)
@MrMudbill9 сағат бұрын
Got several deployed to AWS, no issues. Maybe you landed on an unlucky version.
@AstuteJoe9 сағат бұрын
@@MrMudbill I was using the node redis library, it could be a bad interaction between the two, doesn't change the fact that with Node I had no problems
@DocHudson4209 сағат бұрын
Calling something dogsh after having an issue 1 time is an interesting take when it doesn’t seem to happen to other people.
@AstuteJoe8 сағат бұрын
@@DocHudson420 It doesn't happen to other people because it isn't used enough. And yes, if I got a memory leak by publishing the first version of my app, imagine if I continued development until the end, and THEN had to switch runtimes, no thx
@AstuteJoe8 сағат бұрын
If it blew up with a simple initial version of an app, imagine a much bigger app? It could've been extremely bad luck that I hit the only few or so memory leaks in the runtime, but I'm not gonna leave to chance that I'm gonna be able to deliver a stable app as an engineer, it's all about trust, the second it's lost, it's lost
@Dylan_thebrand_slayer_Mulveiny4 сағат бұрын
13:04 Bobby Droptables is about to ruin their day...
@jameslouizbuilds10 сағат бұрын
We’re doing promo videos for npm packages now?
@alitaa115410 сағат бұрын
I speak from an experience with slow Internet connection, I cannot install any npm package with npm, while I can download any with bun
@OnStageLighting10 сағат бұрын
Is ShiTTY not the greatest name for a terminal emulator or what?
@ndamu-soft4 сағат бұрын
Replaced npm with bun for some time now. Add I'm very happy with the speed gains🎉
@andremacola_11 сағат бұрын
still have problems with http requests and is almost unusuble with elasticsearch lib
@avwie13210 сағат бұрын
The fact that these projects have marketing promos says all
@mattmurphy703010 сағат бұрын
Says what?
@greyshopleskin231510 сағат бұрын
@@mattmurphy7030it’s a product
@avwie1329 сағат бұрын
@@mattmurphy7030 All
@naranyala_dev11 сағат бұрын
proof of concept, real products
@dasten1236 сағат бұрын
I absolutely love Bun
@NdxtremePro5 сағат бұрын
The Hello world should be ignored for node, sure. But against themselves? It is nice that they are getting faster themselves.
@JLarky8 сағат бұрын
I used Bun with jsr, it works just fine to install and to publish
@codingwithjamal10 сағат бұрын
Why bun over deno?
@wes5558 сағат бұрын
deno
@npc-drew5 сағат бұрын
what they said was he looked like Mark Pre-Giga Chad version lol 😅🤣
@NUMBERSMoss6 сағат бұрын
Looking for the next big thing in crypto? Adaxum token focuses on AI and real-world utility makes it a top pick for me.
@donwinston9 сағат бұрын
I think they should've made it so it doesn't even work with JavaScript. It should only work with TypeScript and compile directly to binary. I have no desire to write server side code in JavaScript. Forget it. If you want JS then use Node.
@diegofloor12 сағат бұрын
1:21 it looks like the same guy with different facial hair.
@JorisGriffioen8 сағат бұрын
Look the S3 stuff is cool but .. 90% green for `fs` ? I've tried bun for 3 (side)projects so far and ran into that wall every time. They keep adding new shit but haven't solved the first "drop in" promise.
@spicybaguette77066 сағат бұрын
What issues did you encounter? Just curious as I maybe want to try Bun myself and see if it lives up to the hype (it probably does not, given basically every VC funded thing is overhyped, doesn't mean it's necessarily bad though)
@hamzakhiar363611 сағат бұрын
Jarred kinda looks like bun as well
@oblivion_28523 сағат бұрын
8:10 The aws-sdk package is shit lol. It's huge and slow
@ShinSpiegel12 сағат бұрын
I'm not sure if I like this update, all of these "bun APIs" should be a standard library, and not the "runtime API". Feel like bun started big and isn't delivering the amount I expected... Or I'm just frustrated with the whole JS thing.
@lucsoft9 сағат бұрын
yeah this goes against standard security practicies
@dirkschannel581713 сағат бұрын
I'm more drawn to Deno
@DONNELLGrice-u7p6 сағат бұрын
I think the smartest thing is to invest in presales like Adaxum, that will launch in following months and catch the peak of the cycle.
@familyshare37245 сағат бұрын
Zig already compiles zig, c, cpp, why not compile js and ts too!
@YavuzTuba-s8t6 сағат бұрын
Adaxum isn’t just another project-it’s a complete ecosystem with practical use cases. That’s why I’m bullish on Adaxum token!
@proactivex8 сағат бұрын
cluster buns?
@henry-js11 сағат бұрын
Why do they sound like cartoon characters?
@mirkomariani445611 сағат бұрын
aws sdk apis embedded in a runtime? aside from lockin it looks a terrible thing to do, to me it seems just a driver to increase adoption, I'd actually expect free performance gains by just importing s3 from aws-sdk in bun. this way the path forward is clear: a bloated runtime full of 3rd party integrations
@spicybaguette77067 сағат бұрын
Nowadays, S3 is a widely used storage API (like mentioned in the video). This is by no means an AWS-specific API anymore. They've implemented their own driver (
@spicybaguette77066 сағат бұрын
BTW, I will see the performance for myself if/when I test it for my usecase. I'm not convinced by the benchmarks in the slightest. This is just a big sales pitch. But there's no way it's slower than the actual SDK
@tedchirvasiu12 сағат бұрын
just use C# bro
@SIGSEGV133711 сағат бұрын
Dlang is the way
@spicybaguette77067 сағат бұрын
@@SIGSEGV1337 DNlang, even better
@BjarkediedrageСағат бұрын
I wanna see Jai stuff!
@erikslorenz13 сағат бұрын
Do people really view bun and deno as anything more than node R&D? These are VC backed companies that have gained virtually zero adoption.
@spicybaguette77066 сағат бұрын
Yup, I will keep relying on trusty NodeJS. I am interested in the Postgres and S3 integrations, but there's no way I'm gonna believe those benchmarks, I'll do some benchmarks myself for my applications (which you should always do anyways). The question is always whether this makes any practical difference or not, since _real_ applications do a lot more than just reading files from S3 or fetching SQL queries
@ricky26297 сағат бұрын
Js should never been used outside of the browser.
@Kiba1149 сағат бұрын
this looks and sounds like an AI voice over 😭
@FeyzaRezan-j6f6 сағат бұрын
E-commerce and DeFi are two unstoppable trends, and Adaxum token is sitting right at the intersection. Early adoption is key!
@MeltemGulen-u4m6 сағат бұрын
Altcoin seasons don’t come often, and Adaxum token unique features make it one of the most promising projects out there.
@zeocamo10 сағат бұрын
Prime they got sqllite from way back....
@g227x018 сағат бұрын
The sample code looks cool, but it is too much hidden complexity.
@deux-machinna12 сағат бұрын
JavaScript should have never been created
@nomadshiba8 сағат бұрын
jsr already supports bun and everything else
@arcrad12 сағат бұрын
Bun and done.
@oORDOSo12 сағат бұрын
I wish to see lodash and other widely-used libraries integrated in bun.
@matthewdolman10 сағат бұрын
I only like this if it's sarcasm, and the beauty is that I can't tell.
@AScribblingTurtle12 сағат бұрын
I'm not sure if nowadays, "X is using our Product" is the flex, that this guy thinks it is.
@seanmcgrady868811 сағат бұрын
... why wouldn't it be?
@AScribblingTurtle9 сағат бұрын
@@seanmcgrady8688 Let's just say, as a German, I'm highly uncomfortable with a guy who meddles in politics, supports right wing speech while silencing anyone not on his side and who thinks, that doing an offbrand N**i salute is "cool". Unfortunatly his Platform, formerly known as Twitter, reflects and encurages that behavior as well. On a more technical side, X is a slowly decaying corps of a platform, thanks to its owner freeing resource's by firing the people with knowledge and overworking the underpaid ones that he kept. You don't get rich by being smart. You get rich by being an A-Hole and pretend to be smart. For Bun to be proud, that their technology powers something like this just isn't a flex in my eyes. More the opposite.
@AScribblingTurtle9 сағат бұрын
@@seanmcgrady8688 X is a slowly decaying corps of a platform, thanks to its owner freeing resource's by firing the people with knowledge and overworking the underpaid ones that he kept. Being proud, that your Technology powers something like this just isn't a flex in my eyes.
@SlackoJacko3 сағат бұрын
@@seanmcgrady8688 Because these orgs are so large they're running everything somewhere, that and most have learned there's little correlation to quality.
@dgo449012 сағат бұрын
Oh god... who taught this people to behave like that.... I feel like my monitor is 30 degree tilted watching this...
@Kunal-k-u-m-a-r6 сағат бұрын
interview wirh nodejs vs bun maintainers ha ha ha !! would be fun
@germantoenglish89810 сағат бұрын
My daughter asked me who the scary man was as soon as he threw the Bun pillow and started talking. Why do so many tech people feel like Aliens imitating humans?
@0.amonymous9 сағат бұрын
Don't be rude. But... 'Tism.
@wes5558 сағат бұрын
@@0.amonymous The tism issue is real
@spicybaguette77067 сағат бұрын
It's just people being awkward reading a script in front of the camera. And maybe autism as wel, it's surprisingly common in the tech industry
@meyou11811 сағат бұрын
minix is the most used...
@JaFupy10 сағат бұрын
17:09 TOML >>>>>>>>>>>
@AidaPolanco-l8k6 сағат бұрын
Adaxum's presale is attracting attention from investors looking for projects with real-world applications and growth potential.
@stephenkamenar9 сағат бұрын
bun is fast at everything except running javascript code. because v8 is faster than whatever they use. hello world goes fast, any real code and bun is slower than node
@Kunal-k-u-m-a-r6 сағат бұрын
still NODEJS >>>>> BUN 1.2
@jarredsumner59833 сағат бұрын
❤
@henryvaneyk376912 сағат бұрын
That guy is high on coffee:-) Just sayin...
@0.amonymous10 сағат бұрын
Ok so should we use deno or bun im genuinely confused which one is better now. Guess ill try to use both. I like node but will try them. If anyone knows more details on this pls tell
@mattymattffs9 сағат бұрын
Form your own opinions ffs
@spicybaguette77066 сағат бұрын
If you want job security, pick Node. If you want to play with shiny new toys, pick Deno or Bun