D popularity

Jonathan M Davis jmdavisProg at gmx.com
Mon Jan 21 00:08:45 PST 2013


On Monday, January 21, 2013 08:52:23 Rob T wrote:
> If the goal is to increase the popularity of D, and if people
> prefer scripted languages over compiled, then a good place to
> start is to create an interpreter for D, thus allowing it to be
> used as a scripted language, and also retain the ability to be
> compiled for optimal performance.

You can already do that. Assuming that dmd is installed in the right place, 
you can make your source file executable, put #!/bin/dmd at the top of it, and 
then run it. It'll be compiled and run. It's not interpreted, strictly 
speaking, but given how fast D compiles and how fast D code runs once it's 
been compiled, it'll be plenty fast.

- Jonathan M Davis


More information about the Digitalmars-d mailing list