Kevin Scaldeferri on 5 Jun 2003 21:49:00 -0000 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
[ALACPP] Notes -- Chapter 3 |
Continuing through Alexandrescu (chapter 3 now), the thought that keeps coming to me is, why not just write in a functional language? The techniques of template meta-programming draw so heavily from functional techniques; so much that to someone familiar with them, the term "meta-programming" just sounds like hype. If you were using a more powerful programming language, there wouldn't be anything "meta" about it. I mean, he talks about typelists as if they were the second coming, but there's nothing remarkable about them. Virtually every language other than C can do it without the need for all these gymnastics. Interesting question. We know that OCaml is essentially as fast as C for a wide variety of simple benchmarks. I wonder if there are any comparisons for more real life applications. _______________________________________________ alacpp mailing list alacpp@xxxxxxxxxxx http://lists.ellipsis.cx/mailman/listinfo/alacpp