Ryan Dahl introduces JSR at DevWorld 2024

Sdílet
Vložit
  • čas přidán 20. 05. 2024
  • Read more about JSR:
    - deno.com/blog/jsr_open_beta
    - deno.com/blog/how-we-built-jsr
    - deno.com/blog/jsr-is-not-anot...
    - deno.com/blog/document-javasc...
    - jsr.io
    Website: deno.land
    GitHub: github.com/denoland
    Discord: / discord
    Twitter: / deno_land
  • Věda a technologie

Komentáře • 234

  • @PhillipMwaniki
    @PhillipMwaniki Před 28 dny +80

    I love the way Ryan talks about issues devs have on a day to day, and even presents the solution to developers; not marketers.

    • @mattymattffs
      @mattymattffs Před 13 dny +1

      These are issues that web developers have created themselves.

  • @rrraewr
    @rrraewr Před 29 dny +336

    should have been called jdsl, because it's genius

  • @splapsplap
    @splapsplap Před 29 dny +121

    Hooray for floating head man and his creation

  • @WilsonSilva90
    @WilsonSilva90 Před 29 dny +85

    I hope that the Node and Bun communities adopt this standard.

    • @mirvin11
      @mirvin11 Před 29 dny

      without alternate uses of TypeScript is bad

    • @zheil9152
      @zheil9152 Před 29 dny +2

      I hope not. It will ironically complicate crap even further

    • @ollierkul
      @ollierkul Před 29 dny +2

      @@zheil9152 Why? Isn't that entirely dependent on implementation?

    • @zenpool
      @zenpool Před 28 dny +2

      Bun > Deno

    • @robertluong3024
      @robertluong3024 Před 28 dny +6

      ​@@zheil9152can you specifically state what will make it worse?

  • @JustAnotherLight
    @JustAnotherLight Před 29 dny +77

    i used a jsr package earlier today without knowing what jsr is, and then youtube recommended me this and i'm mind blown.
    this is amazing.

    • @impromp02
      @impromp02 Před 24 dny +2

      You should be worried 😟

  • @abeetbored
    @abeetbored Před 28 dny +36

    i just tried publishing an existing package I had. it's almost irritating how easy that was. thank god I no longer have to deal with separate tsconfig for esm and cjs, different build commands for esm and cjs, manually specifying the exports field, etc.

  • @funkdefied1
    @funkdefied1 Před 29 dny +38

    Deno is killing it

  • @MachineYearning
    @MachineYearning Před 29 dny +384

    Can't wait for Primeagen to call this "JIZZER"

  • @xorlop
    @xorlop Před 29 dny +51

    I am extremely eager for private registries/packages. I want to try using this for work.

  • @tauiin
    @tauiin Před 29 dny +26

    the fact that he has seen the light of the one true way of writing dates convinced me to use deno

  • @davidtheprogrammer
    @davidtheprogrammer Před 28 dny +12

    This is incredible! I really hope JSR becomes the default way to publish and consume packages with JS

    • @julsius
      @julsius Před 27 dny +1

      as long as it doesnt start demanding TS from team vanillaJS

  • @gJonii
    @gJonii Před 28 dny +34

    Petition to rename "denoland" to "Jerassic Park"

  • @kirglow4639
    @kirglow4639 Před 26 dny +3

    I love the work Ryan and Deno is doing, and JSR seems to be right there with all the other awesome tools from them

  • @yanaelbarbier2552
    @yanaelbarbier2552 Před 28 dny +2

    Amazing work! I'm glag to see this new generation of registry!

  • @kearfy
    @kearfy Před 29 dny +8

    What I like about JSR is the fact that you _can_ have a build step. Not having one is fine for most packages, but when working with wasm packages it’s especially useful

    • @ismaely.racine4866
      @ismaely.racine4866 Před 28 dny

      Why so? Do you mean specifically for dev dependencies, so you don't have to ship binaries for all different architectures? Or does it also help to have a build step if it needs to be shipped to the client, and I'm missing something?

    • @kearfy
      @kearfy Před 26 dny

      @@ismaely.racine4866 I don't want to push big wasm files into my github repo :)

  • @invinciblemode
    @invinciblemode Před 28 dny +21

    This needs strict semver controls too. If a package author changes an interface in a breaking manner, they should not be allowed to bump minor or patch.

    • @somebody-anonymous
      @somebody-anonymous Před 27 dny +4

      Non agentic (direct LLM) AI has flagged your patch as potentially breaking, which is not allowed for approved packages. Your patch is now pending human and agentic AI review. Please approve immediately starting the review process, or cancel the patch if the changes are breaking to avoid reputation damage

  • @johnathonme
    @johnathonme Před 27 dny +2

    Soooo cool, transpiled code has been killing me recently trying to figure out what some code was meant to do vs actually doing, long live TS!😊

  • @mvargasmoran
    @mvargasmoran Před 28 dny +10

    13:52 Japanese: 2024-12-31
    this way you can have nesting directories that make sense.

  • @DavidAlsh
    @DavidAlsh Před 25 dny +1

    Would have been nice to dive into the details of node_modules. I'm curious when transpilation occurs - does it happen when a package is published or when a package is installed?

  • @y.m.o6171
    @y.m.o6171 Před 29 dny

    does it work on cloudflare as a backend instead of s3 ?

  • @abbashussain7298
    @abbashussain7298 Před 28 dny +4

    Not sure why they didn't erupt in applause when he finished uploading the module. I would've gone nuts. That was so easy

  • @JasonRooney
    @JasonRooney Před 28 dny +3

    Ultimately people will still want to publish to npm for full compatibility and reach. Will JSR automate this by allowing mapping to an npm repository or namespace? Or do we need to handle both publishing steps ourselves, therefore re-adding some of the pain that jsr is trying to prevent.

  • @rea_kr
    @rea_kr Před 26 dny +2

    Can you upload it in 4K resolution?

  • @mgoolong8827
    @mgoolong8827 Před 17 dny

    Now I know the right date format, I keep use this for versioning.

  • @BlurryBit
    @BlurryBit Před 29 dny +5

    Sounds game changing!

  • @j-r-hill
    @j-r-hill Před 20 dny +2

    Love that rotational symmetry in the logo

    • @gorandev
      @gorandev Před 12 dny

      And the fact that it looks similar to npm logo... Excellent job, whoever designed the logo

  • @chinmayk8004
    @chinmayk8004 Před 23 dny

    feels awesome seeing the creatorman playing around with all his creations, glad to know I'm using them correctly

  • @kushagrashuklaietlucknowst5642

    Can we use this without GitHub ?

  • @puke7
    @puke7 Před 26 dny

    this seems like such a big todo for the 6502 "Jump to SubRoutine" opcode introduced in the 1970s

  • @SirusStarTV
    @SirusStarTV Před 22 dny

    Would be awesome to have "chat jsr" where you can talk about what things you want to achieve and it recommends packages suitable for that. Or a page where you can sort packages by category. Blog about packages that everyone should use is also would be welcome.

  • @haritssyah7434
    @haritssyah7434 Před 28 dny +20

    This video should be republish with minimum 1080p resolution, as is demoing some code, the code written looks blurry!

    • @buzz1ebee
      @buzz1ebee Před 28 dny +8

      Yeah it's 2024. 720p isn't acceptable.

  • @apidas
    @apidas Před 22 dny

    I think it's fine if we defer the build process into the registry and we're all can have it working in our different runtimes that this registry support. pretty neat

  • @thomiiee
    @thomiiee Před 28 dny +1

    Ryan! always making our lives much easier!

  • @hcmlopes
    @hcmlopes Před 28 dny +1

    This looks amazing and extremely exciting

  • @AlexandreMoreauLemay
    @AlexandreMoreauLemay Před 29 dny +2

    And I was there to see it :)

  • @FinnBrownc
    @FinnBrownc Před 27 dny

    Articulation of pain points around ts/js esm tsc is on point. Nobody wants to mess with that

  • @mostafavii
    @mostafavii Před 28 dny +2

    Another good work from ryan, tnx

  • @Viktor_U
    @Viktor_U Před 28 dny +1

    Thank you! Very attractive
    Few questions
    1. is it possible to validate a module and get recommendations to increase score before actually publishing a module ?
    2. If one is looking for a module should they specifically be searching in jsr, how well jsr is indexed ? does it appear in search results as well as npm does, if one is searching in npm would be great if it would search both npm and jsr?

    • @deno_land
      @deno_land  Před 28 dny +1

      We're currently working on the ability to calculate your score from your command line before publishing. github.com/jsr-io/jsr/issues/199
      If you're looking for a module on JSR, you should search for it in JSR. right now you can't find JSR packages by searching in npm.

  • @logusgraphics
    @logusgraphics Před 17 dny +1

    That’s going to help push the Deno philosophy regarding package management. Given that people want to eject npm from node, this makes a lot of sense. Specifically because Microsoft acquired it.

  • @ezaz7
    @ezaz7 Před 28 dny +2

    Absolutely fantastic...

  • @ob4816
    @ob4816 Před 28 dny +2

    I need JSR to do 2 things: 1. automatically compile my library for NPM 2. Support typescript using a separate definitions file. Any idea if thats possible or will be possible soon?

    • @deno_land
      @deno_land  Před 28 dny +2

      JSR already automatically compiles your library for npm. JSR offers first class TypeScript support - you can publish your TypeScript source code, and it'll automatically generate .js/.d.ts files for npm users. Did that answer your question?

    • @ob4816
      @ob4816 Před 27 dny

      @@deno_land you only answered the first half of my question. My second question is if I can use my vanilla source code with a separate type definitions file inside of JSR. Thank you 🙂

    • @lucacasonato-deno
      @lucacasonato-deno Před 26 dny +1

      @@ob4816 Yes this is possible.

  • @josephtveter
    @josephtveter Před 28 dny

    I like how it works with Bun.

  • @ryanngalea
    @ryanngalea Před 28 dny +2

    Love this!

  • @manuelquiroga8022
    @manuelquiroga8022 Před 29 dny +2

    Very cool

  • @riigel
    @riigel Před 29 dny +2

    gonna use one-true-date soon

  • @lassestube
    @lassestube Před 18 dny

    Great initiative 🎉

  • @FlyingPenguino
    @FlyingPenguino Před 27 dny

    Amazing work

  • @luanbui5273
    @luanbui5273 Před 29 dny +2

    That's great

  • @rajat0610
    @rajat0610 Před 28 dny +2

    this sounds cool!

  • @arnoldbhebhe
    @arnoldbhebhe Před 23 dny

    Love this, thank you!

  • @rubenlop88
    @rubenlop88 Před 26 dny

    Maven Central has 13,833,950 indexed packages, a lot more than the 2 million in npm

  • @SaladoElFede
    @SaladoElFede Před 26 dny

    Good thing about NPM is that it evolves as the ecosystem does. Yarn tried to replace it and they implemented the missing features that added yarn such as workspaces and same speed optimizarions. Now this is game changer as well, but I don’t see it becoming a standard anytime at all. NPM is probably implementing this publish flow and we wont need another technology in our stack

  • @mcristianrios
    @mcristianrios Před 28 dny +1

    This is amazing ! I want private github modules with this

  • @karaloop9544
    @karaloop9544 Před 11 dny

    Google says you are talking about Java Specification Requests? ;)

  • @VivekYadav-ds8oz
    @VivekYadav-ds8oz Před 28 dny +4

    Top 2 comments are about a CZcamsr. We're finally in the goofiest timeline 😌

  • @uchennahenry3155
    @uchennahenry3155 Před 27 dny

    If I don't want my source code to be open in my distribution is that possible?

  • @user-kt1iz4vc3x
    @user-kt1iz4vc3x Před 26 dny

    I would like to know what Bun stuff is coming to Deno. i really don't know what things bun has lol, but speed is always mentioned and you can't say that more speed doesn't sound nice. so are you guys planning to improve the performance in Deno? I haven't used Deno either but the metrics that Bun always shows seem to be far above anything else. Thanks

    • @lucacasonato-deno
      @lucacasonato-deno Před 26 dny

      Hey, Deno's performance is on par or exceeding Bun's performance in many benchmarks. Both Deno and Bun are often significantly faster than Node at executing code.

    • @user-kt1iz4vc3x
      @user-kt1iz4vc3x Před 26 dny

      ​@@lucacasonato-deno I have the feeling that Bun has been selling the idea that it is x2 x3 x50 x100 faster than all the other alternatives. For example I have heard that it is super fast as a package manager. I have also seen some benchmarks shared by the creator of Elysia. What do you think? Thanks

    • @porcupinetree-bb3zg
      @porcupinetree-bb3zg Před 5 dny

      if you're worried about performance you should not be using javascript to begin with. these runtimes are fast relative to javascript but they're nothing compared to go or rust. the benchmarks they use are hello world programs. in real applications they're far behind. i've done the benchmarks myself.

    • @user-kt1iz4vc3x
      @user-kt1iz4vc3x Před 5 dny

      @@porcupinetree-bb3zg i'm not worried i'm just curious. i like node.js

  • @Eichro
    @Eichro Před 28 dny +3

    jet set radio is cool yeah

    • @TCRodriguez
      @TCRodriguez Před 19 dny

      Came here to say this lol. First thing I thought when I read that.

  • @ashish_prajapati_tr
    @ashish_prajapati_tr Před 20 dny +1

    Truly an awesome talk.

  • @caresbruh
    @caresbruh Před 22 dny +1

    Why brilliant minds are so fit

  • @nickvanamburg
    @nickvanamburg Před 26 dny +1

    27:32 Prime mentioned

  • @Waterlogged-ed4wu
    @Waterlogged-ed4wu Před 27 dny

    Thanks Ryan, this looks awesome 🎉🎉🎉

  • @anasouardini
    @anasouardini Před 28 dny +1

    When is JSR replacing NPM?

  • @user-qr5me6fb8j
    @user-qr5me6fb8j Před 29 dny +5

    it is completely the game changer!!

  • @shanerigsby9030
    @shanerigsby9030 Před 28 dny

    If we're getting go to definition and seeing full TS source with comments, won't download times be extra long?

    • @luanbui5273
      @luanbui5273 Před 27 dny

      that has always happened

    • @enkvadrat_
      @enkvadrat_ Před 27 dny +1

      source code is only text... not images.

  • @irlshrek
    @irlshrek Před 29 dny +1

    oooh i like!

  • @dinoscheidt
    @dinoscheidt Před 29 dny +5

    12:37 Mh. I wish that is different. There is no shame in monetizing and doing open source at the same time. A monetized project has a much healthier long term outlook, than one where the people behind it are simply waited for be eventually burned out. I hope this project succeeds

  • @lancemarchetti8673
    @lancemarchetti8673 Před 25 dny

    Awesome

  • @sito8943
    @sito8943 Před 12 dny

    is amazing!!

  • @BobbyBerberyan
    @BobbyBerberyan Před 27 dny

    Pretty cool. 👍

  • @msahu2595
    @msahu2595 Před 28 dny

    Jahar ❤❤

  • @LewisCowles
    @LewisCowles Před 23 dny +1

    so how does npm know what to do with jsr: ?

  • @sammcj2000
    @sammcj2000 Před 26 dny +1

    Would be good to see NPM / JS packages not intricately linked to Microsoft.

  • @xpynim
    @xpynim Před 29 dny

    i use bun, should i use deno?

    • @mrcheeseguyman
      @mrcheeseguyman Před 29 dny

      No

    • @xpynim
      @xpynim Před 29 dny

      @@mrcheeseguyman ok

    • @thatsalot3577
      @thatsalot3577 Před 28 dny

      @@xpynim bro use whatever suits you best, both bun and deno can be annyoing and have silly bugs so read a bit more on "is bun/deno good for {whatever you're working on}"

  • @movAX13h
    @movAX13h Před 27 dny +3

    Haha, the solution to all the clutter ... is another overlay ... not sure what's going on with these guys.

  • @vikingthedude
    @vikingthedude Před 29 dny +3

    oh hi ryan

  • @pereerecodes
    @pereerecodes Před 26 dny

    Its about time.

  • @nossir
    @nossir Před 29 dny +9

    bruh, i thought it was about JetSetRadio lol

  • @Michael-Martell
    @Michael-Martell Před 19 dny

    Hot take: Is JSR already outdated by Framework X released 3 hours ago?

  • @afzalashraf666
    @afzalashraf666 Před 28 dny

    Richard Hendricks from Pied Piper

  • @sayedulkrm
    @sayedulkrm Před 29 dny +2

    Good to see my bro ❤

  • @VladyslavZubko69
    @VladyslavZubko69 Před 8 dny

    Thank you Ryan ❤

  • @ChichaGad
    @ChichaGad Před 29 dny +13

    The way he talks and presents reminds me of Richard Hendricks from Silicon Valley show lmao

    • @JoRyGu
      @JoRyGu Před 29 dny +2

      That's how you know he's not trying to grift like 99% of every other talking head trying to get you to use their software these days.

    • @heitorfreitas3662
      @heitorfreitas3662 Před 28 dny

      I was thinking the same kkkk

  • @xazzzi
    @xazzzi Před 29 dny +3

    Thanks god it's not another runtime, i have not catched up with last few dozens yet.

    • @josephengelmajer9668
      @josephengelmajer9668 Před 28 dny

      Deno has been around since 2018. The presentation was about a package registry not a runtime

  • @zxnnightstalker2289
    @zxnnightstalker2289 Před 28 dny

    video quality is 720p at max

  • @thatsalot3577
    @thatsalot3577 Před 28 dny

    15:30 the entire npm in a nutshell, you have one function to write that does one thing and you still chose to use a library that has a oneliner for your whole package !

    • @lydianlights
      @lydianlights Před 27 dny

      it was to show that you can publish a package with npm dependencies to jsr

    • @thatsalot3577
      @thatsalot3577 Před 26 dny

      @@lydianlights I get it but the example kinda triggers me as I've seen several similar packages like isOdd and leftpad

  • @alurma
    @alurma Před 28 dny

    GitHub vendorlock?

  • @gotj
    @gotj Před 24 dny

    Ryan is the best.

  • @satyayuga0
    @satyayuga0 Před 28 dny +1

    Ryan "TOM" Dahl invents jDeezlr

  • @komeiltaheri
    @komeiltaheri Před 29 dny +1

    Thank you for restricting access from Iran, lovely move

  • @avi12
    @avi12 Před 28 dny +5

    How is it 720p and yet it's 2024...

  • @krauterfrischkase8939
    @krauterfrischkase8939 Před 28 dny +2

    The execution is good, but the idea is… Well, you are trying to replace the largest package registry in the world. In practice none of the shiny features make much sense. If I want to support JavaScript users, I still need to transpile myself. This way I can ensure my complex package is built the right way before publishing a faulty release to the users. If I don’t want to support JS, I can just push TS to npm. It also only works great with deno, thats why you didn’t „jump to definition“ in the Vite project, because it doesn’t work. As an author, I don‘t want to support deno, bun and whatever: First, because they are often incompatible and its a whole lot of work to make them compatible and maintain this. Second because the user base is too small to even think about it. New runtimes come out every month now that claim to be compatible with Node and NPM but actually aren’t.
    It´s great to see competition, especially because NPM is now also owned by Microsoft, but I don’t think this is the right approach.

    • @ollierkul
      @ollierkul Před 24 dny

      Jump to definition actually does work. You can test it yourself by creating a new Vite project and install a jsr package using "npx jsr add ".

  • @wda_digital
    @wda_digital Před 10 dny

    Should have been called TSR (Typescript Repo) 😁 By the way, this new CZcams layout sucks. First thing they can do is make the title font size smaller so you can actually see it. Congrats on the project. Looks rad

  • @Rundik
    @Rundik Před 26 dny +4

    Too much dependance on microsoft owned github

  • @croopercrat
    @croopercrat Před 28 dny

    A shame that this JSR transition completely shafts the URL based paradigm/ecosystem they were previously pushing.
    Deno had shown again and again that it is ultimately vcware and all these walkbacks and general instability has made it a pain to build on.

    • @croopercrat
      @croopercrat Před 28 dny +2

      JSR itself is pretty good step forward for js in general on the other hand.

    • @__WONTFIX__
      @__WONTFIX__ Před 27 dny +1

      Think the prob is that general URLs guarantee no standard for dealing with TS source and documentation; JSR does

  • @jorenliegeois
    @jorenliegeois Před 26 dny

    dissapointed to find out this has nothing to do with Jet Set Radio

  • @luizgrocco
    @luizgrocco Před 28 dny +1

    Not a very good speaker with all due respect, BUT compensated by the genius of the project. I want this so badly.

  • @codify2450
    @codify2450 Před 29 dny

    jsr pkg size is 38.4 MiB

    • @Novacification
      @Novacification Před 29 dny +7

      Why is that an issue? It's a registry. Nothing new is packaged with your production code.

    • @Ace3260
      @Ace3260 Před 27 dny +1

      Smooth brain comment

  • @mattymattffs
    @mattymattffs Před 13 dny

    What a crazy intro. JavaScript might be the fastest way to express business logic, but it's also the most error prone.

  • @cubanlincoln1767
    @cubanlincoln1767 Před 28 dny +3

    Here we go awain, another technology that recruiters won't know even how to spell and ask for 5 years of experience on it