Re: [Haskell-cafe] Performance Tuning & darcs (a real shootout?)

2006-01-23 Thread Jason Dagit
On Jan 23, 2006, at 3:33 AM, Bulat Ziganshin wrote: what you mean? afaik, there is no standard FastPackedString implementation, but there is some library that with minimal modifications used in darcs, jhc and many other apps I considered the version at Don Stewart's web site to be the stan

Re: [Haskell-cafe] Guess what ... Tutorial uploaded! :)

2006-01-23 Thread Ben Rudiak-Gould
Dmitry Astapov wrote: http://www.haskell.org/hawiki/HitchhickersGuideToTheHaskell I like the approach too, but the section on IO actions, which I'm reading now, is not correct. It's not true that "a <- someAction" has the effect of associating a with someAction, with the actual work deferred

Re[2]: [Haskell-cafe] Re: Hashtable woes

2006-01-23 Thread Bulat Ziganshin
Hello Chris, Monday, January 23, 2006, 6:09:15 PM, you wrote: CK> Using -A400m I get 39s down from 55s. That is the best Data.HashTable time I CK> have seen. (Using -A10m and -A100m were a little slower). 1) "-A400m" is a bit unusual. "-H400m" for 500-meg machine, "-H800m" for 1g computer and

[Haskell-cafe] SDL on Mac

2006-01-23 Thread Jake Luck
Anyone else here using the SDL binding on their Macs? (If memory serves me, at one point, I had gotten libSDL to work with 6.2.2). Now using GHC 6.4.1, while SDLstable-0.2.0 built without any problem for me on Linux, hsc2hs fails on the Mac: % runhaskell Setup.lhs build --verbose Reading param

Re: [Haskell-cafe] Can I use Haskell for web programming

2006-01-23 Thread Henning Thielemann
On Sat, 21 Jan 2006, Sebastian Sylvan wrote: Take a look at WASH and HSP... http://www.informatik.uni-freiburg.de/~thiemann/WASH/ http://www.cs.chalmers.se/~d00nibro/hsp/ I can't find this one on haskell.org/libraries/ ___ Haskell-Cafe mailing

RE: [Haskell-cafe] Re: Hashtable woes

2006-01-23 Thread Simon Marlow
On 23 January 2006 15:09, Chris Kuklewicz wrote: > That is good to hear. The benchmark's tests take 1,250,000 > pre-generated > strings as the keys. At the end, the string keys are 18 characters > long, drawn randomly from a set of 4 characters. So the hash > computations are a nontrivial hit.

Re: [Haskell-cafe] Re: Hashtable woes

2006-01-23 Thread Chris Kuklewicz
Simon Marlow wrote: > Bulat Ziganshin wrote: >> Hello Chris, >> >> Monday, January 23, 2006, 12:27:53 PM, you wrote: >> >> CK> The only mutable data structure that come with GHC besides arrays is >> CK> Data.Hashtable, which is not comptetitive with OCaml Hashtbl or DMD's >> CK> associative arrays

[Haskell-cafe] Re: Hashtable woes

2006-01-23 Thread Simon Marlow
Bulat Ziganshin wrote: Hello Chris, Monday, January 23, 2006, 12:27:53 PM, you wrote: CK> The only mutable data structure that come with GHC besides arrays is CK> Data.Hashtable, which is not comptetitive with OCaml Hashtbl or DMD's CK> associative arrays (unless there is something great hidden

Re: [Haskell-cafe] Re: Can I use Haskell for web programming

2006-01-23 Thread Björn Bringert
I think the easiest way to achieve that would be to do as Thomas Davie suggested earlier and get a virtual server where you can install whatever you want. /Björn Maurício wrote: I think it would be interesting to ask some professional site to install hsp, before I go to the cgi solution. If

Re: [Haskell-cafe] Performance Tuning & darcs (a real shootout?)

2006-01-23 Thread Bulat Ziganshin
Hello Jason, Monday, January 23, 2006, 9:38:02 AM, you wrote: JD> Potentially useful information about darcs; JD> 1) Uses a slightly modified version of FastPackedStrings. what you mean? afaik, there is no standard FastPackedString implementation, but there is some library that with minimal modi

Re: [Haskell-cafe] Hashtable woes

2006-01-23 Thread Bulat Ziganshin
Hello Chris, Monday, January 23, 2006, 12:27:53 PM, you wrote: CK> The only mutable data structure that come with GHC besides arrays is CK> Data.Hashtable, which is not comptetitive with OCaml Hashtbl or DMD's CK> associative arrays (unless there is something great hidden under CK> Data.Graph). I

Re: [Haskell-cafe] Guess what ... Tutorial uploaded! :)

2006-01-23 Thread Paul Moore
On 1/22/06, Dmitry Astapov <[EMAIL PROTECTED]> wrote: > Recend thread "Tutorial upload" reminded me of my intentions to write > haskell tutorial which I suppresend from the times when Hal Daume > began to write YAHT. Unusually low temperature here (-22C) freed me a > lot of time this weekend, and t

Re: [Haskell-cafe] Re: Can I use Haskell for web programming

2006-01-23 Thread Niklas Broberg
Now that would be a treat. :-) To get it working properly you would first of all need ghc. The you would need packages hsp with dependencies (haskell-src-exts, harp, trhsx) and hspr with dependencies (hs-plugins). To get the SQL parts you probably want to have haskelldb. I am in the process of mak

[Haskell-cafe] Re: Can I use Haskell for web programming

2006-01-23 Thread Maurício
I think it would be interesting to ask some professional site to install hsp, before I go to the cgi solution. If I want to do that, what should I ask them to install to get a full working environment, with access to SQL and other stuff? Maurício Niklas Broberg wrote: hsp can be run in t

[Haskell-cafe] Hashtable woes

2006-01-23 Thread Chris Kuklewicz
Hello, This post is a about a tangential issue to the shootout, not the shootout itself. It concerns the lack of a fast mutable hashtable. If you have a good replacement for Data.Hashtable, I would be interested to know about it (and so would the wiki!). The shootout entry "k-nucleotide" is a

RE: [Haskell-cafe] GHC integers pre-allocation

2006-01-23 Thread Simon Peyton-Jones
I believe that we statically allocate all ASCII chars, and Ints between -16 and +16.  Have a look in ghc/rts/StgMiscClosures.cmm   Simon   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Monique Monteiro Sent: 22 January 2006 23:26 To: haskell-cafe@haskell.org S

Re: [Haskell-cafe] Re: Can I use Haskell for web programming

2006-01-23 Thread Niklas Broberg
hsp can be run in two different modes. Running the full-blown version with runtime system will probably be hard on a professional site, you would have to convince them to install hsp. But if you can do without the fancier bits, in particular application-scoped data, you can run hsp pages as ordinar

Re: [Haskell-cafe] Can I use Haskell for web programming

2006-01-23 Thread Lemmih
On 1/23/06, Jared Updike <[EMAIL PROTECTED]> wrote: > For haskell-fastcgi, my configure fails with > > cannot satisfy dependency cgi-any > > Google does not turn up any useful results for this. Which package > will fix this dependency? I thought I just installed fastcgi from > source but I'm not su

[Haskell-cafe] Guess what ... Tutorial uploaded! :)

2006-01-23 Thread Dmitry Astapov
Hi all, Recend thread "Tutorial upload" reminded me of my intentions to write haskell tutorial which I suppresend from the times when Hal Daume began to write YAHT. Unusually low temperature here (-22C) freed me a lot of time this weekend, and the result it here: http://www.haskell.org/hawiki/Hi