<html><head><base href="x-msg://1010/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks a lot!<div><br><div><div>On Feb 14, 2013, at 12:47 PM, David Kelly wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; color: rgb(0, 0, 0); ">Lorenzo,<div><br></div><div>I have a module available now on beagle called swift/fast.</div><div><br><hr id="zwchr"><blockquote style="border-left-width: 2px; border-left-style: solid; border-left-color: rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-size: 12pt; "><b>From:<span class="Apple-converted-space"> </span></b>"Lorenzo Pesce" <<a href="mailto:lpesce@uchicago.edu">lpesce@uchicago.edu</a>><br><b>To:<span class="Apple-converted-space"> </span></b>"Michael Wilde" <<a href="mailto:wilde@mcs.anl.gov">wilde@mcs.anl.gov</a>><br><b>Cc:<span class="Apple-converted-space"> </span></b>"Swift Devel" <<a href="mailto:swift-devel@ci.uchicago.edu">swift-devel@ci.uchicago.edu</a>><br><b>Sent:<span class="Apple-converted-space"> </span></b>Thursday, February 14, 2013 11:32:45 AM<br><b>Subject:<span class="Apple-converted-space"> </span></b>Re: [Swift-devel] faster branch<br><br>Thanks a lot Mike.<br><br>Some day I would like to learn how to build them so I stop asking. I keep hoping I will have time, but it never seems to happen...<br><br>On Feb 14, 2013, at 10:32 AM, Michael Wilde wrote:<br><br>> David, can you build this and place it in a Beagle module?<br>><span class="Apple-converted-space"> </span><br>> A good exercise for Yadu as well.<br>><span class="Apple-converted-space"> </span><br>> Thanks,<br>><span class="Apple-converted-space"> </span><br>> - Mike<br>><span class="Apple-converted-space"> </span><br>> ----- Original Message -----<br>>> From: "Lorenzo Pesce" <<a href="mailto:lpesce@uchicago.edu">lpesce@uchicago.edu</a>><br>>> To: "Mihael Hategan" <<a href="mailto:hategan@mcs.anl.gov">hategan@mcs.anl.gov</a>><br>>> Cc: "Swift Devel" <<a href="mailto:swift-devel@ci.uchicago.edu">swift-devel@ci.uchicago.edu</a>><br>>> Sent: Thursday, February 14, 2013 10:20:56 AM<br>>> Subject: Re: [Swift-devel] faster branch<br>>><span class="Apple-converted-space"> </span><br>>><span class="Apple-converted-space"> </span><br>>> Sorry for being dumb here. It seems to be a bit different from the<br>>> process defined on the web site:<br>>> $ mkdir swift-0.93 $ cd swift-0.93 $ svn co<br>>><span class="Apple-converted-space"> </span><a href="https://cogkit.svn.sourceforge.net/svnroot/cogkit/branches/4.1.9/src/cog">https://cogkit.svn.sourceforge.net/svnroot/cogkit/branches/4.1.9/src/cog</a><br>>> $ cd cog/modules $ svn co<br>>><span class="Apple-converted-space"> </span><a href="https://svn.ci.uchicago.edu/svn/vdl2/branches/release-0.93">https://svn.ci.uchicago.edu/svn/vdl2/branches/release-0.93</a><span class="Apple-converted-space"> </span>swift $<br>>> cd swift $ ant redist<br>>><span class="Apple-converted-space"> </span><br>>><span class="Apple-converted-space"> </span><br>>> what should I do? Just download the src and assume the rest is in?<br>>><span class="Apple-converted-space"> </span><br>>><span class="Apple-converted-space"> </span><br>>> Sorry for the silly question, I would like to install it today, but I<br>>> don't have the time to search for more details.<br>>><span class="Apple-converted-space"> </span><br>>><span class="Apple-converted-space"> </span><br>>><span class="Apple-converted-space"> </span><br>>><span class="Apple-converted-space"> </span><br>>><span class="Apple-converted-space"> </span><br>>><span class="Apple-converted-space"> </span><br>>> On Feb 12, 2013, at 8:22 PM, Mihael Hategan wrote:<br>>><span class="Apple-converted-space"> </span><br>>><span class="Apple-converted-space"> </span><br>>><span class="Apple-converted-space"> </span><br>>> Hi,<br>>><span class="Apple-converted-space"> </span><br>>> Over the past couple of weeks I committed the faster branch. It's<br>>> essentially a re-implementation of the karajan language.<br>>><span class="Apple-converted-space"> </span><br>>> The gist of it is that it is now a semi-compiled language. What I<br>>> mean<br>>> by that is that there is no code generation, so the initial parse<br>>> tree<br>>> is converted into a compiled tree. Variable and function references<br>>> are<br>>> resolved at compile-time. This provides considerable improvements in<br>>> performance from two fronts:<br>>><span class="Apple-converted-space"> </span><br>>> 1. The interpreter was changed from an event-based system (a system<br>>> that<br>>> made sense many years ago, but has little relevance for swift) to a<br>>> lightweight threading implementation based on exceptions.<br>>> 2. The compiler can make optimizations that weren't possible with a<br>>> dynamic language. For example, once the swift and logging settings<br>>> are<br>>> known, code that conditionally executes based on a swift property or<br>>> logging statements can be optimized away and have no run-time<br>>> overhead.<br>>><span class="Apple-converted-space"> </span><br>>> There is also a benefit in memory consumed. Variables are now stored<br>>> in<br>>> arrays rather than hashtables. This should reduce the run-time<br>>> overhead<br>>> of the engine.<br>>><span class="Apple-converted-space"> </span><br>>> There are a few more relevant changes from swift's perspective:<br>>> - there is no more karajan xml. Keeping two inter-operable syntaxes<br>>> was<br>>> a pain in the back.<br>>> - sites.xml is now parsed with a DOM parser<br>>> - all the coaster code has been moved into provider-coaster. Karajan<br>>> is<br>>> now independent of that (and the other way around).<br>>><span class="Apple-converted-space"> </span><br>>> Most of the tests pass, but that means little. So if you can give it<br>>> a<br>>> shot, please do. If it works sufficiently well, we can merge this<br>>> into<br>>> trunk.<br>>><span class="Apple-converted-space"> </span><br>>> Code is at:<br>>><span class="Apple-converted-space"> </span><a href="https://cogkit.svn.sourceforge.net/svnroot/cogkit/branches/faster/">https://cogkit.svn.sourceforge.net/svnroot/cogkit/branches/faster/</a><br>>><span class="Apple-converted-space"> </span><a href="https://svn.ci.uchicago.edu/svn/vdl2/branches/faster">https://svn.ci.uchicago.edu/svn/vdl2/branches/faster</a><br>>><span class="Apple-converted-space"> </span><br>>> Mihael<br>>><span class="Apple-converted-space"> </span><br>>> (PS: Contrary to my initial beliefs, the TUI seems to mostly work,<br>>> but I<br>>> haven't tested in detail).<br>>><span class="Apple-converted-space"> </span><br>>> _______________________________________________<br>>> Swift-devel mailing list<br>>><span class="Apple-converted-space"> </span><a href="mailto:Swift-devel@ci.uchicago.edu">Swift-devel@ci.uchicago.edu</a><br>>><span class="Apple-converted-space"> </span><a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel</a><br>>><span class="Apple-converted-space"> </span><br>>><span class="Apple-converted-space"> </span><br>>> _______________________________________________<br>>> Swift-devel mailing list<br>>><span class="Apple-converted-space"> </span><a href="mailto:Swift-devel@ci.uchicago.edu">Swift-devel@ci.uchicago.edu</a><br>>><span class="Apple-converted-space"> </span><a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel</a><br>>><span class="Apple-converted-space"> </span><br><br>_______________________________________________<br>Swift-devel mailing list<br><a href="mailto:Swift-devel@ci.uchicago.edu">Swift-devel@ci.uchicago.edu</a><br><a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel</a><br></blockquote><br></div></div></div></span><br class="Apple-interchange-newline"></blockquote></div><br></div></body></html>