On 21 February 2012 19:10, Alex Rønne Petersen <xtzgzorex@gmail.com> wrote:
On 21-02-2012 18:03, Manu wrote:
On 21 February 2012 16:59, Michel Fortin <michel.fortin@michelf.com
<mailto:michel.fortin@michelf.com>> wrote:

   On 2012-02-21 11:03:09 +0000, Manu <turkeyman@gmail.com
   <mailto:turkeyman@gmail.com>> said:

Interesting point.
Java (or any VM based language) can't hard link to the binary, so it
never could try and call back in through an extern-ed function directly,

Sure it could. Why wouldn't it be able to? This is how extern + DllImport works in C#.

But that only works because C# has DLL support, which knows about the C calling convention, so you just need to export an extern(C) in that case, like any regular DLL.