3 ms·
> https://groups.google.com/forum/#!msg/golang-dev/ZTD1qtpruA8/fgJ8a0tW1xcJ https://groups.google.com/forum/#!msg/golang-dev/ZTD1qtpruA8... Everything in there
by p0nce 12y ago
> https://groups.google.com/forum/#!msg/golang-dev/ZTD1qtpruA8/fgJ8a0tW1xcJ https://groups.google.com/forum/#!msg/golang-dev/ZTD1qtpruA8...
Everything in there listed as impractical in Go is possible in D without external tool, with just regular meta-programming:
- generating parsers from grammar https://github.com/PhilippeSigaud/Pegged https://github.com/PhilippeSigaud/Pegged
- embedding files as array of bytes:
ubyte[] = import("file.jpeg");
- protobuf files at compile-time: https://github.com/msoucy/dproto https://github.com/msoucy/dproto
- generating tables at compile-time with CTFE
Instead of copying what works the Go leaders pretend it doesn't work.