官方博客文章:https://devblogs.microsoft.com/typescript/typescript-native-port/) 油管视频:https://youtu.be/pNlq-EVld70 快10倍! Go1.24原生实现已经能够加载许多流行的 TypeScript 项目,包括TypeScript 编译器本身tsc。以下是在 GitHub 上不同大小的一些流行代码库上运行的时间: 开发路线图 我们最近发布的 ...
git clone --recurse-submodules https://github.com/microsoft/typescript-go.git If you have already cloned the repo, you can initialize the submodule with: git submodule update --init --recursive With the submodule in place and npm ci, you can run tasks via hereby, similar to the TypeScrip...
目前,TypeScript 团队已经把初期的代码托管在 GitHub(https://github.com/microsoft/typescript-go),使用的是 Go 语言实现,并遵循原有的开源协议。开发者可以自行编译和运行这个新版本的 tsc,具体步骤可以参考 README 文件。随着新功能的完善,官方也将定期更新进展。此次原生迁移不仅提升了 TypeScript 的开发体...
typescript-go:https://github.com/microsoft/typescript-go [3] Why Go?:https://github.com/microsoft/typescript-go/discussions/411 [4] 完整内容:https://www.youtube.com/watch?v=10qowKUW82U [5] esbuild:https://github.com/evanw/esbuild [6] SWC:https://github.com/swc-project/swc [7...
基于Go 的 TypeScript 实现现已在GitHub(https://github.com/microsoft/typescript-go)开源,并已能够加载多个主流 TypeScript 项目,包括 TypeScript 编译器自身。 Rust 粉丝震惊:为何不选 Rust?! 有网友好奇,微软 TypeScript 团队在最终选择 Go 语言之前,到底尝试了 Rust 多久?毕竟 Rust 以性能和安全性著称。有...
No way for arbitrary indirect jumps required to implement goroutines (emulated same way as point 1) A lot of this could be improved by spending lots of time in the Go compiler, but this is disincentivized because new better spec likehttps://github.com/WebAssembly/stack-switchingwould reshape...
该项目还有一个副作用,TypeScript语言服务现在将基于语言服务协议(LSP),这是开发现有服务时尚不存在的标准。这意味着与编译器不同,新的语言服务将具有不同的行为,海思伯格表示,团队正在研究重构等领域,以考虑应如何实现这一项。Corsa项目根据Apache2.0许可证已经在GitHub上开源。在GitHub上最先热议的问题之一是...
例如,在这个基准测试[此基准测试](https://encore.dev/blog/event-loops)中,我们展示过一个使用开源\[Encore.ts\](https://github.com/encoredev/encore)框架的TypeScript应用可以比使用Express.js的Node.js快**9倍**(!),以每秒请求数作为衡量标准。 正如你所见,像Elysia这样的其他使用Bun运行时的框架,同样...
github.com/pkg/diff v0.0.0-20241224192749-4e6772a4315c/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= golang.org/x/mod v0.23.0 h1:Zb7khfcRGKk+kqfxFaP5tZqCnDZMjC5VtUBs87Hr6QM= golang.org/x/mod v0.23.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= ...
"url": "https://github.com/microsoft/typescript-go.git" }, "devDependencies": { "@types/node": "latest", "@types/which": "^3.0.4", "chokidar": "^4.0.3", "dprint": "^0.47.6", "execa": "^9.5.1", "glob": "^10.4.5", "hereby": "^1.10.0", "json-sche...