Thread: Re: [q-lang-users] Pure
Brought to you by:
agraef
From: Libor S. <li...@gm...> - 2008-04-28 10:18:35
|
Albert, Looking at the LLVM website again, I note their latest SVN version (LLVM 2.3) features llvm-gcc 4.2 and significant code generator and optimiser improvements. Would it be worth shooting for this latest version, or is it likely to break Pure? Would you care to test it and see if it (a) works, (b) runs faster? Libor |
From: Keith T. <kaz...@ea...> - 2008-04-29 06:43:54
|
Hello Albert, Long time no post, but I've been following recent developments with interest! "I have some more news. The Pure project was just approved by the sf.net staff, so I can now set up a website and source code repository." Congratulations! A new functional language is born! ...Hope I'm not too late! Cheers! Keith |
From: Albert G. <Dr....@t-...> - 2008-04-29 14:33:12
|
Keith Trenton wrote: > Congratulations! A new functional language is born! ...Hope I'm not too late! Thanks Keith. No, in fact you're early to the party. I'm still busy doing all the announcements, while Pure-related emails (and bug reports!) already started trickling in, but you're the first to congratulate. I wish we could all drink a couple of bottles of champaign together, I'm quite proud of this release. ;-) Cheers, Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Albert G. <Dr....@t-...> - 2008-04-29 02:02:45
|
Libor Spacek wrote: > Would it be worth shooting for this latest version, or is it likely to break Pure? No idea. I've only used LLVM 2.2 so far, and I don't know when I'll have the time to install the latest (I'll probably wait for a stable release, though.) -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Libor S. <li...@gm...> - 2008-04-29 08:08:34
|
Albert, Great news about Pure! Thanks for your reassuring comments. I think maybe static strong typing is too high a price to pay for efficiency :) The speed is good and will definitely make Pure a practical language. I think you are right about sticking to a stable release of LLVM. I just tried to compile the latest SVN release, plus bootstrap compile the latest front-end (llvm-gcc 4.2) but failed miserably with a "can not build table" error, after hours of compilation. I will try the LLVM 2.2 next. Libor On Tue, 29 Apr 2008 03:17:24 +0100, Albert Graef <Dr....@t-...> wrote: > Libor Spacek wrote: >> Would it be worth shooting for this latest version, or is it likely to break Pure? > > No idea. I've only used LLVM 2.2 so far, and I don't know when I'll have > the time to install the latest (I'll probably wait for a stable release, > though.) > |
From: Albert G. <Dr....@t-...> - 2008-04-29 14:54:04
|
Hi Libor, > I think maybe static strong typing is too high a price to pay for efficiency :) Yes. And you can always do the really heavy number crunching stuff in Fortran and call those functions from Pure. Pure doesn't support alternative calling conventions in its extern declarations yet (only C), but I think that LLVM already does at least Fortran and Ada, so support for that should be trivial to add in Pure. > The speed is good and will definitely make Pure a practical language. Yes, I think so, too. And it's just the first version of the compiler, I'm pretty sure that it can still be improved. Once you've all got Pure up and running, many eyes will be able to look at the generated code (yes, you can do that; the interpreter's interactive 'list -d' command disassembles the LLVM IR code of a Pure function) and I hope that we can then identify places where we can still bum a few instructions. And I didn't even employ LLVM's inter-procedure optimization passes yet, and inlining some critical runtime calls should also give another speed boost. > I just tried to compile the latest SVN release, plus bootstrap compile > the latest front-end (llvm-gcc 4.2) but failed miserably with a > "can not build table" error, after hours of compilation. Um, bad luck there. :( LLVM 2.2 compiled cleanly for me, out of the box (on both SUSE 10.1 and 10.3, that is). AFAIR the build process *is* a bit involved, though, maybe some kind soul here could write a brief summary of the necessary steps that I could put in the Pure README file or on the website? Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |
From: Eddie R. <er...@bm...> - 2008-04-29 17:43:36
|
> > I just tried to compile the latest SVN release, plus bootstrap compile > > the latest front-end (llvm-gcc 4.2) but failed miserably with a > > "can not build table" error, after hours of compilation. > > Um, bad luck there. :( LLVM 2.2 compiled cleanly for me, out of the box > (on both SUSE 10.1 and 10.3, that is). AFAIR the build process *is* a > bit involved, though, maybe some kind soul here could write a brief > summary of the necessary steps that I could put in the Pure README file > or on the website? The only package I *HAD* to install was g++. GNU make and development files were previously installed to compile Q but, I don't remember what they were. Eddie |