digitalmars.D.learn - Runtime metaprogramming in D
- Dennis Ritchie (4/4) Apr 28 2015 Hi,
- Vladimir Panteleev (5/9) Apr 28 2015 Not easily. Just the obvious approach to invoke the compiler and
- Dennis Ritchie (3/14) Apr 29 2015 Thanks.
- =?UTF-8?B?QWxpIMOHZWhyZWxp?= (3/12) Apr 29 2015 SDC will make D such a language. :)
- Dennis Ritchie (3/5) Apr 29 2015 It remains to build SDC in the standard library of the future
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?
Apr 28 2015
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 of languages that compile to bytecode?I would say that it is a characteristic of languages which provide a compiler-as-a-library.
Apr 28 2015
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:Thanks.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 of languages that compile to bytecode?I would say that it is a characteristic of languages which provide a compiler-as-a-library.
Apr 29 2015
On 04/28/2015 07:20 PM, Vladimir Panteleev wrote:On Wednesday, 29 April 2015 at 01:38:17 UTC, Dennis Ritchie wrote:SDC will make D such a language. :) AliHi, 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 of languages that compile to bytecode?I would say that it is a characteristic of languages which provide a compiler-as-a-library.
Apr 29 2015
On Wednesday, 29 April 2015 at 17:35:50 UTC, Ali Çehreli wrote:SDC will make D such a language. :) AliIt remains to build SDC in the standard library of the future DDMD :)
Apr 29 2015