On Wed, 01 Apr 2015 19:36:53 +0000, Paulo Pinto wrote: > On Wednesday, 1 April 2015 at 19:04:43 UTC, ketmar wrote: >> On Wed, 01 Apr 2015 16:16:58 +0000, Paulo Pinto wrote: >> >>> Actually metaprogramming is how a lot of magic happens in Java and >>> .NET. >> >> without on-the-fly code generation that's a mockery. > > You can generate code on the fly as well, that is a common trick to > create, for example, optimized ORMs, regular expression engines or image > processing algorithms that are then compiled to native code with the > JIT. > > Runtime reflection, attribute processing, AST manipulation and bytecode > generation can help a lot in meta-programming. > > It isn't as easy as D's mixins, but it gets the job done.
as well as libjit and sparse for C, for example. but i will hardly name that useful, let alone usable.
signature.asc
Description: PGP signature