Skip to content
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

你应该编译你的 JavaScript 代码吗? #7992

Merged
merged 3 commits into from
Feb 8, 2021
Merged

你应该编译你的 JavaScript 代码吗? #7992

merged 3 commits into from
Feb 8, 2021

Conversation

PassionPenguin
Copy link
Contributor

译文翻译完成 ψ(`∇´)ψ,resolve #7970

@lsvih
Copy link
Member

lsvih commented Feb 6, 2021

这篇不是 @zenblo 在翻译吗

@ghost
Copy link

ghost commented Feb 6, 2021

@lsvih 我没开始翻译,就直接采用 @PassionPenguin ,我待会帮忙校对

@ghost
Copy link

ghost commented Feb 6, 2021

@lsvih 校对认领

@lsvih
Copy link
Member

lsvih commented Feb 6, 2021

@zenblo 好的

@PassionPenguin 下会儿记得先认领(加锁)哈 🤦

@PassionPenguin
Copy link
Contributor Author

啊?我记得我认领了???😂

@PassionPenguin
Copy link
Contributor Author

@lsvih 我没开始翻译,就直接采用 @PassionPenguin ,我待会帮忙校对

抱歉抱歉,我真的不知道

@PassionPenguin
Copy link
Contributor Author

我傻了我的日程不知道为什么排错了🌚

@ghost
Copy link

ghost commented Feb 7, 2021

@PassionPenguin @lsvih 校对完成

@Ashira97
Copy link
Contributor

Ashira97 commented Feb 8, 2021

@lsvih 校对认领~

@lsvih
Copy link
Member

lsvih commented Feb 8, 2021

@Ashira97 好的

@lsvih lsvih removed the 校对认领 label Feb 8, 2021

AOT is usually meant for statically typed languages because for them, there is no dynamic behavior that needs to be examined and determined during execution. All the rules are laid out right there in the code, so the compiler can read it, understand how data flows internally and optimize accordingly, while at the same time, translating the code into a native interpretation (also known as machine code).
AOT 通常是为那些静态语言所使用的,因为对于他们而言,没有什么动态的需要被判断和决定的行为。所有的规则都已经摆在代码中了,编译器可以很简单地阅读这些内容,明白其中的数据流并且有针对性的对其进行优化,并同时将这些代码转译为原生的解析语言(或称为机器语言).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

没有什么动态的需要被判断和决定的行为
=>没有什么需要在运行时判断和决定的动态行为

@Ashira97
Copy link
Contributor

Ashira97 commented Feb 8, 2021

@PassionPenguin 校对完成 有一点小修改~

article/2021/should-you-compile-your-javascript-code.md Outdated Show resolved Hide resolved
article/2021/should-you-compile-your-javascript-code.md Outdated Show resolved Hide resolved
article/2021/should-you-compile-your-javascript-code.md Outdated Show resolved Hide resolved
article/2021/should-you-compile-your-javascript-code.md Outdated Show resolved Hide resolved
article/2021/should-you-compile-your-javascript-code.md Outdated Show resolved Hide resolved
article/2021/should-you-compile-your-javascript-code.md Outdated Show resolved Hide resolved
article/2021/should-you-compile-your-javascript-code.md Outdated Show resolved Hide resolved
article/2021/should-you-compile-your-javascript-code.md Outdated Show resolved Hide resolved
article/2021/should-you-compile-your-javascript-code.md Outdated Show resolved Hide resolved
article/2021/should-you-compile-your-javascript-code.md Outdated Show resolved Hide resolved
Co-authored-by: Zz 招锦 <[email protected]>
Co-authored-by: Ashira97 <[email protected]>
@PassionPenguin
Copy link
Contributor Author

@lsvih @Ashira97 @zenblo 校对完啦 ψ(`∇´)ψ

1 similar comment
@PassionPenguin
Copy link
Contributor Author

@lsvih @Ashira97 @zenblo 校对完啦 ψ(`∇´)ψ

@PassionPenguin PassionPenguin reopened this Feb 8, 2021
@PassionPenguin
Copy link
Contributor Author

= = GitHub 500 一句话发了四次还给我close了...

@PassionPenguin
Copy link
Contributor Author

= = GitHub 500 一句话发了四次还给我close了...

= =

1251612800410_ pic_hd

@lsvih lsvih merged commit 2e2c540 into xitu:master Feb 8, 2021
@lsvih
Copy link
Member

lsvih commented Feb 8, 2021

@PassionPenguin 已经 merge 啦~ 快快麻溜发布到掘金然后给我发下链接,方便及时添加积分哟。

掘金翻译计划有自己的知乎专栏,你也可以投稿哈,推荐使用一个好用的插件
专栏地址:https://zhuanlan.zhihu.com/juejinfanyi

@PassionPenguin PassionPenguin deleted the translation/should-you-compile-your-javascript-code branch February 8, 2021 16:13
@PassionPenguin
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

你应该编译你的 JavaScript 代码吗?
3 participants