caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] [ANN] Ocamlnet-3.5
@ 2012-02-22 23:04 Gerd Stolpmann
  2012-02-29 18:24 ` [Caml-list] [ANN] OCamlnet-3.5.1 Gerd Stolpmann
  0 siblings, 1 reply; 2+ messages in thread
From: Gerd Stolpmann @ 2012-02-22 23:04 UTC (permalink / raw)
  To: caml-list; +Cc: ocamlnet-devel

Hi,

it is time for another version of Ocamlnet. The new release 3.5 focuses on
the system interface, and includes a long list of smaller improvements.

The system interface, Netsys_posix, is extended by:
 - Support for POSIX clocks and POSIX timers (with nanosecond resolution)
 - Netsys_posix.spawn usses now the posix_spawn call if present on the OS
 - Adding support for pollable events (as e.g. provided by Linux via
   eventfd). For other OS an emulation is available.
 - Support for epoll on Linux

Note that Netsys_posix covers now large parts of POSIX realtime.

Other improvements:

 - The code generator for XDR has been improved. A new switch -direct for
   ocamlrpcgen can be used to generate direct mappings between OCaml values
   and binary representation (in many cases). Speedups up to 50% are
   possible for large XDR values.
 - The new module Uq_mt allows it to access an event-driven resource from
   several kernel threads (e.g. use an RPC client commonly from several
   threads).
 - The thread-safety of Netplex container functions has been improved.
 - Netmulticore condition variables can now be polled, for better
   integration into event-based programs.
 - Option greedy_accepts for Netplex to support servers that accept
   many connections per second. With this improvement, Netplex can
   now accept more than 5000 connections/s, and assign them to worker
   processes.

Last but not least there is now a new tutorial for Equeue (event systems
and engines). In particular, the section about combining Ocamlnet with Lwt
might be interesting.

For the full list of changes (especially bug fixes), see:

https://godirepo.camlcity.org/svn/lib-ocamlnet2/trunk/code/ChangeLog

The download, manual, and other resources:

http://projects.camlcity.org/projects/ocamlnet.html

GODI has been updated.

Gerd
-- 
Gerd Stolpmann, Darmstadt, Germany    gerd@gerd-stolpmann.de
Creator of GODI and camlcity.org.
Contact details:        http://www.camlcity.org/contact.html
Company homepage:       http://www.gerd-stolpmann.de
*** Searching for new projects! Need consulting for system
*** programming in Ocaml? Gerd Stolpmann can help you.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Caml-list] [ANN] OCamlnet-3.5.1
  2012-02-22 23:04 [Caml-list] [ANN] Ocamlnet-3.5 Gerd Stolpmann
@ 2012-02-29 18:24 ` Gerd Stolpmann
  0 siblings, 0 replies; 2+ messages in thread
From: Gerd Stolpmann @ 2012-02-29 18:24 UTC (permalink / raw)
  To: ocamlnet-devel; +Cc: caml-list

There is a patch release available, 3.5.1, fixing a few errors, mostly
build-related:

- Missing symbols on FreeBSD-9
- Missing symbols on Debian Wheezy (probably because of stricter 
  linking)
- posix_spawn is disabled on Mac (for the time being until the problem
  can be further tracked down)
- Mac OS does not like fchmod on shared memory

Gerd


Am Donnerstag, den 23.02.2012, 00:04 +0100 schrieb Gerd Stolpmann:
> Hi,
> 
> it is time for another version of Ocamlnet. The new release 3.5 focuses on
> the system interface, and includes a long list of smaller improvements.
> 
> The system interface, Netsys_posix, is extended by:
>  - Support for POSIX clocks and POSIX timers (with nanosecond resolution)
>  - Netsys_posix.spawn usses now the posix_spawn call if present on the OS
>  - Adding support for pollable events (as e.g. provided by Linux via
>    eventfd). For other OS an emulation is available.
>  - Support for epoll on Linux
> 
> Note that Netsys_posix covers now large parts of POSIX realtime.
> 
> Other improvements:
> 
>  - The code generator for XDR has been improved. A new switch -direct for
>    ocamlrpcgen can be used to generate direct mappings between OCaml values
>    and binary representation (in many cases). Speedups up to 50% are
>    possible for large XDR values.
>  - The new module Uq_mt allows it to access an event-driven resource from
>    several kernel threads (e.g. use an RPC client commonly from several
>    threads).
>  - The thread-safety of Netplex container functions has been improved.
>  - Netmulticore condition variables can now be polled, for better
>    integration into event-based programs.
>  - Option greedy_accepts for Netplex to support servers that accept
>    many connections per second. With this improvement, Netplex can
>    now accept more than 5000 connections/s, and assign them to worker
>    processes.
> 
> Last but not least there is now a new tutorial for Equeue (event systems
> and engines). In particular, the section about combining Ocamlnet with Lwt
> might be interesting.
> 
> For the full list of changes (especially bug fixes), see:
> 
> https://godirepo.camlcity.org/svn/lib-ocamlnet2/trunk/code/ChangeLog
> 
> The download, manual, and other resources:
> 
> http://projects.camlcity.org/projects/ocamlnet.html
> 
> GODI has been updated.
> 
> Gerd

-- 
------------------------------------------------------------
Gerd Stolpmann, Darmstadt, Germany    gerd@gerd-stolpmann.de
Creator of GODI and camlcity.org.
Contact details:        http://www.camlcity.org/contact.html
Company homepage:       http://www.gerd-stolpmann.de
*** Searching for new projects! Need consulting for system
*** programming in Ocaml? Gerd Stolpmann can help you.
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-29 18:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-22 23:04 [Caml-list] [ANN] Ocamlnet-3.5 Gerd Stolpmann
2012-02-29 18:24 ` [Caml-list] [ANN] OCamlnet-3.5.1 Gerd Stolpmann

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).