Browse thread
Estimating the size of the ocaml community
-
Yaron Minsky
-
Christopher A. Watford
-
Frédéric_Gava
-
skaller
-
Erik de Castro Lopo
- Olivier_Pérès
-
Thomas Fischbacher
-
Frédéric_Gava
-
Thomas Fischbacher
- Paul Snively
- josh
- Richard Jones
-
Jon Harrop
-
Michael Walter
-
Jon Harrop
- Damien Doligez
- Thomas Fischbacher
- Michael Walter
-
Radu Grigore
- Gerd Stolpmann
- Jon
-
Jon Harrop
- Thomas Fischbacher
- Richard Jones
-
Michael Walter
- Ville-Pertti Keinonen
- Oliver Bandel
- Basile STARYNKEVITCH
-
Thomas Fischbacher
- ronniec95@l...
- skaller
- chris.danx
-
Frédéric_Gava
-
Erik de Castro Lopo
- sejourne_kevin
- Stefano Zacchiroli
-
skaller
-
Frédéric_Gava
- Kenneth Knowles
- Michael Jeffrey Tucker
- Richard Jones
- Nicolas Cannasse
- Evan Martin
- Eric Stokes
- chris.danx
- Sylvain LE GALL
- sejourne_kevin
- Sven Luther
- Johann Spies
-
Christopher A. Watford
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-02-04 (12:15) |
From: | Olivier Andrieu <andrieu@i...> |
Subject: | Re: [Caml-list] Estimating the size of the ocaml community |
> Frédéric Gava [Fri, 4 Feb 2005]: > > AFAIK Marshal.{to,from}_channel isn't limited by the maximum > > string length. > >... > > Olivier > > OK. Right but you can not all the time used channels... For TCP/IP, > that is possible, but for low level libraries (as MPI, PVM, PUB > etc...) you need strings and you are blocked by this limitation > (except if you read the values from a file but in this case it is > not a fast solution). If you're interfacing with a C library you have yet another option : serialize to a malloc block. That's what these low level libraries should use. ,----[ intext.h ] | CAMLextern void caml_output_value_to_malloc(value v, value flags, | /*out*/ char ** buf, | /*out*/ long * len); | CAMLextern value caml_input_value_from_malloc(char * data, long ofs); `---- -- Olivier