Re: [Haskell-cafe] Vancouver Haskell users meeting

2008-06-08 Thread Ryan Dickie
Same deal but i'm in Ottawa for the summer. I'll be back around september. --ryan 2008/6/6 Asumu Takikawa [EMAIL PROTECTED]: Hi. I'd be interested in a meeting like this, but unfortunately since UBC is done for winter term I'm out of Canada for the summer. If anyone organizes a meet-up come

Re: [Haskell-cafe] Why functional programming matters

2008-01-23 Thread Ryan Dickie
many examples in ghc development. -- Ryan Dickie ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ANN / CFP - LLVM bindings for Haskell

2008-01-03 Thread Ryan Dickie
On Jan 3, 2008 3:43 AM, Bryan O'Sullivan [EMAIL PROTECTED] wrote: This is an early release of Haskell bindings for the popular LLVM compiler infrastructure project. If you don't know what LLVM is, it's a wonderful toybox of compiler components, from a complete toolchain supporting multiple

Re: [Haskell-cafe] nbody (my own attempt) and performance problems

2007-11-28 Thread Ryan Dickie
) Ryan Dickie wrote: I sat down tonight and did tons of good learning (which was my goal). Yes, the variable names in the unrolling is a little ugly but it helps to read the C++ version for context. There are two for loops (advN is each inner one unrolled). the other function names match the C

Re: [Haskell-cafe] A tale of three shootout entries

2007-11-27 Thread Ryan Dickie
Oops forgot to hit reply-to-all.. resending.. N-body is looking good. I am running and amd64 3000+ on ghc 6.8.1. The debian shootout is showing a huge gap between ghc 6.6 and g++ but I am not seeing that gap. One concern though is that the code doesn't look very haskellish. So much pointer

Re: [Haskell-cafe] A tale of three shootout entries

2007-11-27 Thread Ryan Dickie
Never mind. I screwed up the timings. The new haskell timings are still a huge improvement but they are: -0.169075164 -0.169031665 real0m27.196s user0m19.688s sys 0m0.163s On Nov 27, 2007 11:25 AM, Ryan Dickie [EMAIL PROTECTED] wrote: Oops forgot to hit reply-to-all.. resending

[Haskell-cafe] nbody (my own attempt) and performance problems

2007-11-27 Thread Ryan Dickie
by Paul Kitchin This crappy Haskell version by Ryan Dickie based on the above two --} import System import Text.Printf (a,b,c) .+ (x,y,z) = (a+x,b+y,c+z) (a,b,c) .- (x,y,z) = (a-x,b-y,c-z) x .* (a,b,c) = (x*a,x*b,x*c) mag2 (x,y,z) = x*x + y*y + z*z mag = sqrt . mag2 --some getter functions pVel

Re: [Haskell-cafe] nbody (my own attempt) and performance problems

2007-11-27 Thread Ryan Dickie
is _|_) you'll probably get better performance to boot. In any case, declaring type aliases for the various units you're using would also help readability quite a bit. --S On Nov 27, 2007, at 5:41 PM, Ryan Dickie wrote: I thought it would be a nice exercise (and a good learning experience) to try

Re: [Haskell-cafe] Data.Set.member vs Data.List.elem

2007-11-12 Thread Ryan Dickie
Perhaps this has something to due with uniqueness. A list can have many duplicate elements while a set is supposed to be unique. On Nov 12, 2007 2:48 PM, Neil Mitchell [EMAIL PROTECTED] wrote: Hi, Is there a good reason that Data.Set uses the name member while Data.List (or the Prelude) uses

Re: [Haskell-cafe] Re: Why can't Haskell be faster?

2007-11-02 Thread Ryan Dickie
On 11/2/07, Sterling Clover [EMAIL PROTECTED] wrote: As I understand it, the question is what you want to measure for. gzip is actually pretty good at, precisely because it removes boilerplate, reducing programs to something approximating their complexity. So a higher gzipped size means, at

Re: [Haskell-cafe] Re: Why can't Haskell be faster?

2007-10-31 Thread Ryan Dickie
So in a few years time when GHC has matured we can expect performance to be on par with current Clean? So Clean is a good approximation to peak performance? --ryan On 10/31/07, Don Stewart [EMAIL PROTECTED] wrote: ndmitchell: Hi I've been working on optimising Haskell for a little while

Re: [Haskell-cafe] newbie optimization question

2007-10-28 Thread Ryan Dickie
One thing I've noticed is that turning on optimizations significantly increases the speed of haskell code. Are you comparing code between languages with -O2 or without opts? On 10/28/07, Prabhakar Ragde [EMAIL PROTECTED] wrote: For the purposes of learning, I am trying to optimize some

Re: [Haskell-cafe] haskell on llvm?

2007-09-14 Thread Ryan Dickie
I could see it as a useful abstraction instead of directly generating assembly. To me the idea behind llvm seems nice and clean and academic to a certain degree. It can see it as something to look out for in the future. On 9/13/07, brad clawsie [EMAIL PROTECTED] wrote: has anyone ever

Re: [Haskell-cafe] howto install ghc-6.7.* ?

2007-08-11 Thread Ryan Dickie
Same problem here. I downloaded the ghc-6.7.20070811.tar.bz2 snapshot build on amd64 under ubuntu. From the README The sh boot step is only necessary if this is a tree checked out from darcs. For source distributions downloaded from GHC's web site, this step has already been performed. On

Re: [Haskell-cafe] OS design FP aesthetics

2007-06-18 Thread Ryan Dickie
haskell kernel be done as a microkernel or a monolithic kernel ;-) Marketing it would be hard. Who would want to buy a lazy os? --Ryan Dickie ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] An interesting toy

2007-05-05 Thread Ryan Dickie
Sounds like a neat program. I'm on a laptop right now but i'll check it out later. The reason I am mailling is because you can use mencoder to convert a stream of image files into a video file. http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-images.html --ryan On 5/5/07, Andrew Coppin

Re: [Haskell-cafe] Debugging

2007-05-04 Thread Ryan Dickie
On 5/4/07, Monang Setyawan [EMAIL PROTECTED] wrote: On 5/5/07, Stefan O'Rear [EMAIL PROTECTED] wrote: On Sat, May 05, 2007 at 11:36:16AM +0700, Monang Setyawan wrote: Hi, I'm a beginner Haskell user. Is there any way to trace/debug the function application in GHC? Absolutely! [EMAIL

Re: [Haskell-cafe] Is Excel a FP language?

2007-04-25 Thread Ryan Dickie
On 4/24/07, Tony Morris [EMAIL PROTECTED] wrote: In a debate I proposed Excel is a functional language. It was refuted and I'd like to know what some of you clever Haskellers might think :) My opposition proposed (after some weeding out) that there is a distinction between Excel, the

Re: [Haskell-cafe] Is there a best *nix or BSD distro for Haskell hacking?

2007-04-22 Thread Ryan Dickie
My vote goes to ubuntu. I've been using it for a few years and before that I tried a wide variety of distros. Ubuntu has a lot of polish, takes 20 minutes to install, and is just a really nice distribution overall. Things just work. Ubuntu is debian based so if you chose against ubuntu my second

Re: [Haskell-cafe] Is there a best *nix or BSD distro for Haskell hacking?

2007-04-22 Thread Ryan Dickie
I'm running feisty. [EMAIL PROTECTED]:~$ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.6 --ryan On 4/22/07, Dougal Stanton [EMAIL PROTECTED] wrote: On 22/04/07, Ryan Dickie [EMAIL PROTECTED] wrote: Many of the haskell packages including darcs, ghc, and well over

Fwd: [Haskell-cafe] Tutorial on Haskell

2007-04-16 Thread Ryan Dickie
Blast.. i didn't hit reply all so here's a forward of my mail to the group... --ryan -- Forwarded message -- From: Ryan Dickie [EMAIL PROTECTED] Date: Apr 16, 2007 4:24 PM Subject: Re: [Haskell-cafe] Tutorial on Haskell To: Simon Peyton-Jones [EMAIL PROTECTED] I can tell you

[Haskell-cafe] Re: Why Perl is more learnable than Haskell

2007-04-11 Thread Ryan Dickie
I thought I could resist this thread but I'll bite =:-() The first language i learned was basic. No real functions, simple step by step instructions. I then learned hypercard, c, c++, python, assembly, vhdl, and too many others! Now i've decided to learn haskell. I view it as a mathematicians