近日,Node 之父 Ryan Dahl 發佈新的開源項目 deno,從官方介紹來看,能夠認爲它是下一代 Node(其目標不是取代 Node.js),使用 Go 語言代替 C++ 從新編寫跨平臺底層內核驅動,上層仍然使用 V8 引擎,最終提供一個安全的 TypeScript 運行時。它的特性包括: 前端
支持 TypeScript 2.8 開箱即用;
無 package.json,無 npm,不追求兼容 Node;
經過 URL 方式引入依賴而非經過本地模塊,並在第一次運行的時候進行加載和緩存,並僅在代碼使用 --reload 運行,依賴纔會更新;
等等……
這幾個特性,有好幾個都是針對目前 Node 的痛點而來的。 java
三點node
重大消息:NodeJs之父發佈下一代Node--Denogit
justjavac 連出幾篇文章對比說明:
Deno 並非下一代 Node.js
deno issue 事件中的那些"做惡者"們,前端黑名單又多了一批人 github
Nodejs 之父新出的 deno 項目 Issues 區域被濫用api
deno/TODO.txt (https://github.com/ry/deno/bl...安全
- Fix v8_source_maps.ts so that we don't get random segfaults. - Add os.statSync and os.tempDir- both are needed for the writeFileSync test in tests.ts - Top-level await. - Add ability to open TCP sockets and listen for connections. - Add ability to receive HTTP connections (using net/http to parse) should try to use the same Request/Response types as fetch(). - Publish deno_testing to npm as a standalone module. - Use mksnapshot instead of go-bindata.