Re: Runtime metaprogramming in D

2015-04-29 Thread Dennis Ritchie via Digitalmars-d-learn
On Wednesday, 29 April 2015 at 17:35:50 UTC, Ali Çehreli wrote: SDC will make D such a language. :) Ali It remains to build SDC in the standard library of the future DDMD :)

Re: Runtime metaprogramming in D

2015-04-29 Thread Ali Çehreli via Digitalmars-d-learn
On 04/28/2015 07:20 PM, Vladimir Panteleev wrote: On Wednesday, 29 April 2015 at 01:38:17 UTC, Dennis Ritchie wrote: Hi, Is it possible to write self-modifying code in D, who will perform at runtime? Not easily. Just the obvious approach to invoke the compiler and run/load the created executab

Re: Runtime metaprogramming in D

2015-04-29 Thread Dennis Ritchie via Digitalmars-d-learn
On Wednesday, 29 April 2015 at 02:20:25 UTC, Vladimir Panteleev wrote: On Wednesday, 29 April 2015 at 01:38:17 UTC, Dennis Ritchie wrote: Hi, Is it possible to write self-modifying code in D, who will perform at runtime? Not easily. Just the obvious approach to invoke the compiler and run/lo

Re: Runtime metaprogramming in D

2015-04-28 Thread Vladimir Panteleev via Digitalmars-d-learn
On Wednesday, 29 April 2015 at 01:38:17 UTC, Dennis Ritchie wrote: Hi, Is it possible to write self-modifying code in D, who will perform at runtime? Not easily. Just the obvious approach to invoke the compiler and run/load the created executable / shared library. Or is it a characteristic

Runtime metaprogramming in D

2015-04-28 Thread Dennis Ritchie via Digitalmars-d-learn
Hi, Is it possible to write self-modifying code in D, who will perform at runtime? Or is it a characteristic of languages that compile to bytecode?