Personal channel of @lancern
Topics: programming, hacking, memes, life, and more. Forward anything as you wish.
Join the discussion group for more fun.
Discord: https://discord.gg/RwUx9et7
Topics: programming, hacking, memes, life, and more. Forward anything as you wish.
Join the discussion group for more fun.
Discord: https://discord.gg/RwUx9et7
北京好凉快
北京地铁好丝滑
北京地铁好丝滑
两个月没用过 macbook,把 macbook 重置了。
C/C++ performance pitfall: int8_t, aliasing and the ways out
Comments
via raymii@users.lobste.rs (raymii)
Comments
via raymii@users.lobste.rs (raymii)
WG21 P0124R8: Linux-Kernel Memory Model
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p0124r8.html
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p0124r8.html
需求是
ConstructFirstVariant<std::variant<T...>>{}(args...)
需要返回一个 std::variant<T...>
,返回的这个 std::variant
中包含的对象的类型是 T...
中那个能够被 args...
初始化的类型Microsoft is bringing Python to Excel https://www.theverge.com/2023/8/22/23841167/microsoft-excel-python-integration-support
今日惨案:
ftruncate(0)
之后忘了 lseek(0, SEEK_SET)
Inspecting rustc LLVM optimization remarks using cargo-remark
Comments
via adaszko@users.lobste.rs (adaszko)
Comments
via adaszko@users.lobste.rs (adaszko)
Merkle trees and build systems (Nix alternative) (2020)
Comments
via safinaskar@users.lobste.rs (safinaskar)
Comments
via safinaskar@users.lobste.rs (safinaskar)
The missing C++ smart pointer https://blog.matthieud.me/2023/the-missing-cpp-smart-pointer/
从 9 月 1 日起 LLVM 社区将启用 GitHub Pull Requests 作为 patch 提交手段,Phabricator 将于今年 10 月被弃用,明年 10 月关停。
https://discourse.llvm.org/t/pull-request-migration-schedule/71595
https://discourse.llvm.org/t/pull-request-migration-schedule/71595