Browse thread
Shared run-time DLLs for commerce
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Alain Frisch <alain@f...> |
| Subject: | Re: [Caml-list] Shared run-time DLLs for commerce |
Jon Harrop wrote: > We're currently distributing .cma files but the main problem is that they're > far too brittle Ok, your concerns are not really about being able to distribute shared libraries, but rather being able to distribute binary libraries that don't depend on precise version of other dependent libraries and of OCaml. I don't think you'll get them any time soon. Suggestions: 1. Distribute the source code, even without an open source license. I cannot imagine this would reduce your sales, but you know better. 2. Distribute a fully packaged OCaml distribution that includes all the dependent libraries (your users will be free to add third party libs as well). 3. Obfuscate the parts of the source code you want to keep secret. Camlp4 might help here. 4. Distribute a static binary that plays the role of a server that encapsulates all your precious trade secrets + a client library distributed in source code. > Ah, I hadn't noticed these .cmxs files. They look good but I assume they are > also brittle? Yes, indeed. -- Alain