[tz] What are the interfaces to the TZDB?

Brian Park brian at xparks.net
Tue Nov 9 23:07:32 UTC 2021


(Replying back to the list with permission)

On Tue, Nov 9, 2021 at 11:45 AM Eliot Lear <lear at lear.ch> wrote:

> On 09.11.21 20:38, Brian Park wrote:
>
> Is the TZDB project intended to support only POSIX systems?
>
> It's a fair question.  Before we say, “no”, I would like to understand
> what sort systems use the database that themselves are *NOT* POSIX
> compliant.  But also, as Paul pointed out, the binary format itself is
> standardized at the IETF, the sponsor of this shindig.
>
> We could go up the stack, but before we do so, we should be clear on our
> reasons as to why we are doing so.  And so when you say:
>
> My downstream usage does not have a file system, or even an operating
> system. For me, the API into the TZDB project are the raw files, but I
> understand that my usage is unusual.
>
> Would you mind being a bit more specific?  Are you printing a book?  ;-)
>
Not that primitive... My libraries run on bare-metal, embedded
microcontrollers, with no operating system. My first version is in C++,
supporting all Zones and Links in about 36kB of flash (8-bit controllers)
to 44kB of flash (32-bit controllers), without using 64-bit integers. I
have another version in Python that I hope to convert to MicroPython soon.
I'm hoping to write another version in Go lang, which will be converted
into TinyGo.

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mm.icann.org/pipermail/tz/attachments/20211109/99c5ee0f/attachment.html>


More information about the tz mailing list