microsoft / microsoft/TypeScript
[Feature Request] Static C library
未关闭
还没有人认领这个 Issue。
Possible Improvement
- 主要语言
- Go
- 星标
- 111k
- 派生
- 14.3k
- 平均合并
- 2 天 4 小时
- 30 天内合并 PR
- 132
描述
Hi all,
I'd like to embed tsgo within my Rust binary (so I can distribute a single binary application).
Given Go can be compiled to static and dynamic C libraries, I'd like to request that tsgo be distributed as a static and/or dynamic C library such that it is directly callable from other native applications.
I am happy to open PRs to enable this functionality if the team is happy with the idea.
As embedders would be a small population, the embedder library doesn't need to be a stable interface for support purposes.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位 tsgo 及其当前的 Go 构建入口点,然后检查 TypeScript 仓库如何生成发布产物。当原生应用能够调用生成的静态和/或动态 C 库(包括所请求的 Rust 嵌入用例)时,这项工作就完成了。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- c, go, rust
- 领域
- compilers, devtools
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100