GNU sed 4.2.2 released; maintainer resigns
Posted Dec 23, 2012 16:57 UTC (Sun) by
khim (subscriber, #9252)
In reply to:
GNU sed 4.2.2 released; maintainer resigns by lu_zero
Parent article:
GNU sed 4.2.2 released; maintainer resigns
See my point regarding C++-subset.
Where is said point, pray tell?
In the end you can just take Cfront and extend it enough to prove that everything you can do in C++ you can do in C, too—but this is an illusion: yes, that proves that theoretically some kind of superhuman can do in C everything real human can do in C++, but we don't have superhumans here, only humans—and they can do things in C++ which they can not do in C.
You are scare of macros and you feel happier with templates (that just suck differently).
This has nothing to do with my opinions and everything to do with facts. Templates may be ugly and awkward to use, but they can used by real-world humans to write nice libraries like Eigen. C macros can not be used for this goal: when people try to do that (see ATLAS or FFTW) they usually invent their own macro system to do that.
And that's my point: C macros are not suitable for the task if real humans are involved while C++ templates are suitable.
Gold is a great example on why clean slate rewrites can work decently w/out the second system syndrome. Yet gold is a really small subset of ld.
May be, but it implements everything needed for most used and it's much easier to support because of C++ template system.
(
Log in to post comments)