News for hackers. Stuff that matters.
Re:Go generate: A proposal for a Go preprocessor by mseepgood on Saturday September 27, 2014 @09:34AM (#8376969)
How do you use CPP or templates to generate .c files from yacc grammars or protobuf definitions, to embed HTML or binary data from files? I think you misunderstood the main purpose of this tool. You probably only read the last and least important use case.
Re:Go generate: A proposal for a Go preprocessor by robmccoll on Wednesday October 01, 2014 @07:19PM (#8398441)
I can do this with external tools and build systems (make, cmake, waf, scons + protoc and any other binary that I want) that at the end of the day work nicely with the provided tools. Go on the other hand seems to want to be monolithic. It is the center of your compile and link universe. To me it is quite un-Unix. Not unlike how limiting the import system is. Many of the features of Go make it feel like a walled garden.