Hi,

Im Auftrag von Tiago Rodrigues
[...]
> It's not that "everyone in Windows programming expects everything to be a
> DLL"; this is an overgeneralisation.  After all, Java isn't exactly Windows-
> only code and we're not dealing with Win32, but with IBM zOS.
> However, think a bit on the problem of how you could compile in a native code
> object file into a program which runs inside a virtual machine.
> 
> This is a problem with Python, Lua and Ruby, as well, although in Python and
> Lua's case we could create a C executable hosting the Python or Lua VM inside
> it and expose the SQLite API to it via extension methods.  I don't know how
> embeddable Ruby is.
> 
> At any rate, one cannot generally embed a JVM or CLR into a C program, so
> you're left with one mechanism, which is the very Unix-y
> dlopen()/dlclose()/dlsym() interface, or its Windows analogue,
> LoadLibrary()/FreeLibrary()/GetProcAddress()...

Strictly speaking, this is not true - most JVM and CLR implementations are 
actually embeddable via a C (or C++) API, for example:

http://msdn.microsoft.com/en-us/library/ms404385.aspx
http://www.mono-project.com/Embedding_Mono
http://docs.oracle.com/javase/1.5.0/docs/guide/jni/spec/invocation.html
http://gcc.gnu.org/onlinedocs/gcc-4.0.3/gcj/Invocation.html#Invocation

There are other interoperability mechanisms available - e. G. CORBA, or on 
Windows, one could use COM.


Best regards

Markus Schaber

CODESYS(r) a trademark of 3S-Smart Software Solutions GmbH

Inspiring Automation Solutions

3S-Smart Software Solutions GmbH
Dipl.-Inf. Markus Schaber | Product Development Core Technology
Memminger Str. 151 | 87439 Kempten | Germany
Tel. +49-831-54031-979 | Fax +49-831-54031-50

E-Mail: m.scha...@codesys.com | Web: http://www.codesys.com | CODESYS store: 
http://store.codesys.com
CODESYS forum: http://forum.codesys.com

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade 
register: Kempten HRB 6186 | Tax ID No.: DE 167014915

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to