[erlang-questions] Timezone calculations
Fri Sep 19 03:20:59 CEST 2008
Starting from an external program connected with Erlang by the port
function looks much safer than making a linked driver.
BTW Perl CPAN has DateTime library. It works for many different
conversion requests, including the TAI issues I worked recently.
In the message <>
dated Thu, Sep 18, 2008 at 07:36:21PM -0300,
Juan Jose Comellas <> writes:
> That may work but it's really not suitable for lots of calculations. It
> might be even better to use a hardcoded set of offsets or bite the bullet
> and parse the zoneinfo files myself.
> What is the best way to create bindings to the C functions that provide this
> functionality in libc? Is it worth it to create a linked in driver for this?
> What is the simplest way to create C bindings to lightweight functions that
> have a very low risk of crashing the Erlang VM?
More information about the erlang-questions