How to interface with existing Java Code at the API level.

Matthew Ong ongbp at yahoo.com
Sat May 21 01:04:54 PDT 2011


Hi,

D has major potential to replace C/C++ at the system API level.
What I can see D is doing now is trying to glue to the existing C API
instead of replacing that OLD OLD language.

But it is too early to see if that is the case at the Business 
Application level to replace enterprise level resources(like JMS/MQ, .

Because of this, D could be a strong enhancement:
1) to allow other VM base language to interface with the native layer of 
the OS that they are sitting on.
2) hiding some implementation logic in pure machine binary.
3) speeding up some existing IO/Hardware interfacing that is not able
to be done by Java/C# directly.

I am not too sure how the D dll works completely, but I guess. The end 
results would be same as a C dll. but how to figure out the header file 
in the C compatible as that was written in D.

Then some example would needed to be provided

 From what I can see, as a starting show case project.

https://github.com/wmeissner/jffi



-- 
Matthew Ong
email: ongbp at yahoo.com



More information about the Digitalmars-d-learn mailing list