Thanks for correcting me. So, how could I leverage the use of CoreCLR for OS X/Linux... development? With c# or Iron*?<br><br>Actually, Desklets sound like the right solution. But with the same API across all platforms. Something that Java &quot;delivered&quot; with Swing -- sort of. <br>
<br>A way to have a powerful (but at the same time lightweight (== not bloated)) framework/infrastructure, that enables you to write apps in the language of your choice -- be it M, C#, VB, python, ruby or javascript (BTW, given that a lot of web developers use javascript at their work, using managed jscript for development has some interesting potential -- like VB).<br>
<br>Wouldn&#39;t it be cool to deliver developer tooling to support that? I could leverage whatever language I am proficient in, I could leverage XAML for the UI (hopefully the same on for desktop as for the web) and the software I would write would run on most platforms and the ones that don&#39;t have the &quot;runtime&quot;, could get it with a quick download (like Silverlight).<br>
<br>It seems obvious to me that something like that is going to happen -- I&#39;m just wondering why it hasn&#39;t yet. Where is the missing link? If Miguel has the tooling to run &quot;Silverlight apps&quot; on the desktop on Linux, I think they could also run on Windows and/or MacOSX.<br>
<br>What about accessing functionality (BCL) which is not included in the CoreCLR? Could I just reference (and add to deployment) System.ServiceModel.dll assembly and have access to full WCF? (there are of course other implications to that, but let&#39;s brainstorm for a minute)<br>
<br>Hey, Ironmen, what do you think?<br><br>Miha<br><br><div class="gmail_quote">2008/12/26 Alcides Fonseca <span dir="ltr">&lt;<a href="mailto:me@alcidesfonseca.com">me@alcidesfonseca.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Em 2008/12/26, ās 19:05, Miha Valencic escreveu:<div class="Ih2E3d"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&lt;thinking outloud/&gt;<br>
<br>
DLR is a subset of CLR, with specific improvements for dynamic languages (dynamic call sites, dispatch and whatnot). At least that&#39;s how I understand it.<br>
</blockquote>
<br></div>
That&#39;s not exactly correct. Silverlight has this thing called CoreCLR, and that&#39;s what implements the subset of the CLR.<br>
<br>
DLR is another layer on top of the CLR (although I believe it is going to be included in a future version). The DLR adds support for dynamic stuff on the CLR (both the desktop and the CoreCLR).<div class="Ih2E3d"><br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Currently, it runs in the browser on all major platforms (Win, OS X and with Linux (with Moonlight?)). It would be nice to be able to write apps on OS X (&amp; linux for that matter) in C# or VB, for instance, that would target the DLR (not CLR). You would have access only to the subset of the CLR (whatever DLR brings to the table) but nontheless.<br>

</blockquote>
<br></div>
Silverlight apps target the CoreCLR, not exactly the DLR. You can write a Silverlight app in C# and it won&#39;t make use of the CLR. If you use IronPython, IronRuby or JScript, you are using the DLR to access the CoreCLR in Silverlight.<div class="Ih2E3d">
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
For whatever is missing, one could add assemblies, which would be loaded into the application... (like with SL). No?<br>
<br>
Silverlight is intended for running in the browser -- but could we use this same technology to write &quot;native&quot; apps? We need a host of some sort for the UI (something that currently browser provides) or maybe we already have something like that?<br>

</blockquote>
<br></div>
At least in Linux, you can run silverlight apps in the desktop. Miguel calls them Moonlight Desklets, and you can learn more about them in his blog: <a href="http://tirania.org/blog/archive/2008/Apr-17.html" target="_blank">http://tirania.org/blog/archive/2008/Apr-17.html</a><div class="Ih2E3d">
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Could I write an application for OSX and run it with DLR (with a small download and as low complexity as possible)?<br>
<br>
I know I can download Mono and install it and use that for development and so on -- what about DLR?<br>
</blockquote>
<br></div>
In order to run .NET apps in OSX/Linux, you need a virtual machine. Two are available at this time: Mono and Moonlight. The first is the best for your needs. It has a larger API and you can use C# to write applications, or Iron* with the DLR+CLR. The other is using the desklets.<br>

<br>
The DLR is only used to access the CLR underneath. So it alone can&#39;t run anything.<div class="Ih2E3d"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Miha<br>
<br>
ps: I could launch the same word on Win and on OS X, if Word would be written in .NET completely.<br>
</blockquote>
<br></div>
True, but Mono doesn&#39;t have the same APIs as Windows&#39;s Microsoft .NET. WPF isn&#39;t implemented, as well as other APIs.<br>
<br>
<br>
Alcides<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
</blockquote></div><br>