caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Anthony Tavener <anthony.tavener@gmail.com>
To: Ashish Agarwal <agarwal1975@gmail.com>
Cc: "Daniel Bünzli" <daniel.buenzli@erratique.ch>,
	"caml list" <caml-list@inria.fr>
Subject: Re: [Caml-list] SDL2 bindings, testers and feedback welcome
Date: Tue, 17 Dec 2013 12:45:52 -0700	[thread overview]
Message-ID: <CAN=ouMTQPL-HFZu5HML5SJh-bOik-UCgbuvSVDfL4S5VnxQkGA@mail.gmail.com> (raw)
In-Reply-To: <CAMu2m2KfPFUUPFmUTnqkTB0-EmETg0eQ+c50AzCk9ZMTie6Bow@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2392 bytes --]

On Tue, Dec 17, 2013 at 11:57 AM, Ashish Agarwal <agarwal1975@gmail.com>wrote:

> On Tue, Dec 17, 2013 at 12:47 PM, Daniel Bünzli <
> daniel.buenzli@erratique.ch> wrote:
>
>> I could have used Sdl but I don't like to take ownership of toplevel
>> names that are used in other settings.
>>
>
> Admirable, but if you're defining a library that binds to a C library, I
> think it is reasonable to take that name. We rarely have multiple OCaml
> libraries that bind to the same C library. In this case, the library name
> could be sdl or ocaml-sdl (or sdl2 or ocaml-sdl2). I usually don't like
> adding "ocaml-" to library names because it is silly; of course it is an
> ocaml library. However, when binding to a C library, it makes some sense to
> distinguish between the OCaml and original C libraries.
>
>
There are multiple sdl and opengl bindings. I think there was another
ocamlsdl aside from the current OCamlSDL, and there's sdlcaml which is
packed with glcaml. For OpenGL, there's LablGL, glMLite, and glcaml. And
these are the package names, rather than the module names. It's ripe
territory for naming clashes. :) I've taken an initial stab at my own SDL2
bindings and I've been using Sdl2 as the module name (sdlcaml uses Sdl as
it's module name), but expected that I might change that to something more
distinct if I were to share it.

This does raise a question though... should we be concerned about
module-name clashes for libraries which should be used "one or the other"?
I don't know if some build tool might find libraries by module name now or
in future -- if so, unique module names are important. If not, then I guess
using the same module name is fine, but with a distinct package name.


>> > I don't like random single letters in names, which is also a problem in
>> your Vg and Gg project names.
>>
>> It's not random ! It's short cryptic acronyms. Vector graphics, geometry
>> and graphics…
>>
>
> I misspoke. What I meant is: I don't like short cryptic acronyms. They
> appear random to me because I don't know what they mean.
>
>
Sdl, Glut, Qt, Gtk, Xml... it's only cryptic at first, and what would you
really use which is less cryptic? I can understand the desire to have a
library name which at least gives a hint of it's utility, but this isn't
possible in the general case without getting some cumbersome names!

[-- Attachment #2: Type: text/html, Size: 3826 bytes --]

  reply	other threads:[~2013-12-17 19:45 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-17  6:11 Daniel Bünzli
2013-12-17  7:02 ` Anthony Tavener
2013-12-17 14:17 ` Florent Monnier
2013-12-17 15:14   ` Daniel Bünzli
2013-12-18  6:54   ` Erkki Seppala
2013-12-18  8:05     ` Anthony Tavener
2013-12-18  9:24       ` Daniel Bünzli
2013-12-18  8:18     ` Florent Monnier
2013-12-22 10:01       ` Kakadu
2013-12-30 13:28         ` Vu Ngoc San
2013-12-17 17:05 ` Ashish Agarwal
2013-12-17 17:47   ` Daniel Bünzli
2013-12-17 18:57     ` Ashish Agarwal
2013-12-17 19:45       ` Anthony Tavener [this message]
2013-12-18 15:40         ` Ashish Agarwal
2013-12-18 18:02           ` Yotam Barnoy
2013-12-18 19:53             ` Daniel Bünzli
2013-12-18 22:29               ` Ashish Agarwal
2013-12-18 22:45                 ` Daniel Bünzli
2013-12-17 20:26       ` Daniel Bünzli
2013-12-18  1:13         ` Francois Berenger
2013-12-18  6:44           ` Erkki Seppala
2013-12-18  9:21           ` Daniel Bünzli
2013-12-19  1:11             ` Florent Monnier
2013-12-19  6:39       ` Florent Monnier
2013-12-17 19:29     ` Erkki Seppala
2013-12-19  5:20 ` Florent Monnier
2013-12-19  5:27   ` Florent Monnier
2013-12-19  7:13   ` Daniel Bünzli
2013-12-19 12:38     ` Florent Monnier
2014-02-12 10:43 ` Daniel Bünzli

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='CAN=ouMTQPL-HFZu5HML5SJh-bOik-UCgbuvSVDfL4S5VnxQkGA@mail.gmail.com' \
    --to=anthony.tavener@gmail.com \
    --cc=agarwal1975@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=daniel.buenzli@erratique.ch \
    /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;
as well as URLs for NNTP newsgroup(s).