4 ms·
I actually disagree, against conventional wisdom. If it’s string manipulation, my formatting library is as ergonomic as, say, Python (plus or minus some sugar)
by dboon 1y ago
I actually disagree, against conventional wisdom.
If it’s string manipulation, my formatting library is as ergonomic as, say, Python (plus or minus some sugar). You move format arguments from inside the string to explicitly arguments, but for short strings this isn’t worst and for long strings the builder API is way better
And if it’s performance…of course Python can be performant, but it’s at least one order of magnitude easier to understand and debug the performance characteristics of the C program.
Like I said in the article, having allocators which obviate the need for granular memory management completely changes what C code can be ergonomically
Thanks for reading!