dyweb / weekly

DevComm-Shanghai Weekly 上海地区高校技术社团联合周报(欢迎投稿)
https://dyweb-weekly.netlify.com/
65 stars 5 forks source link

Weekly-272 #315

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

联合周报第 272 期开始投稿 :tada:

at15 commented 1 year ago

https://github.com/MaaAssistantArknights/MaaAssistantArknights

《明日方舟》小助手,全日常一键长草

xplorld commented 1 year ago

https://github.com/openwebf/webf

用flutter实现的web 排版引擎

我感觉缺乏意义,要是论web引擎,chromium不比你强?加一层flutter只会更慢。问题在html/js 这个标准本身比较垃圾 而不是实现

hebingchang commented 1 year ago

https://github.com/openwebf/webf

用flutter实现的web 排版引擎

我感觉缺乏意义,要是论web引擎,chromium不比你强?加一层flutter只会更慢。问题在html/js 这个标准本身比较垃圾 而不是实现

感觉可以用来渲染 UGC 的 html 片段?现在 Flutter 的 inline webview 很烂吧

xplorld commented 1 year ago

https://www.youtube.com/watch?v=OcyAmlTZfgg

CppCon 2021 “Constexpr Everything” - The Standard Library, Microkernel, Apps, and Unit Tests - Rian Quinn

idea 是尽量把所有函数都写成constexpr 然后把unit test 也写成constexpr 的然后用 static_assert 来跑。这样就都变成编译时错误了。和运行时错误的区别是,constexpr run 禁止 UB 所以你可以有一个 UB free check.

我觉得不太现实,因为constexpr不支持 mem allocation. 以及要使用mutex之类的怎么办。但是他说他用几乎全部constexpr写了一个 hypervisor. 我粗看了一下确实是几乎header only, 有很多constexpr 测试里面也有很多 static_assert. 没仔细看。

https://github.com/Bareflank/hypervisor

一个 page allocator static_assert test: https://github.com/Bareflank/hypervisor/blob/1728c306a9776e07eda5a39923bab0b7dbfb36cc/lib/tests/src/basic_page_pool_t/behavior.cpp