[MLton-user] Re: Compiling ML/C Program to dll / Writing a Java
GUI for an ML program
Christof Leng
cleng at dvs.tu-darmstadt.de
Sun Jul 31 13:21:09 PDT 2011
Am 31.07.11 17:59, schrieb Matthew Fluet:
> On Fri, Jul 29, 2011 at 3:57 PM, Steffen J. Smolka
> <steffen.smolka at in.tum.de> wrote:
>> I have been wondering for a while now if there's a good way to make ML code
>> and Java code work together.
> As for compiling to a DLL, there is some support for compiling a SML
> program to a library. See "http://mlton.org/LibrarySupport"; I'm not
> sure that it supports compiling to a DLL, since there isn't a native
> Windows port of MLton; on Windows, we use either Cygwin or MinGW.
MLton is capable of producing DLLs (at least with the MinGW version), we
use that in our BubbleStorm peer-to-peer overlay. We have also
successfully connected the DLL to Java using JNI.
Christof
More information about the MLton-user
mailing list