Re:Go’s alias proposal and all my concerns of Google control...
by gue5t on Monday November 07, 2016 @12:23PM
(#12892823)
C preprocessor alone is not turing-complete; you have to repeatedly apply the preprocessor (until you get a fixpoint or decide the program won't halt) to perform arbitrary computation.
Re:Go’s alias proposal and all my concerns of Google control...
by bbatha on Monday November 07, 2016 @11:24AM
(#12892242)
Go scores infinity actually. Go generate is a part of the language, which means that you can bring your own Turing-complete language to the party.
Reflection especially with plugins, are essentially another language that is even more difficult to track down than macros (or templates). Though you can at least write Reflection using go.
On this metric, Go scores 1 (just Go itself), and C++ scores 3 (C preprocessor, C++ itself, C++ templates).