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
发现一个完全没用的 C++ 语言“特性”
可以使用
但是在子类中,你也必须使用
另外,在子类中你也不能使用
可以使用
= delete
来定义一个虚函数:
struct B { virtual void m() = delete; };
但是在子类中,你也必须使用
= delete
来定义对 m
的重写:
struct D : B {
void m() override; // ERROR
void m() override = delete; // OK
};
另外,在子类中你也不能使用
= delete
来重写一个在父类中没有被定义为 = delete
的虚函数:
struct B { virtual void m(); };
struct D : B {
void m() override = delete; // ERROR
};
First official release of LLVM Flang https://blog.llvm.org/posts/2025-03-11-flang-new/
https://blog.xiangpeng.systems/posts/system-researchers/
写了一篇非常 offensive 的 blog post,包含了对近期 deepseek, NSF funding 和整个 research community 的思考。有点长,也会引起很多人不适,慎点。
我一直以来都认为 NSF 对 system research 弊大于利;但重点并非政府该不该为自然科学花钱(当然应该!),重点在于这笔钱有没有被可问责的方式分配。
最后推荐一本书,我看了受益匪浅 The Unaccountability Machine: Why Big Systems Make Terrible Decisions - and How The World Lost its Mind
写了一篇非常 offensive 的 blog post,包含了对近期 deepseek, NSF funding 和整个 research community 的思考。有点长,也会引起很多人不适,慎点。
我一直以来都认为 NSF 对 system research 弊大于利;但重点并非政府该不该为自然科学花钱(当然应该!),重点在于这笔钱有没有被可问责的方式分配。
最后推荐一本书,我看了受益匪浅 The Unaccountability Machine: Why Big Systems Make Terrible Decisions - and How The World Lost its Mind