Bun 1.0 Release | Prime Reacts

Поделиться
HTML-код
  • Опубликовано: 10 сен 2023
  • Recorded live on twitch, GET IN
    / theprimeagen
    Reviewed article: bun.sh/blog/bun-v1.0
    Authors: Jarred Sumner - / jarredsumner
    Ashcon Partovi - / ashconpartovi
    Colin McDonnell - / colinhacks
    MY MAIN YT CHANNEL: Has well edited engineering videos
    / theprimeagen
    Discord
    / discord
    Have something for me to read or react to?: / theprimeagenreact
    Hey I am sponsored by Turso, an edge database. I think they are pretty neet. Give them a try for free and if you want you can get a decent amount off (the free tier is the best (better than planetscale or any other))
    turso.tech/deeznuts
  • НаукаНаука

Комментарии • 448

  • @notapplicable7292
    @notapplicable7292 9 месяцев назад +692

    I've been waiting for this. Bun's video got me excited despite having literally 0 impact on my work.

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  9 месяцев назад +111

      but.... you never know!

    • @henriquemarques6196
      @henriquemarques6196 9 месяцев назад +40

      time to start shilling bun at my work

    • @TheDanVail
      @TheDanVail 9 месяцев назад +52

      @@henriquemarques6196cult with rust ended. Now bun is my new deity

    • @yt-1337
      @yt-1337 9 месяцев назад +13

      @@ThePrimeTimeagen bun... you never know!

    • @OutOfBoundsException
      @OutOfBoundsException 9 месяцев назад +14

      @@TheDanVailwhy not both? There is already a rust plugin for bun ;)

  • @fosteredlol
    @fosteredlol 9 месяцев назад +224

    The good thing about bun is that it can be entirely funded by selling plushies of their mascot

    • @UnyieldingWillDiscipline
      @UnyieldingWillDiscipline 9 месяцев назад +5

      based

    • @pepperdayjackpac4521
      @pepperdayjackpac4521 9 месяцев назад +1

      even food

    • @raul0ca
      @raul0ca 9 месяцев назад

      Rug pull coming

    • @tkdevlop
      @tkdevlop 9 месяцев назад +1

      Should be called Manju for package manager

    • @benitollan
      @benitollan 9 месяцев назад +4

      The "good thing"? Bun's got many good things. That's just the best one.

  • @miletadulovic577
    @miletadulovic577 9 месяцев назад +147

    I did try clean bun install on a local project against clean npm install
    bun: 5.5s
    npm: 1.25min
    Difference on a bigger project is even bigger
    bun: 8.2s
    npm: 3.12min
    Honsetly, I think Bun will be huge.

    • @palabert
      @palabert 9 месяцев назад +6

      Lol my work project can take like 5 minutes installing my node modules using npm.

    • @dhkatz_
      @dhkatz_ 9 месяцев назад +14

      For real. It's kind of sad that he immediately dismissed the bun install speed. That insane speed difference IS a clean install. Bun finishes installing packages from the time I switch from the terminal to my code.

    • @miletadulovic577
      @miletadulovic577 9 месяцев назад +1

      @@dhkatz_ exactly.. that's why I had to comment..

    • @darienford860
      @darienford860 9 месяцев назад

      @@dhkatz_ youre acting like no other installments have done that

  • @kabukitheater9046
    @kabukitheater9046 9 месяцев назад +262

    you know it's frontend when prime is in a white shirt

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  9 месяцев назад +78

      white t out, front ends out... pause

    • @iCrimzon
      @iCrimzon 9 месяцев назад +3

      ​@@ThePrimeTimeagenAYOOOO

  • @swigginghemlock
    @swigginghemlock 9 месяцев назад +49

    Hence forth I shall be using the BASED stack:
    Bun, Astro, SQLite, Edge Deployment

  • @AntonioSarosi
    @AntonioSarosi 9 месяцев назад +130

    2010s: Separation of concerns
    2020s: Reunion of concerns

    • @XDarkGreyX
      @XDarkGreyX 9 месяцев назад +24

      We should all be stop being concerned is what I take away from that.

    • @yt-1337
      @yt-1337 9 месяцев назад +23

      there's a difference between tooling and code architecture, but still funny

    • @kevinflorenzdaus
      @kevinflorenzdaus 9 месяцев назад +8

      2030: Separation of reunionized concerns

    • @n4bb12
      @n4bb12 9 месяцев назад +21

      The components of Bun are separated into different packages. What's different is that all these packages are governed under a single body and you don't need to convene the whole European parliament each time you want to do anything.

    • @n4bb12
      @n4bb12 9 месяцев назад +3

      It took pnpm years to get the ecosystem to replace incorrect node resolve algorithms so its symlinking of dependencies would work with all build tools. This problem doesn't exist if you control the whole tooling landscape.

  • @SumanPokhrel0
    @SumanPokhrel0 9 месяцев назад +217

    Nice one. It would be fun to watch a detailed performance test video on bun.

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  9 месяцев назад +214

      Coming soon!

    • @Endelin
      @Endelin 9 месяцев назад

      Have you discovered Hyperfine yet?@@ThePrimeTimeagen

    • @fabiojuniorxD
      @fabiojuniorxD 9 месяцев назад +1

      @@ThePrimeTimeagen excited for this moment!

    • @bike4aday
      @bike4aday 9 месяцев назад +2

      Go vs Rust vs TS (Bun)!

  • @tharsis
    @tharsis 9 месяцев назад +143

    For those wondering if that 'import x from y with { type: 'z' }' syntax is some weird Bun-ism, it's not. That's something that's being added to JS known as Import Assertations and it's currently sitting at Stage 3, about to be moved to Stage 4. This means that it's going to be added to JS itself immanently.
    That RFC does use the word 'assert' instead of 'with', but they settled on using 'with' this March. Bun's just conforming to an upcoming standard which should help aid in importing non-JS things (CSS Modules could use 'import styles from 'component.css' with { type: 'css-module'}' and the bundler/runtime could throw a big fat wobbler if the file happens to contain JS or binary data instead, for example).

    • @dixztube
      @dixztube 9 месяцев назад +5

      I try not yo read comments while watching video but couldn’t help myself and found yours oddly enough right at the point where that syntax was presented.
      Strange coincidence or fate?

    • @palabert
      @palabert 9 месяцев назад +1

      Is it only file type checking?

    • @tkg__
      @tkg__ 9 месяцев назад +5

      TypeScript also added features that were "already in Stage Whatever" like private fields and Decorators only to then have to adopt #fields anyway and decorators are a mess. Keep to the standards. Big nope from me. Sooner or later this will end in JavaScript and BunScript.

    • @foobars3816
      @foobars3816 9 месяцев назад +7

      @@dixztube "Strange coincidence or fate?" Neither. Just selection bias. You didn't count all the times you read a comment and it wasn't a reference to that part of the video you were watching because it was unnotable. Lots of other people also read a comment during the video and didn't find the first one to be related to some specific part of the video. The minute quantity of people who did likely left a comment just like yours.

  • @vitiok78
    @vitiok78 9 месяцев назад +71

    I think it's similar to the Go approach to provide all the tooling you need right from the box. And I like it very much!

    • @BosonCollider
      @BosonCollider 9 месяцев назад +10

      The only additional API it needs is a built-in postgres driver imho.

    • @melodyogonna
      @melodyogonna 9 месяцев назад +17

      @@BosonCollider it's actually on the roadmap

  • @mrclaytron
    @mrclaytron 9 месяцев назад +45

    It honestly seems too good to be true! I never in my life imagined myself saying this, but I think I'm ready to spread the bun.

  • @judacs
    @judacs 9 месяцев назад +41

    I've been trying Bun for the past few days and I'm actually loving it. I really hope this project gets adopted by the community and becomes the new standard for JS runtime

    • @codecleric4972
      @codecleric4972 9 месяцев назад +1

      We were spitballing it in a meeting at my job today. I think in the coming months we're going to pilot it for a project or two since we all seemed pretty excited about it

  • @Kane0123
    @Kane0123 9 месяцев назад +32

    Is JavaScript production ready now?

  • @WhyDoesYTUseHandlesNow
    @WhyDoesYTUseHandlesNow 9 месяцев назад +15

    Bun build does come with a built in minifier by the way.

  • @BasilAslam
    @BasilAslam 9 месяцев назад +8

    "See? Blazingly fast!" Bun said proudly

  • @DryBones111
    @DryBones111 9 месяцев назад +61

    Theo tried out the package install speeds and bun is still quite a bit faster than pnpm when running cached installs.

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  9 месяцев назад +121

      no offense to theo, but i don't trust his or anyone else "install" perf tests. i'll see for myself

    • @colton3507
      @colton3507 9 месяцев назад +10

      ​@@ThePrimeTimeagenroasted

    • @yt-1337
      @yt-1337 9 месяцев назад +7

      @@ThePrimeTimeagen pls upload a short video (not yt shorts) where you test it

    • @deniyii
      @deniyii 9 месяцев назад +1

      BASED@@ThePrimeTimeagen

    • @palabert
      @palabert 9 месяцев назад +1

      ​@@ThePrimeTimeagenthe chadagen

  • @pif5023
    @pif5023 9 месяцев назад +15

    “used by billions of devices every day”. This is how you know a lawsuit is underway. Bun Virtual Machine.

    • @rushyscoper1651
      @rushyscoper1651 9 месяцев назад +1

      chrome actually used it before 2013 and later fork it renamed it to blinker which what today still being used, its open source

    • @eyondev
      @eyondev 9 месяцев назад

      After all, bun is a JRE

    • @celiacasanovas4164
      @celiacasanovas4164 9 месяцев назад

      @@eyondev what? how?

    • @mlntcandy
      @mlntcandy 9 месяцев назад

      @@celiacasanovas4164well it is, technically, a Javascript Runtime Environment

  • @soniablanche5672
    @soniablanche5672 9 месяцев назад +4

    Deno is also compatible with Node built-in modules btw, as long as you import it as "node:name-of-module" instead of "name-of-module"

  • @mormantu8561
    @mormantu8561 9 месяцев назад +8

    7:50 This was so confusing and frustrating to me when I started using JavaScript. The hours it took before I learned that I needed to use a library (Babel) to use different libraries together. Really poor DX.

  • @MW-mn1el
    @MW-mn1el 9 месяцев назад +19

    I like the longer version of "......"-gen ending. 😄 Bun might be the first killer app for Zig, even before Zig reach 1.0 in probably 2025. Among the newish language, Zig/Rust/Mojo outlooks sounds promising.

    • @0.Maiden
      @0.Maiden 9 месяцев назад +9

      not entirely language related, to achieve current speed depends on engine, bun uses JavaScriptCore whereas nodejs/deno uses v8

    • @philheathslegalteam
      @philheathslegalteam 9 месяцев назад +3

      @@0.Maidenthat is wrong. V8 is actually faster than JSC.
      Its not the execution of JS thats at play here, its the syscalls and memory usage of the underlying native implementations.
      V8 isolates (CF workers, Vercel edge) are already way faster than Node.
      Bun for instance overrides the Node protocol for import resolution so fs and node:fs will resolve to fast native implementations.
      Their JS implementations make GC more efficient as well.

  • @donkeizluv
    @donkeizluv 9 месяцев назад +13

    I tried both cached and clean install. Bun always wins big at the "install" part. Like yea, 2000+ deps in 1.1s for my project. Ppl say install time doesnt matter until they see how fast it is

    • @RaMz00z
      @RaMz00z 4 месяца назад

      Hoolly sh*t that's impressive

  • @roguesherlock
    @roguesherlock 9 месяцев назад +4

    dude I love your energy!

  • @privatesocialhandle
    @privatesocialhandle 9 месяцев назад +7

    I agree on the hooligans argument haha 0:41. But on a serious note, this is very exciting because it brings structure to the ecosystem of JS while not limiting the chaos and creativity of JS itself.

  • @usher-p
    @usher-p 9 месяцев назад +2

    i'm an engineer, tons of respect and love for prime! that's a really good engineering mindset

  • @FaisalAfroz
    @FaisalAfroz 9 месяцев назад

    Glad you shown us those exclusive pics in this video.

  • @afterschool2594
    @afterschool2594 9 месяцев назад +4

    Zig is still in beta and Bun is written in Zig

  • @natanribeiro6536
    @natanribeiro6536 9 месяцев назад +13

    🎯 Key Takeaways for quick navigation:
    00:13 🛠️ Bun 1.0 is stable, production-ready, and eliminates the need for a version manager.
    00:28 🌐 The toolkit is designed for JavaScript and TypeScript, aiming to simplify the developer experience.
    00:58 🚀 Bun's goal is to eliminate the slowness and complexity of JavaScript tooling.
    01:12 🔄 Bun serves as a drop-in replacement for Node.js.
    01:54 🤓 Supports various file types including JavaScript, TypeScript, JSX, and TSX.
    02:22 📦 Acts as an all-in-one package manager, eliminating the need for other tools.
    03:02 🤝 Compatible with existing Node.js applications and npm packages.
    04:13 🚄 Boasts 4x faster startup than Node.js, especially beneficial for TypeScript files.
    06:58 📜 Built-in JavaScript transpiler, allowing you to run multiple file types with no dependencies.
    09:10 🔌 Highly customizable through plugins.
    12:26 🏎️ Package installation is faster compared to npm.
    13:56 🧪 Includes a test runner with fast native code matchers.
    16:03 🖥️ Windows build is still experimental and not fully optimized.
    Made with HARPA AI

    • @igorordecha
      @igorordecha 9 месяцев назад

      ⚠️🫵Found a ☕📃 Javascript 📚 library 🧑‍💻 developer⚠️
      Unicode was a mistake...

  • @codesandtags
    @codesandtags 9 месяцев назад +2

    Ohhh man! I had to check that I had my playback in 1x, because I felt that listening to this video in 2x 😅 Bun is as faster as you reading.

  • @daltonyon
    @daltonyon 9 месяцев назад +2

    Seems Bun make a huge change in js environment!! I will try, thanks Buneagen

  • @simon2509
    @simon2509 9 месяцев назад +2

    After years, this makes me want to write typescript code again 🤣

  • @thekwoka4707
    @thekwoka4707 9 месяцев назад +1

    And yes, they are soing their own transpilation. Bun started as Jared writing esbuild in zig.

  • @onecrazygenius
    @onecrazygenius 9 месяцев назад +8

    Prime reacting to those bun's 👀

  • @marceloffdeoliveira
    @marceloffdeoliveira 9 месяцев назад +3

    its weird to see prime without his hoodie! 😂

  • @jaysistar2711
    @jaysistar2711 9 месяцев назад +9

    CMake is part of the reason that I switched from C to Rust. It's still the best that C and C++ has.

    • @FlanPoirot
      @FlanPoirot 9 месяцев назад

      when doing C, meson and make are ur friends :)
      Cmake sucks balls

    • @rushyscoper1651
      @rushyscoper1651 9 месяцев назад +4

      sinner

    • @ErikOnNoobTube
      @ErikOnNoobTube 9 месяцев назад

      Just compile with zig build lul

    • @jaysistar2711
      @jaysistar2711 8 месяцев назад +1

      ​@@ErikOnNoobTubeIf compiling were all that you want to do, you could just use `make`, but what actually must happen is that every platform that you want to support will have a different extensiom for the static library, dynamic library, just plain object (single compiled module) file, and executable file, then each has a different mechinism for getting a termination signal (Ctrl+C, etc.), each has a different way to say that you want that 1 struct packed a certain way without padding... CMake helps with all of that, and generates project files for IDEs when you want a debugger, as well as Build Ninja, when you want your CI/CD to build as fast as possible.

    • @jaysistar2711
      @jaysistar2711 8 месяцев назад

      ​@@rushyscoper1651For using CMake or switching to Rust? Both have kept my head above water. I rewrote many build systems of the the dependencies that I used in CMake so that I could generate build scripts for Windows, Mac OS X (at the time), and Linux. I rewrote some parts of one of my code base that was frequently modifed with lots of threads accessing things through atomics and I was able to pass it off to a junor dev without having to stop what I was doing and go back and fix everything behind them. What part of my pragmatics is a sin?

  • @Kay8B
    @Kay8B 9 месяцев назад

    Would love a follow up of some of your own testing.

  • @GratuityMedia
    @GratuityMedia 9 месяцев назад +18

    Can I use Bun and Power Peg together? Seems like a good match.

  • @homelessrobot
    @homelessrobot 9 месяцев назад +2

    > A gif exists
    Primeagen: Is This Realtime?

  • @nomadshiba
    @nomadshiba 9 месяцев назад +17

    definantly gonna use bun and htmx
    for my next website with many permissions and server side logic. if it ever happens
    i usually make apps as spa.
    for context, i code as a hobby

    • @Kanra951
      @Kanra951 9 месяцев назад +1

      Why defiantly?

    • @nomadshiba
      @nomadshiba 8 месяцев назад

      @@Kanra951 it looked refreshing
      and i did a project with it already
      it was really fun, and fast to code, really liked it

  • @jfbaro2
    @jfbaro2 9 месяцев назад

    Sounds good! Is bun natively support in popular FaaS like AWS lambda and Google Functions?

  • @everyhandletaken
    @everyhandletaken 9 месяцев назад +2

    Good summary!
    Having everything in one place is long overdue.. why use 10 different tools & have to deal with version compatibility & upgrades, when you can just run ‘bun upgrade’ 👏🏼 #blazinglyfast

  • @Muaahaa
    @Muaahaa 9 месяцев назад

    Haven't tried bun for a new project, but I have explored using Bun 1.0 dropped into a legacy project. Wasn't able to get it working, unfortunately, neither as a replacement to the Node processes and not even to install the packages (I think because of how Bun handles lifecyclels).

  • @errormaker1
    @errormaker1 9 месяцев назад +3

    i want to be pegged to the latest version too

  • @alexanderluna895
    @alexanderluna895 9 месяцев назад +1

    spread 'em buns, spread 'em good

  • @ferahl
    @ferahl 9 месяцев назад +1

    Correction: bun is much faster than pnpm on a clean install with no cache (the graph there reflects a real world test I saw on a real project), and MUCH faster with a cache. The drawback is that for MacOS it does a file copy because linking in MacOS is slow.

  • @eyehear10
    @eyehear10 9 месяцев назад +7

    “JavaScript tooling has become slow and complex” -> proceeds to introduce new JavaScript tooling. I feel like there’s an XKCD about this

  • @PorthoGamesBR
    @PorthoGamesBR 9 месяцев назад +3

    Definitelly a improvment to Node, but still have some bugs specially with some React-likes (React, Svelte, etc...) and the create command

    • @kamehameha38
      @kamehameha38 9 месяцев назад +1

      Any known ones? I'm about to convert my vite project from npm to bun

    • @PorthoGamesBR
      @PorthoGamesBR 9 месяцев назад

      @@kamehameha38 Didnt test without using the interactable version yet, but even if it doesnt work, i think bun is worth it just because of the speed for the dev server.

  • @nehua6164
    @nehua6164 9 месяцев назад

    New BunSpreader video? Could add Go and Deno to the mix.

  • @moon_bandage
    @moon_bandage 9 месяцев назад +16

    Bun still has a ton of issues, especially with their package installer. Its not quite a "drop-in replacement" yet unfortunately. But i'm cautiously optimistic they will fix a ton of issues.
    In the days of 1.0 release popularity exploded as people try bun on their existing large projects to speed things up. This has also resulted in an explosion of github issues because it just isn't an NPM replacement, sometimes even by design (looking at you trustedDependencies blocking any and all pre/post installation)

    • @sonofong
      @sonofong 9 месяцев назад

      yea i just tried to migrate my project. issue after issue

    • @moon_bandage
      @moon_bandage 9 месяцев назад +3

      @@sonofong and when you get it to work, the performance gains aren't what they make it out to be either. On building frontend projects I've gotten maybe 20-25% improvement. Respectable and promising, but not worth the hoops you need to jump through imo.
      This launch is mediocre at best, they should've held off on 1.0 if you ask me

  • @MrInsanityInBlack
    @MrInsanityInBlack 9 месяцев назад

    So, when do we get a video of you testing Bun?
    We know you like some Buns considering the first image you had saved.

  • @theodorealenas3171
    @theodorealenas3171 9 месяцев назад +1

    I've only fiddled with Node, and thought "why 5 seconds to strip types off and run tests?" Bun is reasonable though.

  • @Alex-xl4xe
    @Alex-xl4xe 9 месяцев назад

    Might actually try it. Looks kinda cool.

  • @AnitaSV
    @AnitaSV 9 месяцев назад +2

    if you thought that pnpm vs bun was without cache, you should have done it live! Both with cache how it compares.

  • @PavelPirogov
    @PavelPirogov 9 месяцев назад

    did they compare performance on m1/m2 mac? will it be faster on windows or on x86_64 linux?

  • @tyu3456
    @tyu3456 9 месяцев назад

    Hear me out though - are install times that important? If you've got good caching and fast build times?

  • @TheBswan
    @TheBswan 9 месяцев назад +1

    Prime you're wrong, bun is obscenely fast on clean installs. In my app, yarn takes over 200s, bun does it under 10s. Bun package manager is on a tier of its own.

  • @Dontrel3030
    @Dontrel3030 9 месяцев назад +1

    I can't pretend I know much about the specifics of V8 vs JSC/Webkit (or if it even matters in the slightest in 2023) but I really question the choice of targeting an engine built for 1 browser and ecosystem vs the engine that pretty much every browser made in the last 15 years is built around, and then touting that as a feature.

  • @Teofilitorules
    @Teofilitorules 9 месяцев назад

    This might be the best and must funny chapter for me ❤😂

  • @aarondunphy_
    @aarondunphy_ 9 месяцев назад +1

    Do you have a video about why you wouldn't want to use JavaScript on the server?

  • @sohrb
    @sohrb 9 месяцев назад

    it just came to my attention that I haven't seen prime in white in a loooong time

  • @mrmagnetic927
    @mrmagnetic927 9 месяцев назад

    That Bun in a nutshell @14:20 ( I agree and honestly think this is ALL we need to have )

  • @98Hbrown
    @98Hbrown 9 месяцев назад

    Centralized planning makes everything better!

  • @rand0mtv660
    @rand0mtv660 9 месяцев назад +13

    16:20 yeah Deno kinda went their own way as you mentioned and to me it seems they realized they will never win enough market share like that and kinda backtracked on that idea and went all in on npm/node support to make it easier for people to migrate and bring over their Node projects.

    • @yt-1337
      @yt-1337 9 месяцев назад

      yeah i just was converting my personal projects from node or deno respectively to both node and deno support, but now the question is, do i keep it that way and use bun with compatibility or do i say f it i might aswell go spread the bun all the way lmao

    • @everyhandletaken
      @everyhandletaken 9 месяцев назад +1

      Definitely.. if it was there from day 0, it might have been a more compelling option to switch.

    • @ollierkul
      @ollierkul 9 месяцев назад +1

      I'm glad they did it at least. I really like Deno and the whole ecosystem around it. It's also a big plus that it's so easy to deploy code to Deno Deploy, which thankfully now also has npm support. Bun seems really great, but I think for new projects I'll stick with Deno for now, while older projects built on Node could maybe be converted to using Bun.

  • @zlackbiro
    @zlackbiro 9 месяцев назад +7

    Tested Bun with my stack. TypeScript, Express, MariaDB, ZOD, Prisma, Apollo-Server, Nexus. The problems are widely present with TypeScript. Lots of hacking around in order to start the project. Cold start using npm is about 15 seconds, with bun i used "bun src/index" startt was in 100ms which is amazing. After i deleted my node_modules and package lock, i installed the packages using "bun install" and that was done in 5 seconds. Using the npm, install process is about 30-60 seconds. However. They need to fix TS craps. Generally, TS configuration are pain in the ass, and you need to fight in it a lot. In order to start the entire think, TS complained about missing "performance" from prisma and things i never seen using npm. Also, complain about "Right hand side of instanceof is not an object" errors everywhere inside node_modules. Something is not supported. But, if they fix the bun to work good. Definetelly will be more pleasurable working with bun. Plain JS with no TS works awesome fast and good. Yes, i hate TS too, but we need them.

  • @H-Root
    @H-Root 9 месяцев назад +1

    I think This is the first time I see you without a hoodie

  • @zsytssk5176
    @zsytssk5176 9 месяцев назад

    It's time for new blazing speed test for bun vs go vs rust vs zig.

  • @oddity2771
    @oddity2771 9 месяцев назад

    "Continuously peg your version" Gonna alias this as "powerpeg" in bash 🤔

  • @Nazani
    @Nazani 9 месяцев назад

    6:50 As of 2023, there are over 1.46 billion active iPhone users worldwide, constituting approximately 21.67% of the total global smartphone user population. 97.7 million iPhone units were shipped in the first two quarters of 2023, while 225.3 million units were shipped in 2022.

  • @Beryesa.
    @Beryesa. 9 месяцев назад +1

    I don't care about js for now but this is nice news for zig.

  • @user-wj8lx2ws8y
    @user-wj8lx2ws8y 9 месяцев назад

    Hey Bjarne, what do you think about The new BETH stack?

  • @danailenei9959
    @danailenei9959 9 месяцев назад +1

    Not even close to billions: There are more than 1.46 billion active iPhone users worldwide as of 2023.

  • @vincentv8991
    @vincentv8991 8 месяцев назад

    Bun is my new personality 🎉

  • @sofiaknyazeva
    @sofiaknyazeva 9 месяцев назад

    *Watch out: 9 billion devices are running Safari*

  • @ChesterRivas
    @ChesterRivas 9 месяцев назад +1

    I tried bun this past weekend. It's super fast. My only concern is unit testing. Their replacement for all jest runner functions might screw things up. I wasn't able to run a few unit tests that asserts DOM manipulation.

    • @David-gj6dc
      @David-gj6dc 9 месяцев назад +1

      I was also disappointed at my job when I realized it didn't work with vue-cli-service to run unit tests. For whatever reason jsdom doesn't spin up when run through bun

    • @moon_bandage
      @moon_bandage 9 месяцев назад

      @@David-gj6dc bun still has a ton of issues, both with their runtime and installer. A lot of widely used packages don't work yet. It's a really promising project but it's just not quite the drop-in replacement they've made it out to be. I hope they work on getting it over the line.

    • @David-gj6dc
      @David-gj6dc 9 месяцев назад

      @@moon_bandage Yeah, really feels like they went full on marketing mode for their 1.0. It still needs a lot of work before it can be a drop in replacement.

  • @davidserrano2091
    @davidserrano2091 9 месяцев назад +4

    If it’s bs benchmarks, Do a benchmark video comparing bun node yarn pnpm please!!

  • @RenderingUser
    @RenderingUser 9 месяцев назад +3

    ah yes, the cargo of javascript

  • @user-lp4mc7xf1l
    @user-lp4mc7xf1l 9 месяцев назад

    nothing like learning to program with Freddy Mercury as a teacher

  • @indahazzard
    @indahazzard 9 месяцев назад

    prime got trolled by billion devices without noticing it

  • @andythedishwasher1117
    @andythedishwasher1117 9 месяцев назад +1

    Yesterday, I used Bun to install over 1400 dependencies in under 6 seconds. They were Microsoft libraries. I cried.

  • @Sammysapphira
    @Sammysapphira 9 месяцев назад +1

    Maybe some day web app speed can actually be the speed it's supposed to be

    • @ea_naseer
      @ea_naseer 9 месяцев назад

      impossicant

  • @shadowspyes
    @shadowspyes 9 месяцев назад

    hope they will add minifier soon

  • @m4rt_
    @m4rt_ 9 месяцев назад

    4:54 lol "byeee"

  • @stoogel
    @stoogel 9 месяцев назад

    As of February, there are over 2 billion active Apple devices. Almost all iOS devices, which can only run Webkit

  • @daedalus5070
    @daedalus5070 9 месяцев назад

    BETH stack looks mighty interesting

  • @Remeroska
    @Remeroska 9 месяцев назад

    The numbers on their website don't lie. Cold install of packages on yarn in a large project (no cache): 220 seconds, on bun (no cache): 2 seconds. My internet speed is giga fast, bottleneck was the package manager. Bun seems great

  • @oootkarsh
    @oootkarsh 9 месяцев назад

    Everyone and their dog is coming up with a new Javascript framework everyday.

  • @sayasata-fi7qn
    @sayasata-fi7qn 9 месяцев назад

    im new to this, does it mean bun support react native as well?

  • @jackgame8841
    @jackgame8841 9 месяцев назад

    jarred sumner gonna be zig core team after this

  • @igordasunddas3377
    @igordasunddas3377 9 месяцев назад

    I wonder what Prime was doing with that photo.... it actually was the only thing I could think about. Also Prime reminds me of Dr. Disrespect 😂

  • @darkfoxwillie
    @darkfoxwillie 9 месяцев назад

    daddy primeeeeeeee when will you do the benchmarks?? Some video like comparing node, bun and Go like in the old times :')

  • @9remi
    @9remi 9 месяцев назад

    the primer. yeah

  • @IceFromTheSun
    @IceFromTheSun 9 месяцев назад

    Billions of devices !!

  • @soulsearch7383
    @soulsearch7383 9 месяцев назад

    Everything about it buntastic. Except when it’s time to bundle.

  • @RavinderKumar-bn4ch
    @RavinderKumar-bn4ch 8 месяцев назад

    why u dont wanna use javascript for server side? what else you would use?

  • @pumpedupbro4200
    @pumpedupbro4200 9 месяцев назад

    Is it better than Spring Webflux in terms of handling # of requests?

  • @talhaakram
    @talhaakram 9 месяцев назад +3

    It is cool of Jarred Sumner to publish a build for a niche OS used for gaming that most people might not have even heard about along side optimizing for macOS and Linux.

    • @ThatDereKid
      @ThatDereKid 9 месяцев назад

      Windows is literally stopping the progress of the human species

  • @maahad767
    @maahad767 9 месяцев назад

    What do you like to use on serverside? Go?

  • @flammea_
    @flammea_ 9 месяцев назад

    That es module import and commonjs requre in one file is my favorite part of this announcement. I would have preferred to wait 5 more years to have node implement the interop that way instead of what they did with package.json configs and new file extensions. There's so many module resolution algorithms now, it's impossible to understand what you are doing

  • @cunny1307
    @cunny1307 9 месяцев назад +2

    blessed soyjack prime

  • @radomane
    @radomane 9 месяцев назад

    This is the kick in the ass the JavaScript ecosystem really needed, and more.

  • @emilemil1
    @emilemil1 9 месяцев назад +1

    The hot reloading that saves state seems like a nice way to lock up your browser tab with unintentional infinite loops.

    • @CTimmerman
      @CTimmerman 9 месяцев назад

      You can already do that by adding DOM nodes in a loop.

  • @rnp0728
    @rnp0728 9 месяцев назад

    Hi, what you will use on the server side??