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
刚才才发现
查了一下,原因是:
I actually proposed
I wasn’t there for the meeting, but from what I understand the feeling was that contracts (which at that time seemed highly likely for ‘20) were a better way to go for bounds checking, and that we should not be throwing exceptions for programmer errors like out-of-bounds access.
https://www.reddit.com/r/cpp/comments/djqdu2/why_is_stdspan_is_missing_at/
std::span
没有 at
成员函数。查了一下,原因是:
I actually proposed
at()
for std::span
as part of P1024r0. It was soundly defeated in LEWG, 0|0|4|4|5.I wasn’t there for the meeting, but from what I understand the feeling was that contracts (which at that time seemed highly likely for ‘20) were a better way to go for bounds checking, and that we should not be throwing exceptions for programmer errors like out-of-bounds access.
https://www.reddit.com/r/cpp/comments/djqdu2/why_is_stdspan_is_missing_at/
Comprehensive guide on Linux Huge Pages from programmer perspective
https://oxla.com/using-huge-pages-in-linux-applications/
https://redd.it/16bds8n
@r_cpp
https://oxla.com/using-huge-pages-in-linux-applications/
https://redd.it/16bds8n
@r_cpp
公司楼下的瑞幸爆单了
新单要一个半小时才能拿
新单要一个半小时才能拿
A Gentle Introduction to Liquid Types https://goto.ucsd.edu/~ucsdpl-blog/liquidtypes/2015/09/19/liquid-types/
上周五都上过班了,为什么今天还要上班😡
一个用于分析 C/C++ 程序内存序的工具。它能够静态分析并发程序中所有操作之间可能存在的序关系,将这些序关系可视化,并立即指出程序中是否存在潜在的 data race 。
http://svr-pes20-cppmem.cl.cam.ac.uk/cppmem/
两年前给别人说好的 PR,一直咕到现在终于把功能写完了
咕咕咕咕咕
咕咕咕咕咕
今日踩坑:
__builtin_memset
不保证没有外部符号引用,其编译结果可能为 call memset
社区里的中小学开学了
路上好堵
路上好堵
RFC 3339 vs. ISO 8601 https://ijmacd.github.io/rfc3339-iso8601/
发工资了!!!