Некоторые новости ФП-индустрии...
__________________________________________________________________
Анонсирован Haskell 2010:
Announcing Haskell 2010Зачем они убрали n+k паттерны -- я так и не понял. Ну видно, захотелось упростить язык и, соответственно, трансляторы. А было прикольно так:
Код:
factorial 0 = 1
factorial (n+1) = (n+1) * factorial n
(да, не самый удачный пример этого паттерна, ну да ладно? идея ясна)
__________________________________________________________________
Haskell, биоинформатика и High Perfomance Computing
http://www.genomeweb.com/blog/more-bio- ... ights-sc09In the spirit of teaching an almost 20 year-old dog new tricks, Jacqueline Addesa, a student from Virgina Tech, presented her argument for using the open source Haskell, a language usually reserved for big commercial applications, in an HPC setting. Addesa compared Haskell to C on multiple sequence alignment jobs, and found that the C code quickly became about 37 times longer than the same implementation using Haskell, with Haskell running about 2.68 times faster on hefty genetic sequence data sets.
On the Efficacy of Haskell for High-Performance Computational BiologyAuthor: Jacqueline R. Addesa (Virginia Tech)
Posters Session Tuesday, 05:15PM - 07:00PM
Room Oregon Ballroom Lobby
Abstract:
While Haskell is an advanced functional programming language that is increasingly being used for commercial applications, e.g., web services, it is rarely considered for high-performance computing despite its ability to express algorithms succinctly. As such, we compare the computational and expressive power of Haskell to a more traditional imperative language, namely C, in the context of multiple sequence alignment, an NP-hard problem in computational biology. Although the C implementation mirrored Haskell’s, the C implementation did not account for problems with the run-time stack, such as stack overflow. Once addressed, the C code ballooned to over 1000 lines of code, more than 37 times longer than the Haskell implementation. Not only is the Haskell implementation more succinct, but also its execution time on large genetic sequences was 2.68 times better than C, as there is less bookkeeping overhead in the Haskell code.
_________________________________
PICBIT -- транслятор Scheme для микроконтроллеров семейства PIC
http://www.iro.umontreal.ca/~feeley/papers/sw03.pdfНепростая задача -- сделать такой транслятор для PIC'ов, там ведь такие слабые ресурсы, у этих чипов...