On Sat, 28 Feb 2009 22:53:25 +1300, JohnZ <nos...@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?