Live data from Hacker News

Fmt – A Modern Formatting Library

github.com

11–13 of 13 posts

Re: Fmt – A Modern Formatting Library

#12

For those who don’t know, much of the fmt library interface has been standardized in C++20 as std::format. It’s a great library, and a very efficient alternative to ostream and friends.

In case anyone is interested here's brief history of standardizing std::format: http://www.zverovich.net/2019/07/23/std-format-cpp20.html

Re: Fmt – A Modern Formatting Library

#13
post #2

(C++)

I was wondering that was "modern" about it, given that fmt(1) has been around since 3BSD (1979?).

very different, in just about every way. Type safety, deduced by the compiler instead of the stringly-typed %d and friends for starters.
Post reply on HN