"State of Deno 2022" with Bartek Iwańczuk at WarsawJS

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024
  • Bartek shows you how easy it is to use Deno-no separate build/install step, built in tool chain for testing and linting, etc.-so you can get up and running in no time.
    Original video posted here: • WarsawJS Meetup #98 On...
    Relevant links:
    Fresh: fresh.deno.dev/
    Deno Deploy: deno.com/deploy/
    This is the official Deno TH-cam channel, where we'll share talks, product updates, and other resources.
    Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.
    Website: deno.land
    GitHub: github.com/den...
    Discord: / discord
    Twitter: / deno_land
    Newsletter: deno.news

ความคิดเห็น • 32

  • @Insane430
    @Insane430 ปีที่แล้ว +8

    Denosaurs and Rustaceans 🖖

  • @pnwlady
    @pnwlady ปีที่แล้ว +1

    Loved that talk by Ryan. I was curious what he was up to. NLP and deno! Rad. He has a great mind.

  • @maxbarbul
    @maxbarbul ปีที่แล้ว +1

    Amazing stuff. So happy to see the progress. Great job guys! Documentation and npm support is great!

  • @ivolol
    @ivolol ปีที่แล้ว +2

    Speaker mentions that deno's webserver just got multiple times faster, but bun's homepage still shows a benchmark where deno is coming in dead last. I wonder if the numbers on that homepage still reflect current reality then?

  • @kasper369
    @kasper369 ปีที่แล้ว

    Really helpfull. because of deno i still love my work. Thaks

  • @BogdanTestsSoftware
    @BogdanTestsSoftware ปีที่แล้ว +3

    The biggest reason I started dabbling in Deno was that Node modules once are being run, they have the same access rights as the user that is running them. Node tears down the JS runtime sandbox. This means a Node module can read secrets in my home dir (SSH, other credentials), create servers, contact servers without my knowledge and hide all this in obfuscated code... feel free to call this paranoia. With Deno I can granularly approve/reject individual permissions.

    • @BogdanTestsSoftware
      @BogdanTestsSoftware ปีที่แล้ว

      @@test-zg4hv what about the "chromium browser extension manifest"? I haven't created any extensions myself so I don't know what you mean, could you expand?

    • @bikinglaguna
      @bikinglaguna ปีที่แล้ว

      What module in deno to provide levels of permission?

  • @caucau1547
    @caucau1547 ปีที่แล้ว

    One more question . I think it is interesting for all begin devellopers too. Is Deno all-in-one runtime that does not need any addtional framefor like as Express.js?

    • @deno_land
      @deno_land  ปีที่แล้ว

      While you can accomplish the same things without frameworks and libraries like ExpressJS, using them can help speed up your development.

  • @csmrfx
    @csmrfx ปีที่แล้ว +1

    I am impressed with the Deno project. Some people on irc thought there might be a lock-in of some kind, probably referring to the fact that the Deno "inc" also hosts apps. Is there some type of lock in?

    • @deno_land
      @deno_land  ปีที่แล้ว +5

      Deno's API tries to be as web compatible as possible so you can run your Deno code in the browser, as a worker, on the edge, or on the server. Also you don't need to use Deno Deploy to host your Deno code-you can deploy to any virtual private server.

    • @BogdanTestsSoftware
      @BogdanTestsSoftware ปีที่แล้ว

      @@deno_land Also, one can deploy to other serverless hosters (netlify, cloudflare,...)

    • @mpcref
      @mpcref ปีที่แล้ว

      Deno's lock-in is its built-in TypeScript support. So far for web standards compatibility which is Deno's supposed big selling point. And they promote the use of TypeScript and including .ts files so most modules written for Deno won't work anywhere else. In short, nice idea, really bad implementation.

    • @BogdanTestsSoftware
      @BogdanTestsSoftware ปีที่แล้ว +3

      @@mpcref Deno can run Javascript just as well as Typescript. You're saying that because you have the option to use Typescript that is blocking you?

    • @jrgalyen
      @jrgalyen ปีที่แล้ว +1

      @@mpcref `deno bundle` to translate code from typescript to pure javascript. Please read the documenation. Typescript is optional. Deno runs .js files just as easily as .ts. (swc typescript transpiler is written in rust and can be used in node instead of typescript -> tsc or ts-node). Deno is a security-focused replacement for nodejs. There is nothing proprietary or vendor-lock-in that nodejs doesn't have. In fact, with rust integration, it is more broad. Disclaimer: Deno and Node are both written by Ryan Dahl

  • @DavidAlsh
    @DavidAlsh ปีที่แล้ว

    Something I am curious about. I didn't see a tsconfig in the root directory of the Deno demo project: Does that mean Deno assumes TS configuration settings (strict, no unused locals, etc)?
    In the case of mono-repos where the URL for the local module is different to the URL of the published module, how does Deno enable an ergonomic publishing workflow? - e.g. In Node with pnpm, if you have a workspace dependency you would mark the version as "workspace:*" and the version in the published package would be auto-replaced with the version of the dependency as specified in the package.json of the dependency in the workspace. With Deno, within our CI, should we have a pre-publish step that replaces an import path with an absolute URL?

    • @deno_land
      @deno_land  ปีที่แล้ว +2

      `tsconfig.json` (or `compilerOptions` configuration in `deno.json(c)`) is optional and not required. There is some amount of configurability possible, see deno.land/manual@v1.28.3/advanced/typescript/configuration for details

    • @DavidAlsh
      @DavidAlsh ปีที่แล้ว

      ​@@deno_land Cool, for me having TS in the strictest configuration possible is essential.
      It's not a deal breaker but I am a little disappointed that Deno trails behind the latest TypeScript version until there is a new Deno release - but I guess I can just run the weekly or nightly Deno release, assuming other APIs are stable.

  • @seanknowles9985
    @seanknowles9985 ปีที่แล้ว +1

    Monorepo support, deploy from single github repository as we would love to share types across multiple packages and have indepenant libs building in the correct sequence. At the moment monorepo support and deployment of multiple apps from a single repo isn't possible.

  • @caucau1547
    @caucau1547 ปีที่แล้ว +2

    What company backs Deno ? Are there ecosystem?

    • @deno_land
      @deno_land  ปีที่แล้ว +1

      There is a Deno company that works on the CLI and Deno Deploy. You can learn more here: deno.com

    • @caucau1547
      @caucau1547 ปีที่แล้ว +1

      @@deno_land Thanks a lot! Is it possible to use Remix (or Next or Nest) framework on top of Deno?

    • @deno_land
      @deno_land  ปีที่แล้ว +1

      @@caucau1547 Here is a guide on how to build Remix on Deno remix.guide/resources/9jyzyWjPRc8n

  • @stonebat
    @stonebat ปีที่แล้ว

    Sounds all good. But Deno doesn't support Linux/ARM64 yet :(

  • @arianitonline8748
    @arianitonline8748 ปีที่แล้ว +2

    a bit more focus on front-end (supporting easier deno native frontend framework integration) and a little bit less focus on npm and node would be nice. if I want node, I use node

    • @BogdanTestsSoftware
      @BogdanTestsSoftware ปีที่แล้ว

      Need some clarification: what is missing in supporting native frontend dev?

    • @arianitonline8748
      @arianitonline8748 ปีที่แล้ว

      @@BogdanTestsSoftware there is nothing native for deno. there are some small libraries and frameworks that support deno. but without vite and npm, there is no way you can use vite or preact or other frameworks on deno

  • @ebrelus7687
    @ebrelus7687 ปีที่แล้ว +1

    There is that Postgres Wasm, db in browser. Can it work with Deno?