From: Travis <travis.brady@gmail.com>
To: Keiko Nakata <keikonkt@gmail.com>
Cc: Andreas Rossberg <rossberg@mpi-sws.org>, O Caml <caml-list@inria.fr>
Subject: Re: [Caml-list] unsigned 64-bit integers
Date: Mon, 28 Sep 2015 08:44:59 -0500 [thread overview]
Message-ID: <CABHK4nVn1SrmjK8bi1g88OxwAZOTnjTRyydYqmZxJ_uSQK=Q5w@mail.gmail.com> (raw)
In-Reply-To: <CALVfURzJW0s2=FGObf9-62oMZ8x12f=yWR0bpJbO6Grzc-yJLw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 941 bytes --]
It may also be worth having a look at this library
https://github.com/andrenth/ocaml-uint
On Mon, Sep 28, 2015 at 2:40 AM, Keiko Nakata <keikonkt@gmail.com> wrote:
> On Andreas Rossberg <rossberg@mpi-sws.org> wrote:
>
>> On Keiko Nakata <keikonkt@gmail.com> wrote:
>> > Why do you not make your unsigned int64 an abstract type (to make sure
>> singed and unsigned int64 won't be mixed up)?
>>
>> Well, because that wouldn’t match the design being implemented there. For
>> an assembly-like language, you don’t want to factor that way. For other
>> purposes a separate ADT would make a lot of sense, of course. In any case,
>> I was only pointing to this for the implementation of individual operators,
>> not necessarily for the module as a whole.
>>
>
> Sure, I was just curious.
>
> I'll play around with your library. I am porting some low level C++ code
> to OCaml. Thanks!
>
>
> Best regards,
> Keiko
>
[-- Attachment #2: Type: text/html, Size: 1709 bytes --]
prev parent reply other threads:[~2015-09-28 13:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-28 6:18 Keiko Nakata
2015-09-28 6:28 ` Andreas Rossberg
[not found] ` <CALVfURzG+osS8LofguLi5F+wtjzAAarQukXxKpyFJuvK8Abutg@mail.gmail.com>
2015-09-28 6:47 ` Keiko Nakata
2015-09-28 7:12 ` Andreas Rossberg
2015-09-28 7:40 ` Keiko Nakata
2015-09-28 13:44 ` Travis [this message]
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='CABHK4nVn1SrmjK8bi1g88OxwAZOTnjTRyydYqmZxJ_uSQK=Q5w@mail.gmail.com' \
--to=travis.brady@gmail.com \
--cc=caml-list@inria.fr \
--cc=keikonkt@gmail.com \
--cc=rossberg@mpi-sws.org \
/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