Build a Command Line Utility

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

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

  • @kacaii3349
    @kacaii3349 17 дней назад

    I was really excited for this one, great video!

  • @a-yo9312
    @a-yo9312 17 дней назад +9

    What is the average binary size of the executable?

    • @avwie132
      @avwie132 17 дней назад +9

      About average

    • @BR-lx7py
      @BR-lx7py 17 дней назад +7

      65 megs for a hello world

    • @abboss.b9935
      @abboss.b9935 17 дней назад +2

      I created the same application using Dart language and compiled it into .exe file. The result was about 5MB.
      I'm wondering why deno takes up more space when it's compiled.

    • @avwie132
      @avwie132 17 дней назад +9

      because it bundles the V8 engine. Dart bundles a tiny vm

    • @nelathan
      @nelathan 17 дней назад

      ​@@abboss.b9935At least its smaller than an electron app. Javascript always compiles huge.

  • @morkhoudia9
    @morkhoudia9 17 дней назад +1

    Great. Should you improve it using sub commands for some purpose. Thx

  • @svetlinpanov5759
    @svetlinpanov5759 17 дней назад +1

    Please make a socketio walkthrough with deno2

  • @kasper369
    @kasper369 17 дней назад +1

    can we get updated comparison of performace between bun and deno

    • @couragic
      @couragic 17 дней назад

      Anton Putra did some tests recently
      ruclips.net/video/yJmyYosyDDM/видео.htmlsi=YaSMhf_QKpg1QHef

  • @dannytabasco
    @dannytabasco 17 дней назад +1

    i thought the -h flag was for help? curious why it was used at 1:55
    thank you for these videos!

    • @BR-lx7py
      @BR-lx7py 17 дней назад

      That was just to illustrate what the "args" object looks like.

  • @RobertMacLeanDeveloper
    @RobertMacLeanDeveloper 17 дней назад +1

    1:04 why the jsr: prefix when adding? I would've thought it is the default and prefixes like npm: are only needed for well npm

    • @deno_land
      @deno_land  17 дней назад +4

      The `jsr:` prefix is required, but we will provide this feedback to the team. Thanks!

    • @plutack
      @plutack 17 дней назад

      Using deno to build a browser extension currently, I also felt perhaps that would be the default as it I was what I tried doing initially. (I had already installed a npm: btw). I guess they are trying to position as a general tool rather than jsr: as being a first class citizen then others

    • @odehadejoh9966
      @odehadejoh9966 17 дней назад

      ​@@plutackExactly, it has to obey the same rules. Should be much easier to learn one pattern for all imports regardless of source, instead of learning 2.

  • @parlor3115
    @parlor3115 15 дней назад

    You need DI in CLI apps too. Day 117 of waiting for NestJS / DI support

  • @BR-lx7py
    @BR-lx7py 17 дней назад +2

    You're using an Intel Mac???

    • @justpatrick_
      @justpatrick_ 17 дней назад

      Pretty sure it’s a snapdragon Mac

    • @BR-lx7py
      @BR-lx7py 17 дней назад

      @@justpatrick_ lol wut?

  • @_Verac
    @_Verac 14 дней назад

    Quickjs is better for it. Deno is better for servers because that's where JIT actually pays off.

  • @Dev-graph
    @Dev-graph 15 дней назад

    build a custom framework that can generate applications for web, mobile, and desktop platforms from a single codebase including backend
    *Build Web*
    Create a Web folder inside the folder create all necessary file and folder for deployment
    *Build mobile*
    Create a Mobile folder inside the folder create all necessary file and folder for deployment
    *Build desktop*
    Create a Desktop folder inside the folder create all necessary file and folder for deployment