<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>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:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Lorenzo Pesce" <lpesce@uchicago.edu><br><b>To: </b>"Michael Wilde" <wilde@mcs.anl.gov><br><b>Cc: </b>"Swift Devel" <swift-devel@ci.uchicago.edu><br><b>Sent: </b>Thursday, February 14, 2013 11:32:45 AM<br><b>Subject: </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>> <br>> A good exercise for Yadu as well.<br>> <br>> Thanks,<br>> <br>> - Mike<br>> <br>> ----- Original Message -----<br>>> From: "Lorenzo Pesce" <lpesce@uchicago.edu><br>>> To: "Mihael Hategan" <hategan@mcs.anl.gov><br>>> Cc: "Swift Devel" <swift-devel@ci.uchicago.edu><br>>> Sent: Thursday, February 14, 2013 10:20:56 AM<br>>> Subject: Re: [Swift-devel] faster branch<br>>> <br>>> <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>>> https://cogkit.svn.sourceforge.net/svnroot/cogkit/branches/4.1.9/src/cog<br>>> $ cd cog/modules $ svn co<br>>> https://svn.ci.uchicago.edu/svn/vdl2/branches/release-0.93 swift $<br>>> cd swift $ ant redist<br>>> <br>>> <br>>> what should I do? Just download the src and assume the rest is in?<br>>> <br>>> <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>>> <br>>> <br>>> <br>>> <br>>> <br>>> <br>>> On Feb 12, 2013, at 8:22 PM, Mihael Hategan wrote:<br>>> <br>>> <br>>> <br>>> Hi,<br>>> <br>>> Over the past couple of weeks I committed the faster branch. It's<br>>> essentially a re-implementation of the karajan language.<br>>> <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>>> <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>>> <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>>> <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>>> <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>>> <br>>> Code is at:<br>>> https://cogkit.svn.sourceforge.net/svnroot/cogkit/branches/faster/<br>>> https://svn.ci.uchicago.edu/svn/vdl2/branches/faster<br>>> <br>>> Mihael<br>>> <br>>> (PS: Contrary to my initial beliefs, the TUI seems to mostly work,<br>>> but I<br>>> haven't tested in detail).<br>>> <br>>> _______________________________________________<br>>> Swift-devel mailing list<br>>> Swift-devel@ci.uchicago.edu<br>>> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel<br>>> <br>>> <br>>> _______________________________________________<br>>> Swift-devel mailing list<br>>> Swift-devel@ci.uchicago.edu<br>>> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel<br>>> <br><br>_______________________________________________<br>Swift-devel mailing list<br>Swift-devel@ci.uchicago.edu<br>https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel<br></blockquote><br></div></div></body></html>