@vitaut@mastodon.social avatar

vitaut

@vitaut@mastodon.social

Carbon-based open sourcerer, code necromancer and a former alien. Author of C++20 std::format and http://github.com/fmtlib/fmt. Opinions are not mine.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

vitaut, to random
@vitaut@mastodon.social avatar

Eating at a Michelin restaurant is tiresome.

bagder, to random
@bagder@mastodon.social avatar

When people respond in negative ways on my blog, I always struggle with where the line is when to just delete it.

I can take that people have other viewpoints and might not like me or my blog posts. Some comments are just... weird.

https://daniel.haxx.se/blog/2024/01/02/the-i-in-llm-stands-for-intelligence/comment-page-1/#comment-26879

vitaut,
@vitaut@mastodon.social avatar

@bagder @haayman Thank you for your service

vitaut, to random
@vitaut@mastodon.social avatar

Has anyone unironically used std::allocator?

vitaut, to random
@vitaut@mastodon.social avatar

stdin/stdout/stderr should be exported from the std module as non-macros. Someone please write a paper.

vitaut,
@vitaut@mastodon.social avatar

std::in, std::out, std::err ๐Ÿ˜€

vitaut, to linux
@vitaut@mastodon.social avatar

2024 is the year of on the desktop!

video/mp4

vitaut, to random
@vitaut@mastodon.social avatar

When to use addressof(x) instead of &x? https://stackoverflow.com/a/14820555/471164

vitaut,
@vitaut@mastodon.social avatar

Developer: How do I take an address of an object?
C++ committee: easy, just include these 23 kLOC and use this function.

vitaut,
@vitaut@mastodon.social avatar

@foonathan I know but three compilers is not all

vitaut, to random
@vitaut@mastodon.social avatar

Did you know that the difference between the 2-clause and the 3-clause BDSM license is that the latter includes a safe word?

vitaut, to random
@vitaut@mastodon.social avatar

GitHub's markdown support is a garbage fire.

vitaut,
@vitaut@mastodon.social avatar

@foonathan Not really, it handles newlines differently in releases and other places.

vitaut,
@vitaut@mastodon.social avatar

@foonathan I switched changelog to markdown so that I didn't have to do a conversion and it turned out that releases uses an incompatible syntax so I have to do conversion anyway.

vitaut,
@vitaut@mastodon.social avatar
vitaut,
@vitaut@mastodon.social avatar

@veronica @foonathan Wow, and there are tons of threads complaining about it with zero responses from github folks.

vitaut,
@vitaut@mastodon.social avatar

@floooh @DanielaKEngert @foonathan WTF is vscode marketplace?

vitaut, to random
@vitaut@mastodon.social avatar

BREAKING: C++26 will introduce <<T>>(x) as a shorthand notation for reinterpret_cast<T>(x).

vitaut, to random
@vitaut@mastodon.social avatar

BREAKING: C is the C++ successor language

vitaut, to random
@vitaut@mastodon.social avatar

"How Close Is Existing C/C++ Code to a Safe Subset?" featuring Naval Academy folks looking at {fmt} code (among other things): https://mdpi-res.com/d_attachment/jcp/jcp-04-00001/article_deploy/jcp-04-00001.pdf?version=1703739057

vitaut,
@vitaut@mastodon.social avatar

OMG, The Joint Strike Fighter (JSF) C++ Coding Standard. I am totally adopting it just because of the name.

vitaut,
@vitaut@mastodon.social avatar

Not bad? (esp considering that they seem to have included tests for some reason)

vitaut,
@vitaut@mastodon.social avatar

Now that's an unfortunate metric considering that one of the major safety features in {fmt} (compile-time checks) depends on implicit casts =D

vitaut, to random
@vitaut@mastodon.social avatar
shafik, to programming
@shafik@hachyderm.io avatar

This one trick to do sqr() and cube() in C: https://godbolt.org/z/7qeanM

#programming

vitaut,
@vitaut@mastodon.social avatar

@jamesh @shafik yeah, more like constexpr than consteval

vitaut,
@vitaut@mastodon.social avatar

@jamesh @shafik if n is a constant expression this is not a VLA, no?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • GTA5RPClips
  • provamag3
  • InstantRegret
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • lostlight
  • All magazines