Tag Archives: nodejs

基於 libuv 的 uvloop 令 Python 3.5+ 的 asyncio 更快

Python 3 已推出一段長時間,文章落筆時最新為 3.7,其間 Python 3 都變了不少,3.6 起基本上已無誘因繼續用 2.7。 PEP 529 — Change Windows filesystem encoding to UTF-8 Windows NT 時用了 UTF-16 支援 Unicode,令 Windows APIs 有一套 9x 帶落 ASCII 的 *A functions (),另一套 UTF16LE 的 *W Functions。Python 3.6 就同 POSIX APIs 睇齊,用 UTF-8,即同 Linux 上一樣,解決好多 cross-platform 檔案存取問題。 PEP 3156 — Asynchronous IO Support Rebooted:… Read More »