Bun Hype Is Just Like Yarn Hype | Prime Reacts

Sdílet
Vložit
  • čas přidán 19. 09. 2023
  • Recorded live on twitch, GET IN
    / theprimeagen
    Reviewed article: dev.to/thejaredwilcurt/bun-hy...
    Author: Jared Wilcurt | / thejaredwilcurt
    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
  • Věda a technologie

Komentáře • 589

  • @pokefreak2112
    @pokefreak2112 Před 9 měsíci +325

    The selling point of Bun is that it cares about performance and you don't need 200mb of dependencies just to use typescript
    If Node kills off Bun by adding native typescript support and making their libraries fast then Bun will have served its purpose and everyone will be happy

    • @ShadoFXPerino
      @ShadoFXPerino Před 9 měsíci +38

      Venture capital investors who put their money in Oven won't be happy, I expect.

    • @dealloc
      @dealloc Před 9 měsíci +6

      You also don't need 200mb of deps to use typescript elsewhere. TypeScript comes with no dependencies. What's your point?

    • @tnsaturday
      @tnsaturday Před 9 měsíci +29

      ​@@dealloc how is that? At least you need tsc and babel and some bundler as well. All of which have their own dependencies as well. That's how you get 200 meg project on your pc.

    • @dealloc
      @dealloc Před 9 měsíci

      @@tnsaturday tsc is bundled with `typescript` module. Why do you need a bundler? Just run tsc over it and it works for majority of cases.
      Bundlers makes sense when you want to do other things like producing bundles, chunks, minification, tree-shaking etc. Those have nothing to do with TypeScript.
      If you really need a bundler to do all those things, use esbuild. It's less than 10mb, fast, and production-ready.
      TypeScript package is then only necessary if you want to do type-checking, esbuild already removes types during bundling.

    • @leifmessinger
      @leifmessinger Před 9 měsíci

      First favorite feature is a bash script to install it.
      Second favorite is native typescript (transpiling still)

  • @t3dotgg
    @t3dotgg Před 9 měsíci +11

    Trolling you mid article is absolutely the new meta

  • @nahfamimgood
    @nahfamimgood Před 9 měsíci +356

    shout out to my fellow "forced to use windows at work" devs

    • @Kane0123
      @Kane0123 Před 9 měsíci +24

      Windows devs are the best

    • @hamm8934
      @hamm8934 Před 9 měsíci +36

      My first job. I hate windows so much. Powershell is a joke lol

    • @ooogabooga5111
      @ooogabooga5111 Před 9 měsíci +26

      It depends on what you code about. For me personally I'm a designer and a developer, wsl2 just works for me. I don't need ultra high performance. I also have to use illustrator, figma etc... which are not natively available in linux. I don't want to get into mac ecosystem. Its just expensive for no reason "for me". I have tried using linux and windows sperately before duel booting it. But even that I just don't find the value because I want to constently switch between to use apps that I don't have in linux. So yeah coding + gaming, coding + designing, coding + support for eveything is the best. Most things just run smooth.

    • @homelessrobot
      @homelessrobot Před 9 měsíci

      @@ooogabooga5111 and wsl can be fast enough if you aren't engaging in some pathological multi-staged serialization between the WSL guest file system and the host file system. That is where a lot of the nonspecific slowness in WSL comes from, the file system is split into native WSL areas, and foreign host areas, and its easy to find yourself engaging in a task that has to do something like reading from the host, and then immediately writing to the host. Which has a round-trip (overhead-doubling) effect. reading from the host and writing to the guest, or reading from the guest and writing to the host is usually tolerable.

    • @tuffrabit
      @tuffrabit Před 9 měsíci +6

      UUUUGGGGHHHHHHHH. Magento 2 containerized local dev stack, but company IT only issues Windows 10 machines. Oh, the joys of rebooting multiple times a day because your laptop went to sleep and the WSL2 thingy just couldn't deal with it.

  • @serchtul
    @serchtul Před 9 měsíci +63

    "node would not optimize performance unless something like Bun came along" these are facts right here 👏👏

  • @capsey_
    @capsey_ Před 9 měsíci +177

    This article pulled psychomantis and I'm all here for it

  • @moodynoob
    @moodynoob Před 9 měsíci +89

    Ugh my main problem with this article is that it pretends that innovation in npm etc would have happened without competition. A lot of times, it's easier to start with something new that has different priorities.
    Yarn's demise was a result of it defaulting everyone to use PnP in v2, which is really difficult to get working to this day. No one wants to spend their time reading tooling docs just to get started (and when there are easier alternatives).

    • @shinebayar
      @shinebayar Před 9 měsíci +5

      Spot on. If only yarn did something simpler like what pnpm does by default instead of pnp. Pnp is cool and all but requires additional tooling installed on your IDE to make it work which we all know we won't do.

    • @ShadoFXPerino
      @ShadoFXPerino Před 9 měsíci

      Yarn's demise was getting overshadowed in features by NPM once Node refocused its efforts on copying those features from Yarn.
      PnP is the desperate final death throes to attempt to create further improvements to justify its own existence.

    • @blocksource4192
      @blocksource4192 Před 8 měsíci

      You are straw-manning the argument. I understood from this document that we shouldn't hop on bun, make all our repos bun-dependent, etc, because in a few years nodejs will just take all those features and performance improvements and we'll be stuck using bun.

  • @FlaviusAspra
    @FlaviusAspra Před 9 měsíci +21

    I think you're right in the general sense on any technology:
    In 20 years we'll sit here with our VR glasses and see you in 3D how you argue "we haven't learned anything from Rust's mistakes"

    • @Heater-v1.0.0
      @Heater-v1.0.0 Před 9 měsíci +2

      Maybe. But I find that an odd comparison to make here.
      The opening argument of this vid is that Bun (and Yarn before it) is not offering anything more or better than Node (even performance open to debate).
      Where as Rust is not just a recreation of something else. Rust is a substantially different thing. Rust offers something that no other compiled to native language has offered since ALGOL and Ada. That is the emphasis on correctness and predictable behaviour. What with it's strict type system and anti-aliasing rules. Heck even Ada did not do as well and has learned lessons from Rust, making Ada a better language.
      So now, what "mistakes" do you think Rust has made?

    • @FlaviusAspra
      @FlaviusAspra Před 9 měsíci +1

      @Heater-v1.0.0 my whole argument is that we're in the future, when a new language will appear, doing the same thing as rust, just differently but without substance.
      It's in the future that we'll realize what mistakes Rust has made.
      We don't know them until the tech has proven itself.
      Take another example: the NULL pointer.
      Having it has turned out to be a huge mistake only 30 years later. At the time of its introduction, it came together with C which massively improved the situation.
      Yet still, decades later, Java still chose to use it.

    • @Heater-v1.0.0
      @Heater-v1.0.0 Před 9 měsíci

      @@FlaviusAspraOK. See what you mean.
      But that is like any ideas we have about anything. Often they spin improvements in the future, or turn out not to be so great ideas....
      I think Tony Hoare had reservations about the null pointer when he was building his Algol compiler. He gave in to user demand.

    • @FlaviusAspra
      @FlaviusAspra Před 9 měsíci

      @Heater-v1.0.0 yes, some ideas are good, others are bad. The point is: we as an industry seem to repeat bad mistakes, driven by hype and just a different packaging.
      Like: why did Java introduce the null pointer exception still? WHYYY?!

    • @Heater-v1.0.0
      @Heater-v1.0.0 Před 9 měsíci

      @@FlaviusAspra I see your point. I have no idea about Java's null pointer. But then I never understood why Java needed to exist in the first place. WHYYY?!!

  •  Před 9 měsíci +50

    In the company I work for, the use of Windows is mandatory, as it makes it easier for them to control and monitor everything the employee does. This is actually quite common in highly corporate companies where the owners constantly suspect employees of potential data theft or similar actions.
    So sometimes, we simply don't have the option to NOT choose Windows; it's mandatory, end of story.
    And this is when the problems arise with technologies that don't support Windows, causing them to simply become obsolete more quickly.

    • @JustSomeTommy
      @JustSomeTommy Před 9 měsíci +1

      Sounds like a shitty place to work at😅

    • @mage3690
      @mage3690 Před 9 měsíci +3

      But can you wsl? I completely understand if you can't. Companies and individuals that act like that tend to be nearly as trusting of new tools as a mother is of wild animals, sharp objects, or potentially dangerous chemicals in the same zip code as her baby. But if the answer is "I haven't tried", I suggest simply don't ask. Better to ask forgiveness than permission unless the punishment is life or limb, I say.

    • @LoneIgadzra
      @LoneIgadzra Před 9 měsíci +3

      No WSL? To be blunt, in the common use case of developing Linux server software, doing it on Windows is completely insane so you need a compatibility layer or a remote server. If you're developing Windows software, fair enough, but I have not personally encountered this.

    • @Ignisami
      @Ignisami Před 9 měsíci

      ​@@mage3690 Every company I've worked at that mandated an OS provided machines with it installed and didn't allow you to bring in your own hardware (whether laptop, keyboard, mice, or anything else), and only one of them had a process to have personal hardware (specifically mice and keyboards) checked so they could be used with the company's hardware if and only if there was a good reason (like ergo keyboards and RSI).

    • @mage3690
      @mage3690 Před 9 měsíci +5

      @@Ignisami personal hardware? What? No, wsl is what you type into the Windows terminal to launch a POSIX-compliant virtual machine _right in the terminal._ Simply "wsl --install", reboot, and it's right there. Your very own Ubuntu VM, running in Windows, with full access to the Windows file system (via /mnt/c/Users/username) and any Linux CLI application you could ever want. You'll have to do the usual nonsense of "sudo apt upgrade" to actually install anything to wsl, but after that, the world is your oyster.

  • @zeMasterRuseman
    @zeMasterRuseman Před 9 měsíci +20

    I use bun for the typescript support. I don't care that it installs packages half a second faster or slower tbh fam

    • @natekidwell
      @natekidwell Před 9 měsíci +1

      Same. The zero config blazingy fast ts experience is a treat.

    • @sacha9593
      @sacha9593 Před 6 měsíci +3

      @@natekidwell Are people really using a brand new runtime in production just to avoid doing a few configuration steps when bootstrapping a project?
      The JS community is really obsessed with shinny new things!

  • @bobDotJS
    @bobDotJS Před 9 měsíci +34

    Are we forgetting ESM + CommonJS in the same files? Game changer for anyone who has ever had to re-write an entire library because it wasn't ESM compatible.

    • @ElclarkKuhu
      @ElclarkKuhu Před 9 měsíci

      It's good if it works but the truth is it's not 100% compatible with CommonJS (node.js)

    • @geoffreyolson9720
      @geoffreyolson9720 Před 9 měsíci +3

      I'm pretty sure I already get this with Typescript and my tsconfig.

    • @nezu_cc
      @nezu_cc Před 9 měsíci +2

      Laughs in es module interop from typescript

    • @bobDotJS
      @bobDotJS Před 9 měsíci +1

      @@geoffreyolson9720 not really. Try passing a function written in ESM into a node service worker with all of the correct TSConfig values. Especially if it has code that relies on environment variables.

    • @rapzid3536
      @rapzid3536 Před 9 měsíci +2

      Been using module projects exclusively for over a year now with Vite, ts-node + SWC, and etc. Only need to patch like one projects package.json the entire time. Pretty much everything is building module exports into the libs now and anything else is just getting handled correctly by bundlers.
      This feature is way too late but would have just been another way to facture the ecosystem.

  • @nezu_cc
    @nezu_cc Před 9 měsíci +42

    sure, 90% of programmers might not be on Windows, but I'm pretty sure most of the developers start off on Windows and then realize that there are better options out there. So Windows support is important because if you don't have it you're missing out on a lot of new developers. And new developers are the ones that are most likely to try out the new shiny thing (library, framework, engine, etc....)

    • @boot-strapper
      @boot-strapper Před 9 měsíci +6

      this is the best argument I have seen in favor of bun on windows.

    • @daedalus5070
      @daedalus5070 Před 9 měsíci +1

      I had to use a Mac at work once and quit 3 weeks later

    • @bdkamil95
      @bdkamil95 Před 9 měsíci

      @@daedalus5070 nothing bad with mac. It’s a proper Unix. Anyone who knows Linux will feel like home when using macOS. The knowledge you gain on any of these is easily transferable to any other Unix like platform (so about 99% of servers). Development on Mac is great. All the cli tools are there, everything installs smoothly, has a great package manager, every library from any programming language works as expected on any Unix system. It’s great.
      None of that can be said about any micro$oft product. It’s a pure nightmare.

    • @Archikuus
      @Archikuus Před 9 měsíci +1

      @@daedalus5070 idk man, I switched to mac 3 years ago, I can never go back, everything is just better imo. Especially funny to sit beside my windows co worker and hear his engines start up when he opens VSCode while Im coasting with docker and kubernetes in the background and not a sound.

    • @blocksource4192
      @blocksource4192 Před 8 měsíci

      @@Archikuus Same here, switched with first m1 mac, currently on m2 max.

  • @olivertanner8531
    @olivertanner8531 Před 9 měsíci +37

    Some of us sadly don't have a choice. If the employer dictates "Windows Server 2017 and nothing else", you can't do much. And yes, switching jobs is always an option. But if the pay is high enough, you just accept the fact and start coding (begrudgingly).

    • @mateuszschyboll2310
      @mateuszschyboll2310 Před 9 měsíci +1

      You often still have a choice, I do often have the "Windows Server 2017 and nothing else" and I still develop 99% of the time running Linux as my main OS. With the right tools cross-compiling or cross-running software isn't that big deal.

    • @flogginga_dead_horse4022
      @flogginga_dead_horse4022 Před 9 měsíci +2

      there is no Windows server 2017 though lol

    • @ivanjermakov
      @ivanjermakov Před 9 měsíci

      Do you really have a win server os as a host you work from? Without a VM?

    • @flogginga_dead_horse4022
      @flogginga_dead_horse4022 Před 9 měsíci

      @@ivanjermakov probably means a vm of server not bare metal but who knows?

    • @olivertanner8531
      @olivertanner8531 Před 9 měsíci

      @@ivanjermakov its on a vm alright. But still, the OS is a given.

  • @jackevansevo
    @jackevansevo Před 9 měsíci +28

    Competition forces npm to innovate, if it wasn't for yarn, npm probably would have never improved. I imagine bun will have the same effect. But this isn't a great argument for saying "just stick with npm", because at any given point in time, it's losing out by some metric to an alternative.

  • @LaPingvino
    @LaPingvino Před 9 měsíci +23

    Oven wants to provide integrated support for running JS services, so Bun is mostly designed to do that. They specifically want to support most stuff immediately with lower complexity, and they don't really care about the heavily complicated stuff because they won't be their customers, they already have their own infrastructure to run everything. Coverage of most and not all is fine for their targets, and honestly I'm also happy if the people that want to use Bun but can't do a good review of their code base and remove complexity that limits them to use Bun. Win-win.

  • @hamm8934
    @hamm8934 Před 9 měsíci +43

    Guess what? You don’t have to use JS on the server lol

    • @neociber24
      @neociber24 Před 9 měsíci +3

      Imagine not having actual runtime types on the server

    • @Adowrath
      @Adowrath Před 9 měsíci +3

      @@neociber24 I guess no C++ or Rust on the server either then? Only Java and C# with their "Runtime types"? :)

  • @abysmallytall
    @abysmallytall Před 9 měsíci +6

    Another reason for Windows. At work we support NVDA (the screen reader) and I was working on automating screen reader tests using guidepup as a proof of concept. I had to use yarn instead of our usual npm because npm has a bug with linking together monorepos in Windows.

  • @welrocken
    @welrocken Před 9 měsíci +10

    For development purposes, Windows is still the most preferred OS according to 2022 StackOverflow Dev Survey, so...

    • @boot-strapper
      @boot-strapper Před 9 měsíci +2

      its bad, and not used at any companies worth their salt. So while yeah, the shitty mom and pop shops with

  • @SentientSeven
    @SentientSeven Před 9 měsíci +19

    I work in healthcare IT and _everything_ is Windows, both at the company I work for and all the hospitals and labs we work with.

    • @d3fau1thmph
      @d3fau1thmph Před dnem

      That's why ransomware has no problems attacking healthcare.

  • @Evilanious
    @Evilanious Před 5 měsíci +1

    8:30 This man actually called out Primagen before the reaction video was even made. That is hilarious.

  • @blackbriarmead1966
    @blackbriarmead1966 Před 9 měsíci +14

    All I know is yarn actually works for the project that npm refuses to install anything on

    • @TurboBorsuk
      @TurboBorsuk Před 9 měsíci +2

      I've seen that too, but ultimately it boiled down to yarn implicitly doing things npm would need a flag for.

  • @nicholasmaniccia1005
    @nicholasmaniccia1005 Před 9 měsíci +4

    That comment about not being able to get sound working on Linux hits me in the feels. When I first learned to program and wanted to put Ubuntu on an older machine, I thought I was stupid because I couldn't get sound to work.

  • @MemeConnoisseur
    @MemeConnoisseur Před 9 měsíci +3

    Name call was actually genius got me laughing

  • @MrOnePieceRuffy
    @MrOnePieceRuffy Před 9 měsíci +8

    A small side note: I have a WSL setup with Docker installed without the Docker Desktop Application. However, I can't update anymore the Docker Version, because the installation script tells me to install it on Windows. It's not, it doesn't runs in the WSL, but they want to force you to use a License for the Docker Desktop App

    • @Kane0123
      @Kane0123 Před 9 měsíci +9

      Why don’t you want a pretty half whale half cargo ship in your start menu?

    • @manaspatil3996
      @manaspatil3996 Před 9 měsíci

      ​@@Kane0123Because my whole system seems to stop and admire that. Even I stop coding. It's an amazing ritual

    • @Draggeta
      @Draggeta Před 9 měsíci

      Yeah, switched to podman on windows. Had to fix some issues when using dev containers, but has been working flawlessly since.

    • @micaelviana
      @micaelviana Před 9 měsíci

      I tried to use Docker on WSL without installing on Windows and I couldn't. So I installed Docker Desktop

  • @OverWilliam
    @OverWilliam Před 9 měsíci +1

    9:13 "MaYbE iF yOu VaLuE sPeLlInG, tOuGh GuY"
    I am dead 😂

  • @TheDanVail
    @TheDanVail Před 9 měsíci +2

    32:53 BABE WAKE UP ITS TIME FOR YOUR QUARTERLY LINGUISTICS LESSON ON ENDONYMS VERSUS EXONYMS

  • @v0xl
    @v0xl Před 9 měsíci +9

    yarnv3 is really good (has some minor compat issues but it's blazingly fast)

  • @zeratax
    @zeratax Před 9 měsíci +6

    all i care about with bun is that it’s a all in one toolchain

  • @ispepsi2023
    @ispepsi2023 Před 9 měsíci

    Loving the vids bro!

  • @vsolyomi
    @vsolyomi Před 9 měsíci +9

    Maybe at some point there will be a package manager/framework that doesn't have a silly name. There's gotta be an "upgrade" over Bun called ButtoX, I'm 100% sure it's gonna happen

    • @earthling_parth
      @earthling_parth Před 5 měsíci

      I'm creating a new JavaScript/TypeScript runtime right now, thanks for the name suggestion. ButtoX it is!

    • @vsolyomi
      @vsolyomi Před 5 měsíci

      @@earthling_parth You're very welcome

  • @sadDota
    @sadDota Před 9 měsíci +10

    outside the US mac users are such a small market percentage that probably Windows has more programmers use than MacOS

  • @lukaszdrazewski9926
    @lukaszdrazewski9926 Před 9 měsíci

    I was waiting for this comparison, I knew this would happen 😆

  • @mastaw
    @mastaw Před 9 měsíci +16

    I use Windows because my photo editing software doesn't run on Linux and I hate MacOS more than Windows

    • @cunny1307
      @cunny1307 Před 9 měsíci +3

      based macOS hater

    • @gotoastal
      @gotoastal Před 9 měsíci

      darktable is good software.

    • @mastaw
      @mastaw Před 9 měsíci +1

      @@gotoastal Not good enough. Also doesn't help if my color calibrator doesn't have Linux drivers.

    • @tapwater424
      @tapwater424 Před 9 měsíci

      why do you hate MacOS more?

  • @SRG-Learn-Code
    @SRG-Learn-Code Před 9 měsíci

    A question about Stylus, is the extension to change css? did die? how do you do that now?

  • @colemichae
    @colemichae Před 9 měsíci

    Great chat, the idea of having competition forced changes, that is the idea of all computing, those changes can be speed or other items.

  • @goldydog1
    @goldydog1 Před 4 měsíci

    One place where tree shaking can make a MASSIVE difference is when you have a library of 100s or 1000s of icons, but your app only uses a few

  • @asd121asd
    @asd121asd Před 9 měsíci +4

    So, Hermes is, essentially, a JVM-like thing for JavaScript?
    Also, it's probably "public source" as it's used by Facebook to make React Native.

  • @sivuyilemagutywa5286
    @sivuyilemagutywa5286 Před 9 měsíci +1

    For those of us peasants with sluggish internet connections, npm used to be quite sluggish and would often freeze during installation. Comparatively, yarn was quicker than npm. Personally, I never utilized yarn workspaces; instead, I opted for NX. While npm has made some improvements over the years, it still encounters occasional problems. This year, I made the switch to pnpm (despite its rather unappealing name). I don't foresee myself transitioning to Bun any time soon, possibly not for another three years. Currently, I'm grappling with pnpm issues that were never present when I used yarn.

  • @CodyDBentley
    @CodyDBentley Před 9 měsíci +2

    Yes, Vue is great. You should absolutely invite Evan You on stream one day. Watching him remain level-headed and mostly unbiased while being interviewed(interrogated?) by Theo is one of the most impressive things I've ever seen.

  • @n4bb12
    @n4bb12 Před 9 měsíci +2

    OS market share among developers: 60% Win 45% Lin 45% Mac.

    • @liquidsnake6879
      @liquidsnake6879 Před 9 měsíci

      so 150% in total 🤣

    • @n4bb12
      @n4bb12 Před 9 měsíci

      @@liquidsnake6879 one person can use more than one OS 🥱

  • @gljames24
    @gljames24 Před 9 měsíci +14

    Honestly, gaming on Linux is better than ever this year. Valve working anticheat makers to get them working, proton 8 fixing a lot of ubisoft multiplayer issues and generally just getting improved, and more and more games using the vulkan api make the gaming argument against Linux pretty paper thin. Especially with Linux consoles like the Steam Deck.

    • @aislanarislou
      @aislanarislou Před 9 měsíci

      What Linux users need in gaming is MMORPGs anticheaters to get working! A lot of cool games cannot be playable in Linux because this.

    • @luimu
      @luimu Před 9 měsíci +3

      Linux gaming is better than ever every year but good never. It's like th year of Linux desktop meme.

  • @PabloGnesutta
    @PabloGnesutta Před 9 měsíci +11

    3:45 you definitely should support windows. There's a huge amount of developers using it for work

    • @Daijyobanai
      @Daijyobanai Před 9 měsíci +1

      tell that to the folks at docker :(

  • @ElvenSpellmaker
    @ElvenSpellmaker Před 9 měsíci +2

    I use Windows with Cygwin and sometimes WSL.
    I just find the GUI the easiest to use and not a hack like most Linux ones feel, and also I can't get along with MacOS, or their laptops build either.
    Apps "just work" in general on Windows, plus several pieces of hardware with Windows-only or better drivers vs Linux.
    My work laptop is a Dell Precision (basically a business XPS) and is a beautiful machine.

  • @RicardoValero95
    @RicardoValero95 Před 9 měsíci +2

    I remember worrying about runtime versions and using nvm or n
    now I just use nix to create dev environments and it works for every language I've used without polluting my PATH

  • @dustsucker4704
    @dustsucker4704 Před 9 měsíci +1

    One thing that makes bun really attractive you dont have to wory about typescript and imorting libarys. It just works! Every thing lese i dont really care about.

  • @AceHack00
    @AceHack00 Před 4 měsíci

    I've never seen someone fall in love with Windows in real time before.

  • @SLAMarshall
    @SLAMarshall Před 9 měsíci +6

    When I started learning to program I used windows because that’s what I had and I didn’t know any better. It’s nice to have things available that allow you to learn without buying another computer, or installing a new os.

    • @AstroStrongBox
      @AstroStrongBox Před 9 měsíci +1

      But Linux is free and can be run on a $50 computer. I purchased a 12 year old laptop to do just that.

    • @monad_tcp
      @monad_tcp Před 9 měsíci +5

      @@AstroStrongBox but it requires knowledge , so it is not that free (in time) if you have something already set up

    • @AstroStrongBox
      @AstroStrongBox Před 9 měsíci

      @@monad_tcp Fair but putting Linux on an already existing windows box has been fairly easy since 2010.

    • @monad_tcp
      @monad_tcp Před 9 měsíci +2

      @@AstroStrongBox dual boot is a pain the ass to use.
      And virtualization, well, another thing to learn

    • @SLAMarshall
      @SLAMarshall Před 9 měsíci +2

      @@AstroStrongBoxyea I eventually moved to linux and I would recommend something unix like for programming, but not everyone has the option of just swapping operating systems or feels comfortable dual booting, especially not when they first start. Virtualization is fine, but it’s another layer on top of everything, and some older hardware can’t cut it performance wise.

  • @zwhitchcox
    @zwhitchcox Před 4 měsíci

    pnpm is the best named thing ever. I can copy an npm command, press p in my terminal, paste, and it just works

  • @MIO9_sh
    @MIO9_sh Před 5 měsíci

    To be honest, the whole project setup thing and the very slow transpile step (assumes tsc) is gradually eating my sanity away, and actively pushing me to try out golang more and more. If neither Bun nor Node decide to catch up, we'll just going to see more devs like me quitting for golang altogether for backends at least.

  • @bonsairobo
    @bonsairobo Před 6 měsíci +1

    "I hope WSL2 works for you"
    BASED

  • @readyfight7712
    @readyfight7712 Před 9 měsíci

    moonrepo/proto is a version manager for Bun. It's even mentioned in the Bun docs.

  • @mrrolandlawrence
    @mrrolandlawrence Před 9 měsíci +2

    this is why you wait for v2 before committing customer projects. bun if nothing else has opened a conversation about performance. competition is good. bun could also feed ideas into the main nodejs as well. ideas work both ways. bun also needs zig to get to version 1.

  • @arafatzahan3697
    @arafatzahan3697 Před 9 měsíci

    Holy sheet, didn't expect to see my outlandish Hermes Engine beliefs shared by The Primeagen!!!

  • @Guergeiro
    @Guergeiro Před 9 měsíci +1

    Honestly, I think I'm on board with this article.

  • @SXsoft99
    @SXsoft99 Před 9 měsíci +2

    the for windows development is so big, is it that bad that i managed to make my entire workstation on windows and still be able to play games? (don't start with wine)
    and yes I know how to work on Linux

  • @saelorasinanardiel8983

    windows: Open browser, search "download app-i-want", dig up the latest version for my processor, download, installer, installer wants to know where it should install, finally install runs
    Linux: open terminal, "apt-get install app-i-want", install runs

  • @lifewater
    @lifewater Před 9 měsíci +3

    Don’t be silly, your on twitch. Where gamers live. Ofc we use windows. It’s easier to do that then swap OSs every time I want to game

  • @TremereTT
    @TremereTT Před 6 měsíci

    I'm developing business software for Windows desktop users as my job. What OS should I use to code those programs?

  • @mercury000
    @mercury000 Před 6 měsíci

    "Is Vue really that good?" Fuck yes. It's the top tier library. No sarcasm; it's brilliant.

  • @Palundrium
    @Palundrium Před 8 měsíci +1

    8:08 Best moment on this channel by far 😂

  • @theotherguy6155
    @theotherguy6155 Před 5 dny

    I tried to use a mac for work programming -- but honestly they changed SO many of the "standard" keyboard short cuts that have been around for YEARS. (ctrl+v, etc) and using the command button which feels less ergonomic. But the worst thing for me is i primarily do networking and even the terminals have different keyboard shortcuts -- ex ctrl a doesn't bring me to the beginning of the line and on top of that sending "standard" escape sequences in the mac terminals need special macros to even get it to work.
    you need these standard shortcuts to break into routers and switches locally / over serial connections and trying to google which control character escape sequence conversion to send over a screen terminal to your usb serial cable is tedious and no one is going to memorize it.

  • @ColinTimmins
    @ColinTimmins Před 9 měsíci

    I totally agree with your final statement.

  • @joshix833
    @joshix833 Před 9 měsíci

    What's you think about asdf for managing versions?

  • @evaporei
    @evaporei Před 9 měsíci

    what's the other article ThePrimeagen got quoted on?

  • @whatwhat9519
    @whatwhat9519 Před 5 měsíci

    That sounds like mlm logic
    Where if you get two people to sign up under you and they both get two people to sign up under them you'll get the entire world population in no time at all

  • @zebedie2
    @zebedie2 Před 9 měsíci +1

    I had no issue running yarn on windows myself, I tried it out because yarn berry had pnp which I thought might have replaced pnpm for saving disk space.
    As for why windows, a lot of companies do dotnet developement, personally I used to use gentoo but windows is just easier to update without breaking.
    But for windows WSL2 has isues, you have to run the main operating system in HyperV this can impact things like games if it's a home machine. Msys2 would be better, but native windows support is something your going to need if you want to replace or make it more popular than node at some point, since it's not just about personal use but everyone everywhere.
    When it comes to saving disk space under node_modules, before bun you ether had pnpm or yarn berry with pnp, but pnp under yarn berry didn't always work that well without changes to the packages which I think is why pnpm has become more popular.
    If bun can do at least what pnpm is doing (as far as file linkages) and work under windows then that should be a good thing.

    • @allypost
      @allypost Před 9 měsíci

      Absolutely fair point, but my brother in christ anything is easier to update than Gentoo

  • @maxmediagroup9657
    @maxmediagroup9657 Před 7 měsíci

    The tribal are more interested in cursing at the lane changers than focusing on their own - typically ending in rear end impact collisions

  • @thegrumpydeveloper
    @thegrumpydeveloper Před 9 měsíci

    Bun install still pretty impressive. Hope it drives pnpm and yarn to rustville or it’s hamlet zigtowne

  • @AklemTech
    @AklemTech Před 5 měsíci

    Amazon was extremely allergic to directly depend on industry standard open source libraries or support them financially in their devices sub-org. Everything was wrapped in crudly constructed abstractions that would kill entire products.

  • @deltafactory
    @deltafactory Před 9 měsíci +1

    +1 Windows. I am generally against Apple's forced obsolescence between different OS versions and architectures (going back to the '90s...) and their overall hostility to the self-repair world. That + the reality distortion field felt too cultish, so I stuck with Windows.

  • @brandynthibault8538
    @brandynthibault8538 Před 7 měsíci

    My wife is a travel nurse and we bought an rv so we could move every few months. I ditched my mac for an extra monitor because I didn't have much room. To make this work I moved my dev environment to windows. I'm not a big fan of programing on windows and miss my mac but it just made my life easier

  • @WonkiestNebula
    @WonkiestNebula Před 9 měsíci

    Windows for me is because we've been a microsoft shop forever, but switched to Node/AngularJS right before I started. We've relied on MSSQL pretty heavily, and linux/macs don't have as good of tools for it. Until recently, our servers were also all windows, and remoting on to them is more of a pain on other servers. Our DNS set up is also wonky on non-windows machines, amongst some other things. Our junior devs are mostly on mac's, but they don't tend to touch that stuff much at all.

  • @spicynoodle7419
    @spicynoodle7419 Před 9 měsíci +1

    This guy saying that Vite requires as much configuration as Webpack is a total joke. That was the biggest L take of the month. I haven't had a Vite config longer than 20 lines and it requires one plugin at most. Webpack was a beast, an ejected create-react-app config for Webpack was hundreds of lines with like 20 different plugins for minification, polyfilling, importing non-JS files in components. All of this took days to port form Webpack 4 to 5 or whatever the hell the version was.

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  Před 9 měsíci +1

      chatgpt makes nice webpack configs
      i do not make nice ones and i hate json

  • @MrKomalarn
    @MrKomalarn Před 9 měsíci +1

    I feel kinda wierd, listening to an experienced developer flabbergasted by the fact that people use windows

  • @mwwhited
    @mwwhited Před 5 měsíci +1

    Not forced to use windows. I used Linux for years as a desktop. It sucked. Pain in the ass to get anything done. It’s an okay headless server but a massive pain in the ass for real work.

  • @quintencabo
    @quintencabo Před 9 měsíci

    Also yarn runs fine on windows when I was still using yarn a couple years ago. Also i think many people use yarn. Most docs always have yarn. Saying its dead is just not true. Also I think the api of yarn is much easier than npm I think.

  • @shapelessed
    @shapelessed Před 7 měsíci

    3:40 - Yes, you should support windows. There is a countless number of people who could be learning it, are using windows and do not know or can not run a VM.

  • @michaelschmid2311
    @michaelschmid2311 Před 6 měsíci

    im flexible on what os to use but my company forces me to use windows so im stuck with it.

  • @SanderCokart
    @SanderCokart Před 9 měsíci

    I wonder what prime would use with todays tech for web dev

  • @DaminGamerMC
    @DaminGamerMC Před 5 měsíci

    windows is horrible as an OS but has so many features that even when buggy help so much. And now that containers are so big you dont even have to install stuff natively so everything is just easier.

  • @hiphop12ism
    @hiphop12ism Před 3 měsíci

    Authors breaking the fourth wall is crazy

  • @dromedda6810
    @dromedda6810 Před 8 měsíci +1

    primes windows take is goated, (btw i use arch btw, btw)

  • @TariqSajid
    @TariqSajid Před 9 měsíci +1

    i think compiling code to bytecode would be really fast and memory efficient, lets hope someone make a js engine i hermes js

  • @ugjhgjf
    @ugjhgjf Před 7 měsíci

    exonym vs endonym: learned something. Thanks.

  • @siduck_og
    @siduck_og Před 9 měsíci

    guys bun's pretty lightweight as well. i dont do much with it as of now, only bun install and running npm scripts with it, bun run dev* simply takes 20x less ram than nodejs here, like under 15 mb :D

  • @shaggishaggi1483
    @shaggishaggi1483 Před 5 měsíci

    For me, regarding the windows stuff, i used for almost 10-12 years ubuntu (12-10 years ago)-> arch -> arch derivates - > manjaro but decided to stop that because i wanted the stability of the apps (it broke my OS about 3 times a year and needed some tinkering) that are already installed and configured and i am fine with using arch in WSL, Also, what i install in WSL does not break the main system, everything else keeps working on the main os and i can do whatever i want in that machine.
    The other advantage is that i can have multiple distros with different package versions and they run very fast in WSL. If something breaks, i can just reinstall that WSL distro and keep all the other configs i have...

  • @tiberiumihairezus417
    @tiberiumihairezus417 Před 6 měsíci

    Now I understand why there is such a high demand and such a low offer of platform engineers, very little amount of people want to deal with linux.

  • @forbiddenera
    @forbiddenera Před 9 měsíci +1

    41:40 my works website is like 10mb..and it's not complicated..new version was down to 10kb but then they decided to outsource it probably to keep using react 😂😢😢

  • @andythedishwasher1117
    @andythedishwasher1117 Před 9 měsíci +1

    Just had this debate yesterday with my buddy while we were working on a SharePoint/AppService integration and deploying code from top-level Windows that we transferred over from a virtualized Ubuntu environment so that we could use bash to work efficiently in development. So many tools specifically in the Microsoft ecosystem don't play nice with Linux that they almost have us hostage in our work environments already, but then they hold our games hostage too. I say the next generation of games AND professional software needs to be built Linux first. Don't leave the Windows users behind professionally, but I wanna see more Linux/Mac Only games to balance out the ecosystem. Not gonna make very much on them initially, but if they get enough exposure, you'll gradually see more adoption for the other platforms. Not even a huge Mac fan personally, but it at least tries to be Unix-compatible on most things.

  • @durkawitz
    @durkawitz Před 9 měsíci

    "I hate windows" earned my like on this one
    edit: jesus christ it got so much better later in the vid

  • @JiggyJones0
    @JiggyJones0 Před 9 měsíci

    When i was in uni 12 years ago, all of the computer science students used Windows. Only art students used Macs. So back then i thought Windows was for programming while Macs were for art. I still think that's the case.

  • @ariaieboy_ir
    @ariaieboy_ir Před 9 měsíci +1

    Did you tried to use Linux with Nvidia graphics card?

  • @AmatuerHourCoding
    @AmatuerHourCoding Před 5 měsíci

    used to dual boot. love WSL

  • @gFamWeb
    @gFamWeb Před 7 měsíci

    I totally get the "README's that only specify yarn instructions" argument, but I think that's honestly because so many people skip the fundamentals. Yes, the JavaScript ecosystem is immensely complicated, but I think it's relatively simple to explain dependency management as a concept, and that's transferable to so many other places.

  • @tiedye001
    @tiedye001 Před 9 měsíci

    Does doing all your development in wsl even count as using windows?

  • @varunsharma5582
    @varunsharma5582 Před 9 měsíci +3

    Windows because work forces to use windows and have very strict access stuff which doesn't allow wsl.

    • @zeberast
      @zeberast Před 9 měsíci +1

      If you’re a software developer being forced to work on windows for development, it’s time to start looking for a new company.
      Plus since you don’t write userland applications in node, I don’t think that it really matters.

  • @draakisback
    @draakisback Před 6 měsíci

    A lot of devs use windows, a lot more than you would think. I've been in the industry for 25 years and I still use Windows (I do have a dual boot of Gentoo on my desktop and a system 76 laptop). Originally I did it because I am a gamer, but I keep doing it so that I can work on Windows APIs when working on projects. There are a ton of windows devs but it seems like they don't really run in the circles that I do, and so usually I end up being the only windows dev on a project. When 90% of the dev space uses Windows but 0% of your colleagues use Windows, you still need to be there so that you can actually have proper support for the OS, it's kind of a vicious cycle.

  • @terryjophlin
    @terryjophlin Před 5 měsíci

    Linux v Windows v Mac is like Chevy v Ford v Toyota.
    Linux, like Chevy, is easy to diagnose and work on because you have to, often.
    Windows, like Ford, is not as easy to diagnose and work on, but you don't have to do it nearly as often.
    Mac, Toyota, doesn't need work unless something really bad happened, and then you should just take it in for service.

  • @ReinPetersen
    @ReinPetersen Před 5 měsíci

    "bun should have been built with hermes" ... yep

  • @red_boum
    @red_boum Před 9 měsíci +4

    The windows part is quiet important for beginners who have just picked coding for the first time using their own laptop, home computer or whatever..
    also important for computer science / engineering students who have a windows machine for their other software needs

    • @astronemir
      @astronemir Před 9 měsíci

      Linux is free. It’s irrelevant. Cloud environments are free for students. Wsl exists (don’t use it). If you want to be hired learn to do something basic like installing Linux.

  • @karakaaa3371
    @karakaaa3371 Před 9 měsíci +1

    I don't really understand the arguments that it locks you into Bun. Like yeah, but so does using Node. So does using Babel. So does using React.