Fmt – A Modern Formatting Library
github.com
Fmt – A Modern Formatting Library
1–10 of 13 posts
Re: Fmt – A Modern Formatting Library
#2Re: Fmt – A Modern Formatting Library
#3Re: Fmt – A Modern Formatting Library
#4Re: Fmt – A Modern Formatting Library
#5Re: Fmt – A Modern Formatting Library
#6I kind of think that IEEE 754 (or other binary floating point) to ASCII conversion should be its own project, or else in a language's standard library, since it is quite involved, especially if accuracy is important.
Re: Fmt – A Modern Formatting Library
#7For 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.
Concepts took, what, the best part of 20 years and the end result is just OK. Unless there's something I'm missing the system as standardized in C++20 just seems overcooked - not very elegant while also introducing a lot of new legalese in the standard. The system D uses seems to be much simpler (and more powerful in the sense that it effectively moves template constraints into the library - doesn't require updating as traits change) i.e.
template
if(constexprConditionOnT)
void toy(T x) {}Re: Fmt – A Modern Formatting Library
#8https://www.moria.us/articles/iostream-is-hopelessly-broken/
Re: Fmt – A Modern Formatting Library
#9For 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.
It's great that it's there now but it absolutely amazes me how long some of these features have taken. Concepts took, what, the best part of 20 years and the end result is just OK. Unless there's something I'm missing the system as standardized in C++20 just seems overcooked - not very elegant while also introducing a lot of new legalese in the standard. The system D uses seems to be much simpler (and more powerful i…
I can send you the turd of a PhD thesis that was left after my doctorate was bombed by the removal of concepts from C++0x.
Re: Fmt – A Modern Formatting Library
#10https://github.com/billforsternz/retro-sargon/blob/master/sr...