Eℓq retweeted
I'm very excited about C++26 reflection. However, people underestimate what you can achieve *today*!
Inspired by @BarryRevzin's awesome "Practical Reflection" talk at @CppCon, I wrote automatic Dear #imgui generation for structs, including labels! (via Boost.PFR)
#cpp #gamedev
今天重组后的组里通知大家更换 Perforce 服务器地址。简直恍若隔世。我是说,我 touch 的项目在一年前就全部迁移到 GitHub Enterprise 了,当然 build system 也迁移完成了。看来在这个公司,你再慢,也有比你慢的。
1
723
A paper book is organized by chapters, not evenly divided pages. It makes no difference if the book is printed on an infinitely long paper. Dividing a program in files is due to physical limitations. I can program in a single file if incremental compilation applies to one file.
2
580
Eℓq retweeted
An implementation of the latest C++ pattern matching proposal (wg21.link/p2688r2), `match` expression, is available on Compiler Explorer!
Most of the proposed patterns and constant evaluation are implemented.
Example link: godbolt.org/z/d9sG69Gn9
今天早上一起床,就看到了一封让我心沉到谷底的邮件。The Pro's Closet 倒了。继今年上半年 Planet Cyclery 关门之后,自行车配件购物网站又倒了一家。我薅羊毛的地方又少了一个。我在这两个网站上花的钱超过 $2000...
1
419
Eℓq retweeted
Replying to @seanbax
What a strawman... It's not about forcing "security on everyone" -- as a starter it's merely about giving developers the *option* of ensuring parts of their code is secure.
The status quo is that insecure code is being forced on everyone!
今天去爬了 Sullivan Ridge. 坡度不大但多少有点危险,因为这山道左右两侧还有倾斜,我一路上都在担心如果轮胎打滑了就麻烦了。从 Westridge 下来的部分倒不难,特别是中途有几段视线不错,可以安全地飙车。
263
Eℓq retweeted
I wrote a proposal for memory safety in C++. It's in this month's WG21 mailing.
safecpp.org/draft.html
I made in my first OpenSSL contribution using Time Travel Debugging in WinDbg ✨ 7 years since that feature debuted on CppCon. Thanks @JamesMcNellis and his colleagues.
1
4
342
The key to break a prisoner's dilemma is not communication, but avoid participating.
The Economist just published a deeply-researched story about car bloat, and it's very, very damning:
"For every life that the heaviest 1% of SUVs and trucks save, there are more than a dozen lives lost in other vehicles."
Well worth your time: economist.com/interactive/un…
1
417
未能免俗。在 Strava 的诱导之下,我把瓜车的曲柄也寄出去改装功率计了。这一轮改完之后就是左边功率计右边 Wolf Tooth 的 38t chainring, 总改装费用够买两组这个牙盘…
317












