From: Francois BERENGER <berenger@bioreg.kyushu-u.ac.jp>
To: caml-list@inria.fr
Subject: [Caml-list] Why is there no Marshal.(from_fd|to_fd)
Date: Tue, 13 Jun 2017 18:01:19 +0900 [thread overview]
Message-ID: <cfbc28da-5925-ca4e-ebb2-41f59810b63e@bioreg.kyushu-u.ac.jp> (raw)
In-Reply-To: <ccbc859d-b8e8-4d0c-ac62-62417366321b@bioreg.kyushu-u.ac.jp>
Hello,
Sorry for the maybe stupid question.
I mean fd has type Unix.file_descr.
I am just wondering why marshaling has to always go through an in or
out_channel.
Is it just so that there is not dependency between the Marshal and the
Unix module?
I am worried about the data copying that might happen because
of the channel interposed between me and my file.
Regards,
F.
next prev parent reply other threads:[~2017-06-13 9:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-13 6:16 [Caml-list] ocamldoc doesn't show up for the Unix module in ocp-browser Francois BERENGER
2017-06-13 9:01 ` Francois BERENGER [this message]
2017-06-13 9:22 ` [Caml-list] Why is there no Marshal.(from_fd|to_fd) Ivan Gotovchits
2017-06-14 11:32 ` [Caml-list] ocamldoc doesn't show up for the Unix module in ocp-browser louis.gesbert
2017-06-14 13:13 ` Daniel Bünzli
2017-06-14 23:47 ` Francois BERENGER
2017-06-15 15:15 ` Louis Gesbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cfbc28da-5925-ca4e-ebb2-41f59810b63e@bioreg.kyushu-u.ac.jp \
--to=berenger@bioreg.kyushu-u.ac.jp \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox