caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Mlfuse 1.0
@ 2002-07-23 15:16 Nadji
  0 siblings, 0 replies; only message in thread
From: Nadji @ 2002-07-23 15:16 UTC (permalink / raw)
  To: caml-list

Hi all,

I am pleased to announce that a binding for Fuse 
is now available. From mlfuse/Readme's overview :

Mlfuse is a binding for the Fuse (File System in User Space)
library. The purpose is to be able to mount your own filesystem
in a directory just like when using the "mount" utility.
The system calls for reading, writing, creating files etc ...
are then redirected to your own routines. With Mlfuse your
routines are functions created in Ocaml. Check the examples
to get a more precise idea.
This enables to create nice stuff like infinite files, 
transparent access to compressed files, filesystem-like
access to data for compatibility with other tools etc ...
I think it demonstrates quite well the ability to write
low-level kernel stuff in an efficient high-level languages.
I think Ocaml's typing discipline makes a _far_ better
documentation and permits a _lot_ more control of what can
be or should be done with functions (see differences between
fuse.h and fuse.mli to see what I mean ... and I'm not a guru).
I also made benchmarks and I get a throughput of 80Mo/s (with
all assertions, bounds checking and threads ...) with
this library, while today's disks have a throughput of around 5Mo/s.
So speed is not much of a concern, and Ocaml brings safety on top
of this, which is the best one could hope.

You can download Mlfuse at a friend's : 
http://www-connex.lip6.fr/~binsztok/files.php
Mail me at nadji@noos.fr if you have problems.

PS : 
I have tried to be compatible with Ocaml's Unix library data structures
but there are nearly no functions available from C that can transform an 
ocaml value of a Unix type from the C unix corresponding type. This makes 
low-level bindings somewhat specific to an Ocaml version, which is a shame 
... even if I doubt that the Unix layer is rapidly evolving :)
If someone is interested, I have implemented separately those that I lacked
in the files mlfuse/lib/unix_ml2c*
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-23 15:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-23 15:16 [Caml-list] Mlfuse 1.0 Nadji

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).