{"id":3287,"date":"2015-09-10T13:58:59","date_gmt":"2015-09-10T13:58:59","guid":{"rendered":"http:\/\/www.dyalog.com\/blog\/?p=3287"},"modified":"2023-04-03T13:44:03","modified_gmt":"2023-04-03T13:44:03","slug":"using-co-dfns-to-accelerate-apl-code","status":"publish","type":"post","link":"https:\/\/www.dyalog.com\/blog\/2015\/09\/using-co-dfns-to-accelerate-apl-code\/","title":{"rendered":"Using Co-dfns to Accelerate APL Code"},"content":{"rendered":"<p>Blog post from Aaron Hsu&#8217;s (Indiana University, USA) presentation Wednesday 9th September.<\/p>\n<p>By Vibeke Ulmann #Dyalog15<\/p>\n<p>For the past 2-3 years Aaron and Dyalog have been collaborating on creating a new compiler. This is an Open Source project and the compiler &#8211; which is currently in &#8216;Version 0.5&#8217;, is available as a zip download from Github. Aaron started by showing us how to download, unzip and set-up the compiler. It is available for both Windows and Linux platforms.<\/p>\n<p>This was a live coding session (working on the Window platform) where Aaron demonstrate some of the feature\/functionality expected to go into Version 1 of the compiler. He then proceeded to do a number of blackscholes benchmark, working various\u00a0Co-dfns implementations, in order to demonstrate the order of magnitude of speedup&#8217;s for chosen expressions.\u00a0The performance speedup&#8217;s\u00a0achieved were\u00a0\u00a060% -93% or, as Aaron prefers to see it, 3 &#8211; 10 times speed-,up\u00a0, so significant improvements can be had by using the compiler. However, there is still work to be done in terms of implementing more expressions, and Aaron encouraged\u00a0everyone to download the compiler,\u00a0play with it, and most importantly &#8211;\u00a0try to break it &#8211; as he\u00a0needs feedback in order to start bug fixing.<\/p>\n<p>The compiler is targeted solely at dfns and you will need access to a c-compiler on your machine. Also only 0-origin code is accepted for now.<\/p>\n<p>There is a lot of additional information available on the Github wiki, so please visit Github, get hold of the Compiler and start playing!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Blog post from Aaron Hsu&#8217;s (Indiana University, USA) presentation Wednesday 9th September. By Vibeke Ulmann #Dyalog15 For the past 2-3 years Aaron and Dyalog have been collaborating on creating a new compiler. This is an Open Source project and the &hellip; <a href=\"https:\/\/www.dyalog.com\/blog\/2015\/09\/using-co-dfns-to-accelerate-apl-code\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,4],"tags":[],"class_list":["post-3287","post","type-post","status-publish","format-standard","hentry","category-dyalog-15","category-events"],"_links":{"self":[{"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/posts\/3287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/comments?post=3287"}],"version-history":[{"count":7,"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/posts\/3287\/revisions"}],"predecessor-version":[{"id":3343,"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/posts\/3287\/revisions\/3343"}],"wp:attachment":[{"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/media?parent=3287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/categories?post=3287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/tags?post=3287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}