Giter Site home page Giter Site logo

deno_introduction's Introduction

License: MIT

Deno: 改善Node.js十大技術債的新JavaScript runtime(JS執行環境)

Deno

主要非常非常地簡單介紹一下Deno這個JS Runtime。

前言: JS執行環境除了常聽到的Node.js(2009 年推出)之外,還有後來的Bun(2022年推出,同樣也是要改善Node.js的缺點所誕生Runtime + 多合一工具包),以及要來討論的主角Deno(2018年推出)。


Bun

✨Bun簡易介紹


Deno

✨Deno介紹


Node.js十大技術債

✨讓Ryan Dahl懊悔不已的Node.js十大技術債

取自Deno如何償還Node.js十大技術債(上)

  • 沒用JavaScript非同步處理的Promise物件。
  • 低估安全的重要。
  • 採用gyp來設計Build系統。
  • 沒有聽大家建議提供FFI而繼續用gyp。
  • 過度依賴npm(內建package.json支援)。
  • 太容易可require("任意模組")。
  • package.json建立錯誤的模組概念(在同一目錄下的檔案就是同一模組)。
  • 又肥又複雜的node_module設計和下載黑洞(往往下載npm得花上非常久的時間)。
  • require("module")時沒有強制加上.js附加檔名。
  • 無用的index.js設計。

備註

內容如有誤,歡迎提出修正建議。

License

MIT

deno_introduction's People

Contributors

lin-rexter avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.