-
-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ROADMAP] 2024年, weapp-tailwindcss 发展规划 #280
Comments
去除编写 swc 插件目标 (2024/03/13)我把编写 swc 插件这个目标给去除了,原因是我基于 然后,为了找到原因,我去看了 测试脚本不是我写的,是直接跑 https://github.com/ast-grep/ast-grep/tree/main/benches 这里的测试脚本 测试设均为 Mac Book Pro m1 , 测试分为对 同步 和 异步 API 进行测试, 测试解析的 js 文件对象为 测试结果如下:
|
找了另外一台 win64 机器做测试,配置比 mac book pro稍次,测试结果如下
|
ast-grep 作者 |
转眼这个项目已经 2 年多了,算是我这么多开源里面,目前唯一火起来,有人用的吧(笑~),秉着不抛弃不放弃用户的原则,和目前所存在的问题,我大概制定了一下未来的技术规划以及立下一个 Flag:
- 编写 swc 插件,使用 swc 来替换掉 babel ,因为 babel 在项目大的时候,性能比较低,可能一个大js文件 parse 就要 200-300ms,这个是缓存也无法解决的问题,所以需要对 js 方面的转义,以及相关的包 “锈化”(具体原因见下)ast-grep
(rust编写) 支持, 通过基准测试,在项目中,平均速度大约比babel
快2
倍左右 (3.1.0 版本支持 2024/03/23) Feature/ast grep #28310
个贡献者(6/10)
4
篇文章给weapp-tailwindcss
(4/4)
used by
开源项目超过500
[email protected]
, 这个是新的rust
引擎taro rn
,这个也是很多用户都在提的 taro rn模式适配 #262目前想到的就这些,希望我们能达成目标!
贡献者们快来啊,有啥不懂的,我都事无巨细的解释给你们听!
贡献指南: https://weapp-tw.icebreaker.top/docs/how-to-contribute
2024年12月31日完成情况:
ast-grep
(rust编写) 支持10
个贡献者(6/10)
#5444
篇文章给weapp-tailwindcss
(4/4)
used by
开源项目超过500
[email protected]
#543taro rn
#542工作是真的忙啊!开源是真的不赚钱啊!
2025年继续!
The text was updated successfully, but these errors were encountered: