<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Metalevel &#187; report</title>
	<atom:link href="http://pjmolina.com/metalevel/tag/report/feed/" rel="self" type="application/rss+xml" />
	<link>http://pjmolina.com/metalevel</link>
	<description>Abstraction based levitation</description>
	<lastBuildDate>Mon, 26 Jul 2010 18:00:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>My impressions about Code Generation 2009</title>
		<link>http://pjmolina.com/metalevel/2009/06/my-impressions-about-code-generation-2009/</link>
		<comments>http://pjmolina.com/metalevel/2009/06/my-impressions-about-code-generation-2009/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 09:41:18 +0000</pubDate>
		<dc:creator>Pedro J. Molina</dc:creator>
				<category><![CDATA[Code Generation]]></category>
		<category><![CDATA[DSL]]></category>
		<category><![CDATA[MDD]]></category>
		<category><![CDATA[CG2009]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[report]]></category>

		<guid isPermaLink="false">http://pjmolina.com/metalevel/?p=120</guid>
		<description><![CDATA[Once a year I flew to Cambridge, on the United Kingdom. It is the place for my favorite conference in the last three years: Code Generation! In this last edition I am especially happy to see again a lot of well-know faces working in the same stat-of-the art topics. Everyone coming to CG believes on it, so [...]]]></description>
			<content:encoded><![CDATA[<div>
<p><a href="http://www.codegeneration.net/cg2009/"><img class="alignright" style="border: 0px initial initial;" title="CG2009 logo" src="http://www.codegeneration.net/cg2009/images/CG2009logo175x43.gif" border="0" alt="Code Generation 2009" width="175" height="43" /></a><br />
Once a year I flew to <a title="Cambridge Location" href="http://maps.google.es/maps?f=q&amp;source=s_q&amp;hl=es&amp;geocode=&amp;q=cambridge+uk&amp;sll=39.453227,-0.360596&amp;sspn=0.013818,0.019312&amp;ie=UTF8&amp;ll=52.203925,0.124969&amp;spn=0.021935,0.038624&amp;z=15" target="_blank">Cambridge</a>, on the United Kingdom. It is the place for my favorite conference in the last three years: <strong><a title="Code Generation 2009" href="http://www.codegeneration.net/cg2009/" target="_blank">Code Generation</a></strong>!</p>
<p>In this last edition I am especially happy to see again a lot of well-know faces working in the same stat-of-the art topics. Everyone coming to CG <em>believes on it</em>, so it easy to jump and talk directly about the core and heavy issues: you don&#8217;t need to make any additional effort to convince your audience about the goodness of modeling and code gen.</p>
<p>To me, it is remarkable important to have the chance to meet with MDD, DSL and MDA practitioners and interchange ideas, comment on latest new tools &amp; <span lang="EN-US">breakthroughs</span>, and give and receive first-class feedback!</p>
<p>I want to share some of the main shared ideas I got back home in my luggage. So, if you are interested in it, please keep reading.<span id="more-120"></span></p>
<div>
<h3><strong>Model Discovery</strong></h3>
<p><span style="font-weight: normal;">I meet <a title="Stuart Kent's blog" href="http://blogs.msdn.com/stuart_kent/archive/category/9779.aspx" target="_blank">Stuart Kent</a> (Microsoft) and I was surprised by his tools for Visual Studio 2010 Team Edition designed for model discovery. These tools are capable of selecting the source code of a solution and search for all the <span lang="EN-US">dependencies </span>in the code. The tools produces an XML graph with the dependences and Visual Studio is able to draw them (a la <a title="Graphviz" href="http://www.graphviz.org/" target="_self">Graphviz</a>) and do drilldown from assemblies to namespaces, classes &amp; methods. Nice to tool to have to check the real architecture of your production code.</span></div>
<div>I had to do this manually once: looking for cross references in more than 2.500 mini-applications of legacy code and finished it finally doing some kind of regex searching for the references, creating a text based graph and display it all with the quoted library GraphViz and some clustering techniques.</div>
<div>
<h3><strong>Microsoft OSLO</strong></h3>
<p><strong><span style="font-weight: normal; font-size: 13px; ">Stills on CTP stage. we need to await a further more to see the full features of the final version of <a title="Microsoft OSLO" href="http://msdn.com/oslo" target="_blank">OSLO</a>. But it is a really needed approach on the Microsoft side to have tools to create text DSL as the Eclipse guys have with XText or openArchitectuware. In this way, my lab tests with MGrammar looks promising.</span></strong><br />
It was a pity not to have the Redmon guys presenting their tools in first person. They will have received quality feedback for sure. May be in the next edition?</div>
<div>
<h3>Microsoft DSL Tools</h3>
<p><span style="font-weight: normal;">The team of Microsoft Cambridge Research is loyal to the CG conference, and every year they bring us the new features planed for the next edition. I have to said that <a title="Jean-Marc Prieur's blog" href="http://blogs.msdn.com/jmprieur/" target="_blank">Jean-Marc Prieur</a> convinced me to download and test the <a title="Visual Studio 2010 Beta 1" href="http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx" target="_blank">VS2010 Beta 1</a> to test the new DSL tools we were awaiting for so long!</span></p>
<p>I took the opportunity to ask Jean-Marc for more integration between DSL Tools and OSLO because having such level of integration should be wonderful for integrating visual and textual DSL in the same model! Later on in the bar, we had a productive discussion about it with Jean-Marc and Stuart Kent.</p>
<p>There was general consensus with my java colleagues in the problems when creating <a title="Eclipse Ghraphical Modeling Framework" href="http://www.eclipse.org/modeling/gmf/" target="_blank">GMF</a> based <span lang="EN-US">diagramming</span>. More work should be done on it to improve the <span lang="EN-US">maintainability </span>of visual DSL created with Eclipse GMF. <span lang="EN-US">Fortunately</span>, DSL Tools is better polished in this aspect.</div>
<div>
<h3>Partitioning Models for Scalability</h3>
<p><span style="font-weight: normal;">This year lots of us came for solutions for making model edition scalable. I am specially happy to see this happen:</span></div>
<div>
<ul>
<li><span style="font-weight: normal;"><a title="Markus Völter's blog" href="http://voelterblog.blogspot.com/" target="_blank">Markus Völter</a> (Independent/Itemis) &amp; <a title="Steven Kelly's blog" href="http://www.metacase.com/blogs/stevek/blogView" target="_blank">Steven Kelly</a> (Metacase) discuss in their great keynote the need for modulable, partitionable and composable models.</span></li>
<li><span style="font-weight: normal;"><a title="Jos's site" href="http://www.klasse.nl/">Jos Warmer</a> (Ordina) presented us the implementation of the </span><strong>CrossX Broker</strong><span style="font-weight: normal;"> for the Eclipse environment allowing to partition models inside Eclipse and still having the possibility to have references to external defined parts. To be honest, he had already implemented this a year before in Visual Studio.</span></li>
<li><span style="font-weight: normal;"><a title="Jean-Marc Prieur's blog" href="http://blogs.msdn.com/jmprieur/" target="_blank">Jean-Marc</a> (Microsoft) explained about the same similar feature we were demanding from so long in Microsoft DSL Tools: the </span><span style="font-weight: normal;"><strong>Model Bus</strong></span><span style="font-weight: normal;"> for allowing references between DSL Models.</span></li>
<li><span style="font-weight: normal;">Also I presented a technique and a tool demo for partitioning models in chunks and allow applying Separation of Concerns using partials definitions of models and a merge engine.</span></li>
</ul>
</div>
<div><span style="font-weight: normal;">Amazing!: all of us so well aligned and without preparing it!</span></div>
<div>
<h3>Mod4j</h3>
<p><span style="font-weight: normal;">Jos Warmer &amp; Johan Vogelzang (Ordina) presented also their current work on modeling with textual languages, small DSL and Eclipse integration for business applications. Still work in progress on <a title="Mod4j" href="http://www.mod4j.org/" target="_blank">mod4j</a> but more its going to come.</span></div>
<h3><strong>XText &amp; openArchitectuware</strong></h3>
<div><span style="font-weight: normal;">The guys from <a title="Itemis" href="http://www.itemis.de/" target="_blank">Itemis</a> presented a lot of work in the conference around <a title="XText" href="http://www.eclipse.org/Xtext/" target="_blank">XText</a> (a Hands-On Workshop), <a title="openArchitectuware" href="http://www.openarchitectureware.org/" target="_blank">openArchitectuware</a> and their industrial experience with the Germany Stock Exchange (Deutsche Boerse AG).</span></div>
<h3><strong>Ruby RGEN</strong></h3>
<div><span style="font-weight: normal;">Martin Thiede presented a fresh approach to code generation based on Ruby (<a title="Ruby - RGen" href="http://ruby-gen.org/">RGen</a>) and the natural meta-programming features of the Japanesse gem. Martin applies his work to create <span lang="EN-US">embedded </span>C software for the automotive industry. Our session collided in the time slot (parallel tracks), but he was so kind to show me his material in the BoF time slot. Thank for your kind demonstration Martin! Take a look also to a nice article on <a title="RGen on InfoQ" href="http://www.infoq.com/articles/thiede-ruby-modelling" target="_blank">InfoQ</a>.</span></div>
<div>
<h3>Templates engines</h3>
<p><span style="font-weight: normal;"><a title="Kathleen Dollard" href="http://www.linkedin.com/pub/kathleen-dollard/3/972/506" target="_blank">Kathleen Dollard</a> (AppVenture) presented a nice session about Template Specialization comparing XSLT, ASP based templates engines and Microsoft T4 templates. We all agreed in never come back to XSLT due to <span lang="EN-US">maintainability </span>issues. I suggested Kathleen to include in the comparison other approaches like <a title="StringTemplate" href="http://www.stringtemplate.org/" target="_blank">StringTemplate</a>. That helps a lot when generating code to keep ourselves focused in the complexity of the transformation and not in the complexity of the template engine.</span></div>
<div>The T4 engine (included in MS DSL Tools) is a powerfull dark-beast: it can be lots of things, but may be too much for me, indeed. So, I preffer to take a different and more simplier and disciplined approach to code generation using the StringTemplate way. Also discussing about T4 with Jean-Marc, he agreed that providing best practices when dealing with templates for code generation can help T4 users.</div>
<div>
<h3>Jetbrain&#8217;s Meta Programming System (MPS)</h3>
<p><span style="font-weight: normal;">Presented by Markus &amp; <a title="Konstantin Solomatov's blog" href="http://solomatov.wordpress.com/" target="_blank">Konstantin Solomatov</a> (Jet Brains), <a title="MPS" href="http://www.jetbrains.com/mps/index.html" target="_blank">MPS</a> was the surprise of the conference. MPS provides a new way of editing code (or models, the barrier starts to blur) based in trees forms (non linear text). The code (or model) is created as a tree in the toll. Can not be edited with a traditional editor anymore, however makes <span lang="EN-US">unnecessary </span>the usage of parsers. Quite, quite <span lang="EN-US">interesting </span>and a future line for language workbenches investigation! There are some usability problems and you can notice it when some tree refactoring in ongoing (for example when changing your input from <tt>(1+2)*3</tt> to <tt>1+2*3</tt> .</span></div>
<div><span style="font-weight: normal;">Still an ongoing work, but quite promising. Some people in the audience said &#8220;it&#8217;s like the <a title="Intentional Programming" href="http://www.intentsoft.com/" target="_blank">Intentional sw</a>, but working&#8221;. I don&#8217;t know, really: we will see it when Intentional finally show its product.</span></div>
<div>
<h3>Better tools for M2M</h3>
<p>Model to Text (M2T) technology is good enough for the mayority of the uses cases you will find.</p></div>
<div>However Model to Model transformations (M2M) are a hot topic and will continue be till find more natural formalisms to declare, test, debug &amp; eficiently execute as simple as posible the mapping for our desired transformations.</div>
<div>
<div>
<h3>The role of OMG, MDA and the standarization</h3>
<p>Is also nice to have in this conferece people like <a title="Andrew Watson's page" href="http://homepage.ntlworld.com/ajwatson/" target="_blank">Andrew Watson</a> (OMG) and <a title="Steve Cook's blog" href="http://blogs.msdn.com/stevecook/" target="_blank">Steve Cook</a> (OMG expert, first on the IBM side and now at the Microsoft side) to see how the organization evolves MDA and related standards.</div>
</div>
<div>Lot&#8217;s of us recognized the value of UML, although the so big espefications, sometimes <span lang="EN-US">ambiguous </span>semantics and the overloading of the profiles are always a problem for people to fully-understand the semantics behind the pictograms.</div>
<div>For that reason, whenever our domain is out of the scope of the UML (let say User Interfaces to cite one quite clear) some of us prefer to create a custom DSL to deal with it instead of extending and forcing UML.</div>
<div>
<h3>Some open problems for further investigation</h3>
<ul>
<li>Formalism and efficient technology for M2M transformations</li>
<li>Debugger capability on models</li>
<li>Schema evolution / Model versioning</li>
<li>DSL integration / composition</li>
<li>Better integration of visual, textual, tabular, form based representation in model editors when needed</li>
<li>Standarization of models and tool chains</li>
<li>And more&#8230;</li>
</ul>
</div>
<div>Of course, there were much more, but four tracks in parallel only allows me to attend to one quarter of the content that was presented. More than once, I wanted to be in four sessions at the same time, but was not possible for me, not yet. <img src='http://pjmolina.com/metalevel/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </div>
<p>To sum up, if MDD/MDA/DSL/code generation is on your mind, don&#8217;t forget to take a look to Code Generation on the next edition!</p>
<p>Thanks to all participants for making it possible!</p>
<p>And specials thanks goes to <a title="Mark Dalgarno's blog" href="http://blog.software-acumen.com/" target="_blank">Mark Dalgarno</a>, Magg &amp; <a title="Andy Moorley" href="http://www.linkedin.com/in/andymoorley" target="_blank">Andy Moorley</a> for their work on the organization to make this a total success.</div>
]]></content:encoded>
			<wfw:commentRss>http://pjmolina.com/metalevel/2009/06/my-impressions-about-code-generation-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
