RE: [Caml-list] Re: Is OCaml fast?

2010-11-29 Thread Jon Harrop
I assume he means one thread has one behaviour and another has the other behaviour, in which case there certainly is a problem! Cheers, Jon. -Original Message- From: caml-list-boun...@yquem.inria.fr [mailto:caml-list- boun...@yquem.inria.fr] On Behalf Of Christophe Raffalli Sent: 29

Re: [Caml-list] Re: Is OCaml fast?

2010-11-29 Thread oliver
yes. On Mon, Nov 29, 2010 at 11:25:52AM -, Jon Harrop wrote: I assume he means one thread has one behaviour and another has the other behaviour, in which case there certainly is a problem! Cheers, Jon. -Original Message- From: caml-list-boun...@yquem.inria.fr

Re: [Caml-list] OCaml GC [was Is OCaml fast?]

2010-11-29 Thread Benedikt Meurer
On Nov 29, 2010, at 00:34 , Jon Harrop wrote: I see. Yes, that sounds like a great idea. How well does Immix cope with high allocation rates of short-lived objects? Been a while since I read the Immix paper... In theory this should be handled more efficiently compared to a generational

Re: [Caml-list] Desktop GUI toolkits - current state of the art?

2010-11-29 Thread Adrien
On 28/11/2010, Adrien camarade...@gmail.com wrote: Hi, As far as I'm concerned I've started experimenting with the concept of tiling (as used by tiling window managers) and zippers of horizontal and vertical boxes. That's pretty much what xmonad (window manager written in haskell) does. The

Re: [Caml-list] Desktop GUI toolkits - current state of the art?

2010-11-29 Thread Martin DeMello
On Mon, Nov 29, 2010 at 3:50 AM, Adrien camarade...@gmail.com wrote: Something nice would probably be to share more extensions and wrappers around lablgtk. I've noticed Maxence Guesdon had made some available as stand-alone libraries but I'm not aware of others. Or maybe they're scattered

Re: [Caml-list] Re: Is OCaml fast?

2010-11-29 Thread Gerd Stolpmann
Am Sonntag, den 28.11.2010, 19:14 +0100 schrieb oli...@first.in-berlin.de: On Thu, Nov 25, 2010 at 11:50:58PM +0100, Fabrice Le Fessant wrote: [...] The main problem was that other languages have bigger standard libraries, whereas OCaml has a very small one (just what is needed to compile

Re: [Caml-list] Desktop GUI toolkits - current state of the art?

2010-11-29 Thread Martin DeMello
On Sun, Nov 28, 2010 at 1:10 PM, Yoann Padioleau pada...@wanadoo.fr wrote: http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-packing-tables-demo http://plus.kaist.ac.kr/~shoh/ocaml/lablgtk2/lablgtk2-tutorial/x509.html I honestly don't see any difference. Where do you see nice syntactic

Threading and SharedMem (Re: [Caml-list] Re: Is OCaml fast?)

2010-11-29 Thread Oliver Bandel
Zitat von Gerd Stolpmann i...@gerd-stolpmann.de: Am Sonntag, den 28.11.2010, 19:14 +0100 schrieb oli...@first.in-berlin.de: On Thu, Nov 25, 2010 at 11:50:58PM +0100, Fabrice Le Fessant wrote: [...] The main problem was that other languages have bigger standard libraries, whereas OCaml has a

Re: Threading and SharedMem (Re: [Caml-list] Re: Is OCaml fast?)

2010-11-29 Thread Gerd Stolpmann
Am Montag, den 29.11.2010, 17:12 +0100 schrieb Oliver Bandel: Zitat von Gerd Stolpmann i...@gerd-stolpmann.de: Am Sonntag, den 28.11.2010, 19:14 +0100 schrieb oli...@first.in-berlin.de: On Thu, Nov 25, 2010 at 11:50:58PM +0100, Fabrice Le Fessant wrote: [...] The main problem was

Re: Threading and SharedMem (Re: [Caml-list] Re: Is OCaml fast?)

2010-11-29 Thread Oliver Bandel
Zitat von Gerd Stolpmann i...@gerd-stolpmann.de: Am Montag, den 29.11.2010, 17:12 +0100 schrieb Oliver Bandel: Zitat von Gerd Stolpmann i...@gerd-stolpmann.de: Am Sonntag, den 28.11.2010, 19:14 +0100 schrieb oli...@first.in-berlin.de: On Thu, Nov 25, 2010 at 11:50:58PM +0100, Fabrice Le

Re: [Caml-list] Desktop GUI toolkits - current state of the art?

2010-11-29 Thread Hezekiah M. Carty
On Sun, Nov 28, 2010 at 3:28 AM, bluestorm bluestorm.d...@gmail.com wrote: There was also a project by Chris King to develop a GUI based on lablgtk in a Functional Reactive Programming style. http://lambda-the-ultimate.org/node/1918 Chris King's project was a major influence in the syntax I

Re: [Caml-list] Re: oasis

2010-11-29 Thread Anastasia Gornostaeva
On Sun, Nov 28, 2010 at 05:17:35PM +, Sylvain Le Gall wrote: My current state about this solution is: - defines BuildDepends: freetype2 (pkg-config), to make clear that there is a C build-depends - allow to override the defined variable freetype2_cflags and freetype2_libs. If they

Re: [Caml-list] Re: oasis

2010-11-29 Thread Sylvain Le Gall
Hello, On Mon, Nov 29, 2010 at 10:46:22PM +0300, Anastasia Gornostaeva wrote: On Sun, Nov 28, 2010 at 05:17:35PM +, Sylvain Le Gall wrote: My current state about this solution is: - defines BuildDepends: freetype2 (pkg-config), to make clear that there is a C build-depends -

Re: [Caml-list] OCaml GC [was Is OCaml fast?]

2010-11-29 Thread Török Edwin
On Sun, 28 Nov 2010 15:29:08 +0100 Benedikt Meurer benedikt.meu...@googlemail.com wrote: Speaking of the OCaml GC in general, wouldn't it make sense to replace the current generational collector with a collector framework that requires less copying in the common case. Even without changing

Re: [Caml-list] lablgtk pango_parse_markup

2010-11-29 Thread Jacques Garrigue
This is directly supported by the label widget: let w = GWindow.window () let l = GMisc.label ~packing:w#add () let () = l#set_text span foreground=\red\Hello/span; l#set_use_markup true; w#show (); GMain.main () This is even shorter as optional argument: let l = GMisc.label