Re:Go at Google: Language Design in the Service of Software ...
by cjensen on Tuesday December 04, 2012 @08:55PM
(#4874467)
As I mentioned, the cpp needs to recognize the standard pattern and act on it. If you have multiple guards at the top level, you are trying to do something clever which cannot be optimized -- and also cannot be expressed in Go.
[ Parent
| on HN ]
Re:Go at Google: Language Design in the Service of Software ...
by agentS on Tuesday December 04, 2012 @11:43PM
(#4874922)
You mean it cannot be expressed using Go's (non-existent) preprocessor. I am relatively confident that you'd be able to express it in Go (perhaps sacrificing speed, in the process).