Yes, I agree with both of you. But that is if I want to use Haskell as a
development tool. The target in learning by reinventing the wheel is the
ability to think declaratively when solving problems and to improve an
already found solution. For instance, Data.List module provides permutations
func
On Tue, Apr 27, 2010 at 7:02 PM, Dimitry Golubovsky wrote:
>
> This is probably about forkProcess rather than forkIO/forkOS, but why
> this limitation?
That's a standard Unix limitation. A child process is forked with one
thread, so if the parent has multiple threads running, it's overwhelmingly
Hi,
Interesting: my program is compiled with -threaded, and when I run it
with +RTS -N I get:
: forking not supported with +RTS -N greater than 1
This is probably about forkProcess rather than forkIO/forkOS, but why
this limitation? rawSystem works fine from within a thread started by
forkIO, bu
I have problems with upgrading some already working code for GHC 6.12.
The following code:
---
{-# LANGUAGE DeriveDataTypeable,
GeneralizedNewtypeDeriving, TemplateHaskell #-}
import Data.Data
import Language.Haskell.TH.Syntax
Bulat,
All I need is to know how many cores I have. In my program, I can run
some actions in parallel, and knowing the number of cores helps set
the maximum number of parallel processes. These processes are in fact
external programs (CPU-intensive but not memory intensive, so number
of cores is ma
Hello Dimitry,
Tuesday, April 27, 2010, 8:09:49 PM, you wrote:
a few months ago i asked SimonM about using all cores by default, but
he said that it dramatically reduces performance in some cases
> Hi,
> As a followup to the discussion [1] about the portable way to find the
> number of CPUs/cor
On Tue, Apr 27, 2010 at 9:09 AM, Dimitry Golubovsky wrote:
>
how is the default value of numCapabilities [2]
> set when +RTS -N is not on the command line?
>
> Does GHC runtime figure out the number of cores itself,
>
With 6.12.1 and newer, no "-N" argument implies 1 core, "-N*k*"
implies *k* co
Hi,
As a followup to the discussion [1] about the portable way to find the
number of CPUs/cores: how is the default value of numCapabilities [2]
set when +RTS -N is not on the command line?
Does GHC runtime figure out the number of cores itself, or it is by
default 1 unless specified on the comma
I agree with the answer that Yitz gave, but let me frame it in a bit of context:
Many people's idea of a programming language is Python, and within 12 minutes
of settling in to a new language they're going to wonder how to match a regular
expression to a string, or download a web page, and they'
leledumbo wrote:
> I notice that many of the installed libs aren't required for learning
> Haskell. What libs are required so I can get the bare minimum version of
> GHC?
For most people, the recommended approach is to install
the Haskell Platform. This is not a minimal setup - it includes
package
On 27/04/2010 01:58, Jens Petersen wrote:
On 22 April 2010 10:19, Ian Lynagh wrote:
Release notes are here:
http://haskell.org/ghc/docs/6.12.1/html/users_guide/release-6-12-2.html
No mention of it, but is utf8-string now only an internal library?
It was always supposed to be internal, we
On 23/04/2010 19:03, Denys Rtveliashvili wrote:
Tue Dec 1 16:03:21 GMT 2009 Simon Marlowmailto:marlo...@gmail.com>>
* Make allocatePinned use local storage, and other refactorings
The version I have checked out is 6.12 and that's why I haven't seen
this patch.
Are there any plans for i
I notice that many of the installed libs aren't required for learning
Haskell. What libs are required so I can get the bare minimum version of
GHC? Also, is there any automatic way so that I don't have to manually
delete the folders and edit package.conf?
--
View this message in context:
http://
13 matches
Mail list logo