[Mono-dev] Porting Mono to 'asm.js'

Nirmal Lankathilaka nir3al+dev at gmail.com
Tue Mar 17 03:25:58 UTC 2015


Thanks Bob for the awesome links and the CC!! I too, would love to see that
potential achieved.

I've been doing some reading about porting to asm.js. Is there anything
you'd suggest that I should read/experiment on? Also, is there any
idea/suggestions you have in mind about how I should continue to work on
this project and what I should do (in the context of GSoC)?

On Mon, Mar 16, 2015 at 10:49 PM, Bob Summerwill <bob at summerwill.net> wrote:

>
> Corrected link - http://monohtml5.com - sorry.
>
>
>
> On Mon, Mar 16, 2015 at 10:18 AM, Bob Summerwill <bob at summerwill.net>
> wrote:
>
>>
>> I started digging into area last year.   See https://monohtml5.com/.
>>
>> I think there is huge potential for Mono and .NET apps targeting the
>> browser, and treating HTML5 as "just another platform".
>>
>> *
>> https://monohtml5.wordpress.com/2014/05/29/a-vision-html5-can-be-just-another-platform-for-net/
>> *
>> https://monohtml5.wordpress.com/2014/06/09/monohtml5-what-are-the-existing-projects-in-this-area/
>> *
>> https://monohtml5.wordpress.com/2014/06/14/monohtml5-what-are-you-actually-trying-to-make/
>>
>> Joao is in the CC on this mail.
>>
>>
>> Cheers,
>> Bob
>>
>> On Mon, Mar 16, 2015 at 3:31 AM, Nirmal Lankathilaka <
>> nir3al+dev at gmail.com> wrote:
>>
>>> Thanks for the clarification! Also, sorry for the late reply. I've been
>>> doing some reading and experimenting on asm.js/emscripten between my
>>> regular studies.
>>>
>>> Also, could you help me on how to contact "João Matos", who is stated as
>>> the mentor for that project?
>>>
>>> On Sun, Mar 15, 2015 at 8:47 PM, Robert Jordan <robertj at gmx.net> wrote:
>>>
>>>> On 15.03.2015 10:59, Nirmal Lankathilaka wrote:
>>>>
>>>>> I've been using Mono for developing desktop apps for a couple of years
>>>>> and
>>>>> would love to contribute to the project. Since I'm still a student, I
>>>>> think
>>>>> GSoC is a splendid opportunity to start.
>>>>>
>>>>> "Porting Mono to `asm.js`", presented for GSoC, caught my attention
>>>>> recently. I spent some time researching this and I'd like some
>>>>> clarification from the community:
>>>>>
>>>>> Since Mono-LLVM support does exist[mono-llvm]
>>>>> <http://www.mono-project.com/docs/advanced/mono-llvm/>, why would the
>>>>> need
>>>>> arise for a port? I understand that there are limitations
>>>>> [mono-llvm#limitations]
>>>>> <http://www.mono-project.com/docs/advanced/mono-llvm/#limitations> in
>>>>> the
>>>>> above approach as LLVM doesn't fully support all the needs of Mono; but
>>>>> since there is no specifications given which would require one to
>>>>> avoid the
>>>>> above approach (mono-llvm-->llvm-->emscripten-->asm.js), I'm a bit
>>>>> confused.
>>>>>
>>>>
>>>> The proposal assumes a slightly deeper understanding of the Mono
>>>> internals.
>>>>
>>>> http://www.mono-project.com/community/google-summer-of-
>>>> code/projects/#port-mono-to-asmjs
>>>>
>>>> "mono runtime" is here the part of Mono that provides the OS
>>>> abstraction layer (file, network etc.) and GC. It's that minimal
>>>> part of Mono that's needed for running static AOT (ahead-of-time
>>>> compilation) assemblies that were compiled to native shared objects
>>>> or included into the main executable. Basically, it's Mono sans
>>>> code generation, suitable to run on the target.
>>>>
>>>> The target is here "emscripten/asm.js", so it needs a port.
>>>>
>>>> "mono cross compiler that can target emscripten"
>>>> is a Mono LLVM AOT target that generates LLVM code suitable
>>>> for emscripten. This part is supposed to run on the host, i.e.
>>>> it has access to a full tool chain etc.
>>>>
>>>>
>>>>> On a different note, could you explain to me whether I should use the
>>>>> forums instead of the mailing-lists (which I prefer) for communication
>>>>> regarding GSoC and the `asm.js` port.
>>>>>
>>>>
>>>> The forums are just a mirror of this list.
>>>>
>>>> Robert
>>>>
>>>>
>>>> _______________________________________________
>>>> Mono-devel-list mailing list
>>>> Mono-devel-list at lists.ximian.com
>>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>>
>>>
>>>
>>> _______________________________________________
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>
>>>
>>
>>
>> --
>> bob at summerwill.net
>>
>>
>
>
> --
> bob at summerwill.net
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20150317/07a47f70/attachment.html>


More information about the Mono-devel-list mailing list