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

这点应该描述有点不准确 #4

Open
zybieku opened this issue Sep 21, 2023 · 0 comments
Open

这点应该描述有点不准确 #4

zybieku opened this issue Sep 21, 2023 · 0 comments

Comments

@zybieku
Copy link

zybieku commented Sep 21, 2023

感谢大佬的分享,受益颇多!

发现这里描述应该有点问题:

image

  • js完全可以用像java一样设计成多线程
  • 多线程语言完全可以用来dom操作,视图更新的,只不过要区分 main线程work线程 的概念,比如Androidios 之类的原生开发

个人觉得 应该是js 最初的定位和脚本设计,导致了他就是单线程的特性

如今的js !
也有work 的概念了不是嘛

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

No branches or pull requests

1 participant