D for projects similar to Forth Interpreters?
Tim M
a at b.com
Sat Feb 28 02:35:27 PST 2009
On Sat, 28 Feb 2009 22:53:25 +1300, JohnZ <nospam at myip.tks> wrote:
> In this case what would be the pros and cons if any of D compared with
> C or asm?
C probably optimizes well based on its age. Asm will make some routines a
few microseconds faster. But D will ensure whole project not be delayed by
a few years.
Profile the d for the slow spots, optimize those and maybe include inline
asm there. Have the ability to link to existing c (and some C++) libraries
if needed. Profit :)
D is well suited to interpreters.
PS: any thing unique about forth interpreters compared to other
interpreted languages?
More information about the Digitalmars-d
mailing list