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

hello #5

Open
jootnet opened this issue Sep 4, 2023 · 1 comment
Open

hello #5

jootnet opened this issue Sep 4, 2023 · 1 comment

Comments

@jootnet
Copy link

jootnet commented Sep 4, 2023

哇哦,我一直在找chromium的base库,之前看到yue/base,但还是用gn编译,而且粗略浏览感觉少了abseil-cpp样。

你没准备更新代码吗。

我其实主要想用chromium的多线程模型,它的taskscheduler应该可以保持原子性和有序性

@shaoyuan1943
Copy link
Owner

我没有更新chromium base代码有两个原因:

  1. blink之后已经严重削弱了base的独立性,和引擎以及渲染层面严重嵌套在一起了,想要剥离出来的难度大大增加,即便剥离出来代码结构也会调整。
  2. 其实从现在看来,chromium base这套代码的参考性大于实用性,C++标准里面已经提供了很多类似特性,有些特性也可以通过C++标准组合写出来

话说回来,如果要用chromium里面的多线程模型的话,我的建议是不要直接使用,照着抄一遍,根据自己的需求再改一遍,实用性会好很多

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

2 participants