From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 4DB82BC57 for ; Sat, 20 Nov 2010 12:55:48 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmoBAFtG50xKfVIukGdsb2JhbACWBYxXCBUBAQEBCQkMBxEDH6B7i3sBBY4CAQSFSw X-IronPort-AV: E=Sophos;i="4.59,228,1288566000"; d="scan'208";a="79702771" Received: from mail-ww0-f46.google.com ([74.125.82.46]) by mail4-smtp-sop.national.inria.fr with ESMTP; 20 Nov 2010 12:55:32 +0100 Received: by wwf26 with SMTP id 26so3899378wwf.3 for ; Sat, 20 Nov 2010 03:55:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:references :in-reply-to:subject:date:organization:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; bh=39WDxAMqmgcAQaEF6s/O1sUpOQlKnDOVmZTyM+LETjA=; b=D1MIv/gSjsAYbt+4hUdDhdJRhOHrDpgz7NMKTH3pPjeGujMb0YZ0h/x/WcSTIHH8pB IlYLeYKbwsfkxObcHFV27/rpcniAXKu4csvWhLtTMDvIdsWxRXPbFnIuYTQdGzUJg84G d5eiuP2sqiZnIDWuUOXtfUv7AiS6Zz4Fk+if4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:references:in-reply-to:subject:date:organization :message-id:mime-version:content-type:content-transfer-encoding :x-mailer:thread-index:content-language; b=LgEtuGBRdUaEpV1X5XOIjJtIKtS86yQB1xjPY1+DbUfBNlelJxhMIbzo7Phy6DrjkV 2VzHCqfKjHx7evBM0XCNZOTjvSTUltd75l40yRaJXjv6BafiBThe7aGbDKaXbg5yhQFF KHbFSkz8Ytrg0CrIA//X6h5/uHFkTCQYPjApA= Received: by 10.216.11.66 with SMTP id 44mr2918407wew.69.1290254132131; Sat, 20 Nov 2010 03:55:32 -0800 (PST) Received: from WinEight ([87.113.160.118]) by mx.google.com with ESMTPS id 7sm1273755wet.0.2010.11.20.03.55.29 (version=SSLv3 cipher=RC4-MD5); Sat, 20 Nov 2010 03:55:30 -0800 (PST) From: Jon Harrop To: "'Goswin von Brederlow'" Cc: References: <8762vwdx09.fsf@frosties.localnet> <4CE46063.5080703@univ-savoie.fr> <20101119.100131.1002056833324939968.Christophe.Troestler+ocaml@umons.ac.be> <87pqu1l305.fsf@frosties.localnet> In-Reply-To: <87pqu1l305.fsf@frosties.localnet> Subject: RE: [Caml-list] SMP multithreading Date: Sat, 20 Nov 2010 11:55:26 -0000 Organization: Flying Frog Consultancy Message-ID: <04be01cb88a9$d2df4810$789dd830$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcuIAqWcoQQ9RKoKQs24oVx/WoO4bQApyZNg Content-Language: en-gb X-Spam: no; 0.00; ocaml:01 parallelism:01 cheers:01 caml-list:01 restrict:02 languages:03 shared:06 function:08 memory:09 actually:10 smp:12 often:15 particularly:16 called:16 use:16 > This is actually a quick way to use multiple cores with ocaml. Find a > often called function that takes considerable time and offload it to C Or HLVM, F#, Scala, Clojure or any of the other languages that permit shared memory parallelism. C is particularly poor in this regard so I would not just restrict yourself to C... Cheers, Jon.