D vs C++

spir denis.spir at gmail.com
Mon Dec 27 04:48:16 PST 2010


On Sun, 26 Dec 2010 22:44:04 +0100
"Jérôme M. Berger" <jeberger at free.fr> wrote:

> > 8. direct interface to C  
> Cython gives it too: it is as easy to write a Cython interface
> module as to write a D interface file for a C library.

Hum, I do not agree at all. As I see it, D binds to C directly, Lua binds to C rather easily, Python binds to C "complicatedly". (Lua's C interface layer is far simpler than Python's, but it still cannot compare to D's direct calls in both directions. The only issue AFAIK is that types, qualifiers and conventions do not exactly match.)

> 	Well, that makes it 3 valid points out of 11 still ;)

I would say 4;-)

Denis
-- -- -- -- -- -- --
vit esse estrany ☣

spir.wikidot.com



More information about the Digitalmars-d mailing list