On 13 October 2005 18:57, Tomasz Zielonka wrote:
On 10/11/05, Tomasz Zielonka [EMAIL PROTECTED] wrote:
On 10/11/05, Simon Marlow [EMAIL PROTECTED] wrote:
Ok, let's close this bikeshed. Someone want to send us a patch?
I will try to do this
On which branch of GHC should I be working?
Dear GHC users
This is an appeal for help with the
libraries/Win32 package [on Windows, obviously]
libraries/HGL package [on Windows]
Here's the situation:
* Win32 provides access to the native Windows API, which is obviously
very useful for people writing Haskell on
On Fri, 2005-10-14 at 09:20 +0100, Simon Peyton-Jones wrote:
Dear GHC users
This is an appeal for help with the
libraries/Win32 package [on Windows, obviously]
libraries/HGL package [on Windows]
Here's the situation:
* Win32 provides access to the native Windows API,
Hi,
I've a problem, I'm using this code on GHC compiler version 6.4.1:
--- BEGIN ---
module Main where
import System.IO
import Network
main = withSocketsDo $ do
handle - connectTo localhost ( PortNumber 8080 )
hSetBuffering handle LineBuffering
hClose handle
--- END ---
The problems is that
Hi all,
I have a program that uses hash tables to store word counts. It can
use few, large hash tables, or many small ones. The problem is that
it uses an inordinate amount of time in the latter case, and
profiling/-sstderr shows it is GC that is causing it (accounting for
up to 99% of the
It looks odd to me, because the service is not particularly meaningful to the transport, and thus not a crucial piece of
information. Unless I am missing something, this could be a
bug in the Network module.
You may want to try the lower-level stuff from Network.Socket instead.
Cheers,
Dinko
On
On Friday 14 Oct 2005 3:17 pm, Ketil Malde wrote:
Hi all,
I have a program that uses hash tables to store word counts. It can
use few, large hash tables, or many small ones. The problem is that
it uses an inordinate amount of time in the latter case, and
profiling/-sstderr shows it is GC
Am Freitag, 14. Oktober 2005 11:28 schrieb Duncan Coutts:
[...]
Well for the special case of the SOE library I have a re-implementation
of it based on Gtk+/cairo which should work on all platforms. [...]
Which additional stuff would one have to install on an e.g. off-the-shelf SuSE
Linux
On Oct 14, 2005, at 10:17 AM, Ketil Malde wrote:
Hi all,
I have a program that uses hash tables to store word counts. It can
use few, large hash tables, or many small ones. The problem is that
it uses an inordinate amount of time in the latter case, and
profiling/-sstderr shows it is GC
Thanks for the reply.
I don't know if the problem is the same, but when I try to run this code:
main = withSocketsDo $ do
host - getHostName
putStrLn host
the getHostName throws this exception:
getHostName: failed (Successful WSAStartup not yet performed
(WSANOTINITIALISED))
:( I'm
On Fri, Oct 14, 2005 at 04:29:37PM +0100, Simon Marlow wrote:
I'm not certain that this is your problem, but hash tables are by
definition mutable objects, and mutable objects don't work too well with
generational garbage collection, GHC's in particular. Basically every
GC, even the minor
By chance are you statically linking the program?
if you statically link a program on linux (and some other systems), it
cannot look up hostnames, protocols, or passwd entries.
you can look up the protocol number in /etc/protocols and hardcode it
and use IP addresses rather than names and it
12 matches
Mail list logo