Deno 2.0

Поділитися
Вставка
  • Опубліковано 19 лис 2024

КОМЕНТАРІ • 288

  • @Gorops
    @Gorops Місяць тому +337

    Fireship said it best. It will be a Node killer when its Done.

    • @Microphunktv-jb3kj
      @Microphunktv-jb3kj Місяць тому +34

      Node -> Deno -> Oden -> Done

    • @RukopisyNarnie
      @RukopisyNarnie Місяць тому

      ​@@tinrabjs on backend is never good choice for production

    • @Jabberwockybird
      @Jabberwockybird Місяць тому +7

      Wasn't bun supposed to be a node killer?

    • @lordmrcs
      @lordmrcs Місяць тому +8

      @@Jabberwockybird Bun has got it's own game, currently they're implementing a C compiler for some reason.

    • @avwie132
      @avwie132 Місяць тому +5

      @@lordmrcs Bun is just spending VC money.

  • @hamm8934
    @hamm8934 Місяць тому +101

    If node is ever replaced, the killer will need to be a paradigm shift in some way like actually treating typescript like a statically typed language and performing compile time memory and performance optimizations or something.
    Just a pretty lil API difference is not compelling enough. I really do like deno 2’s stdlib and built in binary compilation though. Those are steps in the right direction.

    • @LiquidBacn
      @LiquidBacn Місяць тому

      I'd love a language with a good gui option. I'm currently using electron.js, but that's stuck on node. I had a thought of pairing Blink with Beam and turning Er-lang and Elixir into an option, but that's a lot more work than I have time for currently. Also I haven't done enough/anything with Beam to see if the languages are a good option for this

    • @RonzProductionsUK
      @RonzProductionsUK Місяць тому

      Check out assemblyscript

    • @hamm8934
      @hamm8934 Місяць тому +4

      Kotlin and c# have pretty good GUI options, even though they're not popular on the internet

    • @daiske2867
      @daiske2867 Місяць тому

      Um, is the correctly written JS code, with the help of V8, converted to native code a long time ago. I guess that's the secret of Polichinelle. Or is the problem here why JS is not a compiled language?

    • @hamm8934
      @hamm8934 Місяць тому +2

      @@daiske2867 I'm just throwing out a random idea for a paradigm shift which could actually put a dent in the Node market share. That idea being to treat TS like an actual statically typed language and reap all of the memory and performance benefits that come from a static type system. I don't have a dog in this fight. Just spit balling.

  • @_modiX
    @_modiX Місяць тому +39

    I like to use Deno over nodeJS, because it has much more tooling built in and I don't need a version manager, because the std is strictly split from the Deno runtime. And speaking of std, it's so much more powerful.

    • @limbo3545
      @limbo3545 Місяць тому +1

      Felt the same way. Still went back to node for bundling things with esbuild and decided I don't do javascript on server anymore. Not sure if it stays this way, but I'm happy with my setup.

    • @_modiX
      @_modiX Місяць тому +1

      @@limbo3545 Yes, I get you. I couldn't move away from JS on the server yet, because I'm so much faster with JS. Python is sadly to slow and the venv stuff is just annoying. Go would be the great alternative for me, but its syntax isn't really my thing. It's also nice that I don't have to compile to get things going in Deno.

    • @limbo3545
      @limbo3545 Місяць тому +2

      @@_modiX I moved to go and I blame prime. 😆 No seriously, I tried rust first, but it took too much time. Definitely skill issues. I wanted a dumb backend. Additionally to that I have fewer dependencies and a binary executable on the server which is nice.

    • @clg190
      @clg190 Місяць тому

      Are you a solo dev or working for a company?

    • @PhantomPhobos
      @PhantomPhobos Місяць тому +1

      funny Javascript still on its journey going backwards to achieve what has already been done, dotnet already gives you standard tools, static typing with C# - no need have a 2nd language to transpile weak typing, multi platform, AOT compiling. Even Java probably better, but Microsoft seems to be more on the ball at this stage. No need for taking a interpreted language made for fast UI prototyping and turning it into server code. I will admit nuget sucks ass, but it works mostly.

  • @AlexGarcia-ir7fl
    @AlexGarcia-ir7fl Місяць тому +9

    Former HBO Intern here. That’s true they kinda were comparing themselves to Netflix and Disney+ all the time.

  • @eJuniorA2
    @eJuniorA2 Місяць тому +28

    13:00 If you have a compromised dependency on Node you wouldn't even know, it would simply run. These permissions in Deno are essentially "security rules", on what the process will do on the system or what websites it can access. So if a dependency suddenly wants to execute commands on the OS, or access your environment variables, or get a malware script from somewhere, it will detect these "security breaks", notify you and ask for the permission. You can make those security rules anyway you want... remove them entirely, make them more "loose" or more "strict".
    The OS permissions are permissions for the user, the Deno permissions are permissions set for that specific process. Different processes have different permissions.

    • @monad_tcp
      @monad_tcp Місяць тому

      The JVM tried that, didn't work. DotNet tried that and it also didn't work. SELinux kinda works if you configure it correctly.
      Nothing made with software can surpass the hardware security boundary created by virtualization, sorry, but good try.

    • @eJuniorA2
      @eJuniorA2 Місяць тому +3

      @@monad_tcp Its not suposed to "replace" virtualization... its one more tool you can use. Its to reduce the overhead. The same as the fmt command or the bundle. Also you can do some things which you can't easily do with virtualization, like controlling whether the process can access the environment variables and which... or setting up some firewall rules which you would need normally to set up on a different process (again, reducing the overhead).

    • @RustIsWinning
      @RustIsWinning Місяць тому +3

      ​@@monad_tcpAny source on your jvm and dotnet claims?

  • @MultiMrAsd
    @MultiMrAsd Місяць тому +30

    Im shocked that Prime did not know about spectre and meltdown

    • @rnts08
      @rnts08 Місяць тому +15

      Js streamer dev. Not surprised.

    • @GrantGryczan
      @GrantGryczan Місяць тому

      ​​​​@@rnts08 I learned about Spectre and Meltdown _because_ of JS dev, trying to understand certain browser restrictions that are in place because of timing & CPU side channel attacks. Prime is just Prime

    • @stevenhe3462
      @stevenhe3462 Місяць тому +2

      Equally shocked this "intermediate Rust programmer" does not know doc test (he did not read the Rust book lol).

    • @CZiNTrPT
      @CZiNTrPT Місяць тому +3

      Prime doesn't know a shocking amount for a person yapping professionally

    • @chris-pee
      @chris-pee Місяць тому

      @@CZiNTrPT how is that shocking? People that yap professionally aren't usually on an expert level. Actual experts are too busy working to yap all day.

  • @abc123evoturbobonker
    @abc123evoturbobonker Місяць тому +111

    'Endo' will be the end-all

    • @xClairy
      @xClairy Місяць тому +28

      Just wait till it evolves to 'Done'

    • @NihongoWakannai
      @NihongoWakannai Місяць тому +18

      ​@@xClairy Just wait til we all watched the fireship video and repeat his joke because we'll never be as funny as him.

    • @_kostant
      @_kostant Місяць тому +2

      And end-o was his name-o

    • @xClairy
      @xClairy Місяць тому +1

      @@NihongoWakannai Ikr sadge life

    • @bugloper
      @bugloper Місяць тому

      @fireship missed this. He said: node, oden, deno and done

  • @mysterry2000
    @mysterry2000 Місяць тому +8

    I actually like how you can handle client-side things in Deno while still staying in the server-side. There's no "whole world of problems" I've faced at all honestly and I've been using it for a while now.
    Prime bro probably feels that way because he hasn't tried it for the pleasant experience it is.

    • @seth111yta1
      @seth111yta1 Місяць тому

      Deno is a great runtime with great tooling and Prime's hate is so unwarranted. HOWEVER when it comes to *client side* stuff I don't think Deno is our friend, here's why: 1) Deno can't *actually* server side render or evaluate browser code because it only implements a tiny handful of web apis (heaven forbid it encounters AudioContext or document.querySelector). 2) It can't actually transpile browser code either because what typescript it *does* transpile internally, the resulting javascript is hidden from you (the irony of having to bring in a 3rd party transpiler into a typescript runtime). And 3) it can't actually bundle, just cludge together a blob of un-minified es modules. That means no code splitting, no importing images, css, etc, and huge bundle sizes.
      In conclusion: All of these short-falls happened because, while Ryan Dahl understands the mistakes he made with Node, he still doesn't seem to understand what it takes to make isomorphic typescript a reality for us. And I'm a huge Deno fan like you! But these realities have been such a bitter pill for me. (but i would like to get your take on all this)

  • @hamm8934
    @hamm8934 Місяць тому +19

    Ngl, the stdlib and built in binary compilation is pretty great. Those are some of my fav things about Go.

    • @username7763
      @username7763 Місяць тому +2

      That's also present in 99% of programming languages. I don't know why Go gets praise for this, languages that don't do this are in the minority. Remember Borland Delphi back in 1995? Single exe output, powerful standard library. This is the norm folks.

    • @hamm8934
      @hamm8934 Місяць тому

      ​@@username7763 of course Go isn't the only or first language to do it, but go's single binary is so much easier to produce and portable than I've experienced with c#, java, or C++. After dealing with the headaches of c# DLLs, java's jars, or arcane tarball makefiles, go build -o ./bin/app running on mac, linux, and windows is therapeutic.
      As for the stdlib, I think Go is an outlier when compared to other languages of similarly simple syntax. More verbose languages typically have great stdlibs, but for less verbose languages like js, python, lua, R, etc., a quality stdlib is rare for some reason. I think this is why Go stands out and gets praise.

    • @hamm8934
      @hamm8934 Місяць тому +3

      of course Go isn't the only or first language to do it, but go's single binary is so much easier to produce and portable than I've experienced with c#, java, or C++. After dealing with the headaches of c# DLLs, java's jars, or arcane tarball makefiles, go build -o ./bin/app running on mac, linux, and windows is therapeutic.
      As for the stdlib, I think Go is an outlier when compared to other languages of similarly simple syntax. More verbose languages typically have great stdlibs, but for less verbose languages like js, python, lua, R, etc., a quality stdlib is rare for some reason. I think this is why Go stands out and gets praise.

    • @username7763
      @username7763 Місяць тому

      @@hamm8934 You are comparing to scripting languages or VM languages that need heavy runtimes. These are wrong languages to compare to. C++ has a weak standard lib, but compiles to single binary just fine. But you have Ada, D, Pascal, Fortran, BASIC, Haskell, Rust, Objective C, Zig and a host of other languages that all compile with minimal dependencies.

    • @GodOfMacro
      @GodOfMacro Місяць тому

      @@hamm8934 I think the overall consistency and quality of the STD is also to be praised for go, I know Deno refered to it a lot in "prior arts" while desiging their own

  • @JohnMcclaned
    @JohnMcclaned Місяць тому +26

    why don't you just get ryan on to talk about deno 2 instead of just brain dumping a whole lot of nothing into a stream

  • @erikslorenz
    @erikslorenz Місяць тому +130

    The problem is that putting a ton of effort into making js into a strong backend language is the wrong goal.

    • @hamm8934
      @hamm8934 Місяць тому +47

      I kinda wish we put this much effort into web assembly and breaking up the browser js lock in.
      Give web assembly direct DOM access and a cleaner way to distribute the web assembly binary, and node on the server loses a lot of it's appeal.

    • @SXsoft99
      @SXsoft99 Місяць тому +4

      @@hamm8934 web assembly will never be largely adopted because of one reason, the languages that support are not syntax friendly

    • @hamm8934
      @hamm8934 Місяць тому +18

      not true. web assembly supports python (and in turn mojo), lua, dart, c#, etc.
      Of course you can go wild with rust but web assembly can ship any language, and if web assembly got the features i mentioned above, you'd see much more innovation in this area.

    • @MrGriefCreep
      @MrGriefCreep Місяць тому +21

      ​@@SXsoft99Out yourself as a JS dev with one easy step!
      JS devs complaining about syntax being bad in a language never fails to amuse me, especially when said language is a compilation target for almost any language on the planet.
      Maybe you should just be a prompt engineer if syntax scares you that much.

    • @h.s3187
      @h.s3187 Місяць тому +1

      Man web assembly is far from being easy , after 12 years in this world of web development and switching over a lot of stacks PHP still the golden standard for most of webapps .

  • @nmay231
    @nmay231 Місяць тому +21

    I am surprised at all the people saying something along the lines of "is Deno a clone of Bun?" When Deno was made almost 5 years earlier than Bun. Like how new are you guys to the JS scene? Lol

  • @paulvanzyl6869
    @paulvanzyl6869 Місяць тому +3

    I thought one of the best things deno had going for it the lack of package.json, hoped they’d double down the go style dependencies, but I guess that ship sailed.

  • @re_detach
    @re_detach Місяць тому +3

    Lex is now the delegated leader of youtube chat since Prime left us for dead

  • @sfryxell
    @sfryxell Місяць тому +3

    I feel drawn to the Deno standard library. The decrease in attack vectors to my codebase is worth considering. That and its supposedly twice as fast as node

    • @Pandazaar
      @Pandazaar Місяць тому +2

      You can use the standard library even outside of Deno

  • @annoorange123
    @annoorange123 Місяць тому +2

    57:00 configurability is good when you "CAN" do it, not "HAVE TO" do it. If you have 10 repositories, that's 10 times you have to worry about lint, prettier, ts options, dependencies, npm private registry access etc... im getting mad even thinking about it, it shouldn't be this hard

  • @BlackAsLight448
    @BlackAsLight448 Місяць тому +8

    Node has been making a lot of changes because of Deno's existence.

  • @dealloc
    @dealloc Місяць тому

    32:15 Rollup and Parcel are the best out there in terms of setup, configuration and output quality (Vite uses Rollup for production builds). Webpack is most versatile with greater ecosystem but also difficult to configure correctly.

  • @albizutoday2754
    @albizutoday2754 Місяць тому

    Thanks for the content Primo! We will miss you!

  • @somcho
    @somcho Місяць тому +3

    @ThePrimeTime it would be really cool if you could bring Ryan Dahl on and interview him about deno.

    • @somcho
      @somcho Місяць тому

      .. Especially about the motivations and use cases of isomorphic JavaScript

  • @MrCode4money
    @MrCode4money Місяць тому +1

    28:50 is it just my connection? The prime seems to be doing a lot of buffering... 😂😏

  • @Alex-qq1gm
    @Alex-qq1gm Місяць тому +2

    Node.JS does so much stuff decently. It's impossible to be 10x better at everything it does. That makes being a Node killer while also JS impossible.

  • @nmay231
    @nmay231 Місяць тому +1

    Doc tests did not originate from Rust. Python had the doctest module much earlier. It's just that rust added them to be a core feature of `cargo test` instead of with a separate command. And I wouldn't be surprised if another language had actually invented doc tests before Python had it.

  • @prakashsza
    @prakashsza Місяць тому +6

    WebAssembly will rule in the coming years, wait and see guys

    • @pieterrossouw8596
      @pieterrossouw8596 Місяць тому +7

      Right after Linux takes over the Desktop and HL3 drops.

    • @justpatrick_
      @justpatrick_ Місяць тому

      This statement has become like "the year of the linux desktop", "the year of webcomponents," or other statements that are based on hope only. Not against them but very unlikely they come to be

    • @matress-4-2323
      @matress-4-2323 Місяць тому

      no it won't, but there will be more companies using it. there are airlines currently using dioxus on their jets which is a good sign for it though.

  • @MommysGoodPuppy
    @MommysGoodPuppy Місяць тому +1

    love using deno, good dev ergonomics rule all

  • @quantum_dongle
    @quantum_dongle Місяць тому +1

    startup episode 0 hurt me in ethereal ways

  • @SimonColman-o3g
    @SimonColman-o3g Місяць тому

    looks like it's trying to be incrementally adopted but better just go all in

  • @noherczeg
    @noherczeg Місяць тому

    42:47 Guys, every reasonable frontend dev has been using esbuild for around 2 years now. Nobody is using tsc to transpile/build, the only reason why we need it is because tsc is the most reliable/complete type checker. Sadly every third party attempt at writing one in Rust/Go/etc has been discontinued. 😞

  • @_modiX
    @_modiX Місяць тому +1

    59:13 The tragic part about that was the guy who owned the package wasn't convicted. He caused much harm to innocent people, he even caused harm to help organizations who were operating in and around Russia.

    • @Jabberwockybird
      @Jabberwockybird Місяць тому

      It was probably done by a guy who was low-key paid by the Unkraine government

  • @codedusting
    @codedusting Місяць тому +2

    It doesn't make sense anymore. Why should I use it when it is now similar to a node?

    • @justpatrick_
      @justpatrick_ Місяць тому +4

      Being compatible doesn't mean it's the same. I use it cause of ts support, module handling, deno deploy, and the awesome std

    • @armanrozika
      @armanrozika 23 дні тому

      no one told you to use it

  • @stevenhe3462
    @stevenhe3462 Місяць тому +1

    Running TypeScript on the server has always been a mistake, but we have too many HTML Page Authors that the ecosystem beat everything else.

  • @emilemil1
    @emilemil1 Місяць тому

    I actually use .mjs a lot for when I use JS + Node as a quick scripting language. It let's me use the import syntax without having to create a package.json.

  • @krtirtho
    @krtirtho Місяць тому

    I skipped the video 5 times by 13 minutes. It still makes sense

    • @krtirtho
      @krtirtho Місяць тому

      And I did not miss anything he said

  • @DranKof
    @DranKof Місяць тому +1

    Why would someone not prefer using `mjs` or `cjs`? Using the actual suffix is just one more protection against shooting yourself in the foot, kind of like adding "use strict" or types -- it also makes running files as `mjs` "the default" (i.e. that "one thing" that was blocking the transition and enables root level async-await) and makes it so you don't need to create package.json files everywhere. It's easy, amazing and everyone should be doing it.

  • @MidSpike
    @MidSpike Місяць тому +11

    59:14 fun fact, I was the original discoverer of the malicious code in node-ipc. If you're interested feel free to ask me anything!

    • @dasten123
      @dasten123 Місяць тому +5

      What is your favorite Zelda game?

    • @C4CH3S
      @C4CH3S Місяць тому +5

      What did eat for lunch?

    • @TheHackysack
      @TheHackysack Місяць тому

      What are three things you like about me?

    • @yayinternets
      @yayinternets Місяць тому +1

      I’m going to ask you a bunch of questions and I need your answers immediately!
      Who is your daddy and what does he do?

    • @RustIsWinning
      @RustIsWinning Місяць тому

      How did you discover it?

  • @jarshua5285
    @jarshua5285 14 днів тому

    I don't think adding node support so people can take advantage of the ecosystem means Deno is trying or becoming more like Node. It just makes it easier for people to leave node. I think Node has shown real signs they are trying to be more like Deno, like adding ES Modules by default in node 23.

  • @The1RandomFool
    @The1RandomFool Місяць тому

    Way back when SageMath switched to Jupyter Notebook I didn't like it. But over time I have grown fond of it.

  • @purevert
    @purevert Місяць тому

    52:09 Prime really dropped what I wanted to hear from everyone around me but no one wants to listen or understand.

  • @ryan.hanthorn
    @ryan.hanthorn Місяць тому

    What are the odds the JIT compiler in V8 can become a "real" compiler to dramatically boost startup speed? Maybe have that run with the deno compile? Would make all those serverless functions a little snappier.

  • @thegrumpydeveloper
    @thegrumpydeveloper 24 дні тому

    Deno and jsr are more secure by default than node and npm are what would make me move over. The dumpster fire that is bundled modules is the biggest security hole since chrome extensions.

  • @JLarky
    @JLarky Місяць тому

    6:08 jsr also has docs and such, much closer to hex or crates compared to bare bones npm

  • @andylyounger74
    @andylyounger74 Місяць тому +2

    Didnt see the sorting. nice, splendid idea. I always describe my ocd behaviour as cdo.

  • @SethGrantham-k1x
    @SethGrantham-k1x Місяць тому +4

    All these years later, I'm still completely confused as to why Javascript is being used as a back-end server side language.

    • @RustIsWinning
      @RustIsWinning Місяць тому

      Javascript is ez what is so confusing about it?

    • @trejohnson7677
      @trejohnson7677 Місяць тому +2

      You’re confused because you haven’t been employed.

    • @my_online_logs
      @my_online_logs Місяць тому

      so you need to train your critical thinking more.
      mastering 1 language can do full stack website. this is the main motivation. the frontend dev doesnt need to learn new language to become fullstack, but just using the language they already working with daily to build the backend side
      in the company point of view
      hiring 1 team, can do fullstack without additional team. the mean is hiring 1 javascript team then they can also do the backend side using javascript, so they dont need to pay additional team from other language to build the backend

    • @armanrozika
      @armanrozika 23 дні тому

      @@trejohnson7677 true lmaoooo, all these people confuse and complaining about JS, never been employed, they just stuck with their boomer thinking

    • @withmarko
      @withmarko День тому

      Imho, js with its event loop is quite a decent choice for io bound work. When you are effectively sitting around and waiting for some upstream api to respond or for the database to spit out the result of a query, it’s a very effective and simple way to do it. Also it’s popular because most backends do just simple data transformations, gluing together a few other services, and manipulating json in js is easier than most languages. I’m not saying this is why JS is better than just reasoning out lout why it’s popular.

  • @JLarky
    @JLarky Місяць тому

    High resolution timing allows you to fingerprint browsers

  • @garretmh
    @garretmh Місяць тому +1

    Deno had to use `window` initially because `globalThis` didn’t exist at the time.

  • @SimonColman-o3g
    @SimonColman-o3g Місяць тому

    "some nerd wanted javascript on the server" quote: some nerd

  • @neutronstar03
    @neutronstar03 Місяць тому +1

    in a world with docker and linux kernel primitives for isolation, what's the point of having a permission system?

    • @pieterrossouw8596
      @pieterrossouw8596 Місяць тому +3

      control closer to the application layer? Not everything runs in containers, yet 😉

    • @StinkyCatFarts
      @StinkyCatFarts Місяць тому +1

      What do you think runs inside a container lol

  • @BlackAsLight448
    @BlackAsLight448 Місяць тому

    Deno is the better choice even if you want to write only for the client.

  • @username7763
    @username7763 Місяць тому +4

    As long as there is a package management involved, it's always going to be a mess. I am so tired of taking over projects where the authors added hundreds of dependencies that are now out of date and newer versions aren't compatible with each other. Bad programmers! Stop it!

    • @peace_world_priority
      @peace_world_priority Місяць тому

      it also can happen without package management, because the new version of the package may rename or remove old function, so when you upgrade the package your app is broken because it call unexisted function in the new package. its also how to developed package well. the package management give the ability to specify version of packages is to prevent thing like this. its to make sure that the project will install the correct package (that contain the exact functions that are used in the project), because if not, if the package creator change the name of a function in his new package version, then someone trying to run someone else project that use dependency from the package of that dude, then he will install the dependencies first, it will install the newer version because no version is specified, then the app will not run because it call functions that are not exist in the new version of the package because the author renamed the function name or remove it. i show you why package management is exist

    • @username7763
      @username7763 Місяць тому

      @@peace_world_priority So the problem with package management is the difference between how easy it is to just install another 3rd party library vs how difficult it is to maintain the dependency. Package managers encourage people to go nuts with dependencies and especially transitive dependencies.
      Pick a few well-supported libraries that care about stability and compatibility that match your project goals, and write your own code for everything else. If you do this, you don't need a damned package manager to begin with.

    • @xanderplayz3446
      @xanderplayz3446 Місяць тому

      And this is why I like NIX!

  • @hohohomeboy
    @hohohomeboy Місяць тому

    You could do a year of mojo. Enjoying getting things done like in Python and going systems level when you need it, all at the same time.

  • @XRENDERMAN
    @XRENDERMAN Місяць тому

    It's strange how people say this thing about PHP, when in reality PHP DX is much better, we have real types, better tools etc. When we click on "go to implementation" we actually get the code, not some TS file with types.

  • @muhaha21
    @muhaha21 Місяць тому

    Well I guess we just need to wait until he decides DENO is not good enough and starts working on DONE. 3rd time's the charm

  • @gunalx
    @gunalx Місяць тому

    My biggest gripe with js is it's package culture being absolutely terribly broken.

  • @JohnSmith-gu9gl
    @JohnSmith-gu9gl Місяць тому +1

    but is it better than bun?

  • @andrewdunbar828
    @andrewdunbar828 Місяць тому +1

    end all be all is the new be all and end all

    • @Jabberwockybird
      @Jabberwockybird Місяць тому

      Problem, there are 14 JS environment. We need an end all be app JS environment that everyone uses.
      Problem, there are 15 JS environments.

  •  Місяць тому

    Ive been away from node from some time, so i seemed off to myself, but i think rather not.
    `ArrayBuffer` is the memory allocation of byte array.
    `Uint8Array` is DataView object.
    `Buffer` is Node DataView subclass of Uint8Array.
    Hence the truthfulness of the comparison.
    `slice()` just creates new `ArrayBuffer`
    For me, its the Node class name that is ambiguous and misleading.
    I apologise if i misunderstood smth, but frankly your example didnt make it easy xD
    Also, that Uint8Array log in hex is terrible.

    •  Місяць тому

      Also, i dont understand the whole python hype. Its not low level, so all the 'fast robust' libraries written in it can go faster (which is THE requirement) if done in lower level languages. And there are also much better higher level langs.
      I feel these are bourgeois masses hyped into a feeding frenzy through a language syntactically closest to a written word.

  • @andrewforrester6713
    @andrewforrester6713 Місяць тому

    Love the video as always but am disappointed by a lot of missing context that you would be apparent by using the product, not just from from a single blog announcement. Deno is v v good

  • @aztracker1
    @aztracker1 Місяць тому

    Deno is pretty great for user/shell scripts over node. No npm install step. Direct dependency references work.
    I'm not much of a fan of all the node API additions only in that Deno packages were clean. That's changed with more mode/npm compatibility.
    There's just so much transpiled garbage in npm I wish more people embraced the clean start. Unfortunately the compatibility was essential. Similar for cloudflare workers runtime.

  • @rumplstiltztinkerstein
    @rumplstiltztinkerstein Місяць тому

    17:50 holy meal W wife there

  • @Danielo515
    @Danielo515 Місяць тому

    People complain about npm, people complain about alternatives to npm... how can you be satisfied?

  • @fakedud
    @fakedud Місяць тому

    node sorted === deno 🤯

  • @RoboticsOdyssey
    @RoboticsOdyssey Місяць тому

    How does this compare to bun ? i love bun - but i love deno too

  • @taylorjohnsonct
    @taylorjohnsonct 29 днів тому

    Isn't the author of Deno the author of Node? Why would he make a competitor if it wasn't better?

  • @haithem8906
    @haithem8906 23 дні тому

    I tried installing with deno and running the company website. But it didn't work. Some library didn't work(i think it was pdf-dist) and i didn't dig deeper. I just uninstalled deno.
    They said its a dropin replacement. And works perfectly with npm libraries. But that's not what i experianced. So i just took as it is.

  • @hinogi
    @hinogi Місяць тому

    comma, comma, comma commalion :P

  • @SMURFPICTURES
    @SMURFPICTURES Місяць тому

    not the jay-sawn

  • @kasper369
    @kasper369 Місяць тому +1

    At this point deno is becoming more and more like Golang

  • @dannyarcher6370
    @dannyarcher6370 Місяць тому

    What is Deno? A Node alternative?

  • @jerrygreenest
    @jerrygreenest Місяць тому +4

    Why do you need Node 2 when you have Node 22?

  • @ppcamps
    @ppcamps Місяць тому

    I honestly didn't knew about this buffer behavior. What a garbage....

  • @teunohooijer6788
    @teunohooijer6788 Місяць тому

    Seems like they added python doctests

  • @greatestuff
    @greatestuff Місяць тому

    I don't get the comparison about hbo Max and Netflix and Prime. I want their layout standardized. They should differentiate themselves on video content.

  • @gamemusicmeltingpot2192
    @gamemusicmeltingpot2192 Місяць тому

    Nothing will ever replace node

  • @codedusting
    @codedusting Місяць тому

    Can we not just ship an engine which runs typescript out of the box or totally make typescript a thing of a IDE or Editor? Like let me just write javascript and you figure out everything?

    • @justpatrick_
      @justpatrick_ Місяць тому +1

      How does this additional functionality affect your work?

    • @pieterrossouw8596
      @pieterrossouw8596 Місяць тому

      Why would you want to write JS instead of TS? Also how would any system "figure out everything", particularly with the amount of ambiguity possible with JS?

    • @codedusting
      @codedusting Місяць тому +1

      @@pieterrossouw8596 Typescript is not doing anything during runtime so basically it's used for the development process only for the developers, right? If the IDEs can "somehow" (lol) just abstract out the whole typescript to allow us write just javascript while getting all the benefit of typescript, that would be cool as it removes a lot of middle steps -> transpiling, source map generation, etc.
      A man can dream on Mondays.

    • @pieterrossouw8596
      @pieterrossouw8596 Місяць тому

      @@codedusting it's Tuesday

    • @Jabberwockybird
      @Jabberwockybird Місяць тому +1

      "Let me wright javascript and..."
      Jsdoc types!!!

  • @shampoable
    @shampoable Місяць тому +1

    1:05:00 oh my please don't do c#

  • @ShootingUtah
    @ShootingUtah Місяць тому

    I'm a noob so didn't realize the whole point of Deno was putting JS on servers, why the hell are you trying to do that people? Stop it!

    • @NostraDavid2
      @NostraDavid2 Місяць тому +2

      Too late. Node has been a nightmare for years.

    • @my_online_logs
      @my_online_logs Місяць тому

      so you need to train your critical thinking more.
      mastering 1 language can do full stack website. this is the main motivation. the frontend dev doesnt need to learn new language to become fullstack, but just using the language they already working with daily to build the backend side
      in the company point of view
      hiring 1 team, can do fullstack without additional team. the mean is hiring 1 javascript team then they can also do the backend side using javascript, so they dont need to pay additional team from other language to build the backend
      you arent forced to choose it. you have freedom of choice like everyone else also have freedom of choice, and every company also has freedom of choice. stop beeing wannabe edgy and talk about innovation instead

  • @_modiX
    @_modiX Місяць тому

    If you want to do Python, maybe Mojo is worth a look again, they evolve as well. It's been a while, since their announcement.

    • @peace_world_priority
      @peace_world_priority Місяць тому

      is it better than cpython?

    • @_modiX
      @_modiX Місяць тому

      @@peace_world_priority Afaik, they claimed it to be super fast, faster than existent solutions, because it's a super set that offers you faster implementations (i.e. like TS is to JS, but with performance instead of typing). They had their hype a while back, but it was still wall-gardened. You can now try it without an account, but it's still not opened up. Go ahead and try.

  • @nioinsane
    @nioinsane Місяць тому +2

    Broooo! Its the same creator of Node. Hes redoing for security sake and innovation

  • @u007james
    @u007james Місяць тому

    jsr provide typescripts source code directly

  • @josegabrielgruber
    @josegabrielgruber Місяць тому

    Deno is kinda late to the party; but, I'm really glad to the improvements

    • @RustIsWinning
      @RustIsWinning Місяць тому

      Always two steps ahead. Bun could never.

    • @my_online_logs
      @my_online_logs Місяць тому

      @@RustIsWinning bun is faster than deno

    • @RustIsWinning
      @RustIsWinning Місяць тому

      @@my_online_logs Faster in segfaulting 😂

    • @RustIsWinning
      @RustIsWinning Місяць тому +1

      @@my_online_logs My custom made runtime is faster. Bun could never.

    • @my_online_logs
      @my_online_logs Місяць тому

      @@RustIsWinning send the github link not just talking shit

  • @Matheus-qv7yw
    @Matheus-qv7yw Місяць тому

    dope

  • @Tony-dp1rl
    @Tony-dp1rl Місяць тому

    What else could Bun or Deno do other than just drop TS ... it is just an editor lint really, not a compiler, TS has no value after linting.

  • @Kane0123
    @Kane0123 Місяць тому +4

    Which programming language is better? Deno or HTML?

  • @bokunochannel84207
    @bokunochannel84207 Місяць тому

    Deno devs easily influenced by corporates
    about the comma, why not just quote the filename?

  • @vsolyomi
    @vsolyomi Місяць тому +2

    Prime, would you cover how ABBYY just fired it's all Russian citizen employees in Europe? (I'm not talking closing shop in Russia, they did so a while ago. Like today they just terminated whoever had the Russian passport from locations they previously relocated them to themselves - Cyprus, Hungary, Serbia). I mean, you covered Cloudflare bs covert layoffs, this is similar but feels kinda worse. I get it's quite far from you, but still!

  • @tupui
    @tupui Місяць тому

    Come to the Python side, we have cookies :P (And for you I can get you a job 😉)

  • @seth111yta1
    @seth111yta1 Місяць тому

    I love Deno but man: Imagine spending years refining a new "web standards Typescript runtime" that 1) still cannot bundle for the browser, and 2) is still missing countless browser APIs. What's the point? Its not isomorphic, it will never be isomorphic, stop creating confusing by posturing as isomorphic. Just leave it all behind and write servers and utilities in whatever language you want.

  • @jly_dev
    @jly_dev Місяць тому

    const in js jupyter is not very fun (eg: re-running cells)

  • @XRENDERMAN
    @XRENDERMAN Місяць тому

    I think it should be other way around, deprecate global from browser.

  • @cryptonative
    @cryptonative Місяць тому +5

    Js is a terible language for almost all reasons but I don’t think being verbose is one of them

  • @F.a797
    @F.a797 Місяць тому +1

    Bun

  • @andrewcrook6444
    @andrewcrook6444 Місяць тому

    Is bun still evolving?

  • @matress-4-2323
    @matress-4-2323 Місяць тому

    46:20 deno made jsr

  • @StinkyCatFarts
    @StinkyCatFarts Місяць тому

    Gotta say you got a whole ton of things wrong about this. NodeJS is an absolute dumpster fire and it hasn’t gotten better with all the competition. Deno sheds a ton of weight and ironically Deno trying to be Node is because Deno is invented by the guy who wrote NodeJS lmao.

  • @reeganviljoen3408
    @reeganviljoen3408 Місяць тому +6

    The problem with JS is only partially Node, the fact is Js is just a trash language

    • @gamemusicmeltingpot2192
      @gamemusicmeltingpot2192 Місяць тому +1

      if u think JS is bad its a skill issue lil bro

    • @NihongoWakannai
      @NihongoWakannai Місяць тому +1

      ​​@@gamemusicmeltingpot2192 bro's really using JS and talking skill issue lmao. At least write in C or something if you wanna act superior. Come on dude

    • @my_online_logs
      @my_online_logs Місяць тому +3

      js was designed to create highly interactive frontend, js is very good to create very complex highly interactivity frontend, no other tool come close to it, the rust leptos is far behind js in frontend, if people bring js to other task that more close to machine code, its not js fault. its like when somehow you can bring html to handle backend. it provides pro and cons because js was primary created for high interactivity frontend, so user have free of choice.

    • @MrLOPIU22
      @MrLOPIU22 Місяць тому +1

      ​@@my_online_logs your point dont make sense since js is the only option natively supported we have to change the dom. Theres tons of languages out there better than js to do this job, we just cant use it, at least not natively. Js, node, react, next and etc only exists and is a success because we are tied and obligated to use js in browsers

    • @Chisegh
      @Chisegh Місяць тому

      @@my_online_logs Lua is pretty good to create highly interactive UIs. It doesn't work in the browser, but I would argue it's a better tool for UIs than javascript.

  • @reireireireireireireireirei
    @reireireireireireireireirei Місяць тому

    Bun so won

  • @CZiNTrPT
    @CZiNTrPT Місяць тому +2

    How tf is lex fridman a cool guy? Do you also believe there are very fine people on both sides?

    • @ոakedsquirtle
      @ոakedsquirtle Місяць тому

      Prime once said, "Destiny is like what a dumb guy thinks smart people sound like" Goes to show you huh

  • @alwayscoding
    @alwayscoding Місяць тому

    Deno 2 will unburden what has been

  • @macerdough
    @macerdough Місяць тому

    The need to use flags for read and write permissions is killing me

  • @JoniSudeste
    @JoniSudeste Місяць тому

    just could not even do deno install. wtf