Re: [Mono-dev] Mixed Mode Assemblies

2011-07-09 Thread arkain
So it looks like you guys are saying that allowing mono to create mixed-mode assemblies is possible given the following constraints: 1. The .NET metadata must always be found in a PE container. 2. A mixed mode assembly must always be a native format library so as to allow native programs to load t

Re: [Mono-dev] Mixed Mode Assemblies

2011-07-09 Thread arkain
Here's another possibility. I don't see what the problem would be in embedding ELF objects into a PE following the usual COFF objects. Doesn't PE have a text section that could be used to tag for extraction the native portion of the assembly? If that were used, then it would be possible to create a

Re: [Mono-dev] Mixed Mode Assemblies

2011-07-09 Thread arkain
When I raised this topic, I walked in knowing that any such solution to providing mixed-mode assemblies will produce assemblies that are not cross-platform compatible. That much is a given. My point was simply that this is an irrelevant fact. The whole point of providing for mixed mode assemblies i

[Mono-dev] Mixed Mode Assemblies

2011-07-07 Thread arkain
I understand the reasons why the developers chose to leave out support for developing mixed-mode assemblies using mono: the lack of cross-platform compatibility in such assemblies. However, I would argue that such things are not a consideration for those who would choose to develop such assemblies.