digitalmars.D - D and JNI - anyone?
- Brad Anderson (6/6) Feb 22 2005 Has anyone been able to accomplish calling a D function from Java using
- MicroWizard (6/12) Feb 22 2005 D is able to create DLL on Win32. I have tried it, it works smoothly.
Has anyone been able to accomplish calling a D function from Java using JNI? Or is this a limitation of not being able to make shared libs / dlls with DMD? Theoretically, could GDC make a .so lib and then all we'd have to deal with is the JNI javah portion of the task? BA
Feb 22 2005
D is able to create DLL on Win32. I have tried it, it works smoothly. (Really it seems easier to me than C++ does it.) Check the sample D programs in the dmd.zip file. So I think JNI interface should be accesible, but I am not sure how. Tamas Nagy In article <cvepjo$2748$1 digitaldaemon.com>, Brad Anderson says...Has anyone been able to accomplish calling a D function from Java using JNI? Or is this a limitation of not being able to make shared libs / dlls with DMD? Theoretically, could GDC make a .so lib and then all we'd have to deal with is the JNI javah portion of the task? BA
Feb 22 2005