r2d22k
28-08-2008 22:16:06
I read that MOGRE is not Mono compatible and so it's not Linux compatible. Is Mono/Linux compatibility planned?
r2d22k
28-08-2008 22:16:06
Bekas
29-08-2008 12:26:01
r2d22k
29-08-2008 12:52:24
Bekas
29-08-2008 13:04:09
r2d22k
29-08-2008 13:23:33
Bekas
29-08-2008 14:16:30
Bekas
04-09-2008 22:36:47
However, in the process I found out that SWIG, as a tool for interfacing C# with native code, does the job but has serious deficiencies.
One is that it does not work with arrays (at least the version I have, 1.3.35).
Another one is that it produces lots of native code, and invokes it practically for everything, so even a simple field access becomes a call to a native C function (which involves a managed-umnanaged transition and all). I really believe that a wrapper generator tailored specifically for the .NET world could use the CIL much more effectively (the SWIG C# backend is almost a copy of the Java one...).
Finally, SWIG encourages the use of "interface files" distinct from the native C header files of the API it is working on. While this is understandable, I think a more direct approach would be more practical.
My impression is that the Windows crowd does not feel the pain because when they need to interoperate with native code they have managed c++. At first I just dismissed it as a "language abomination", something taking the already complex C++ and adding all sort of quirks and different ways of doing things on top of it. But now, thinking better, it is the perfect tool to interoperate managed and unmanaged code, and in the free software world we lack something with that power.