| Newsgroups |
gmane.comp.lang.ocaml.beginners |
| Message-ID |
<[email protected]> |
On 12.05.2015 06:15, Prasad Kursundikar [email protected] [ocaml_beginners]
wrote:
> Thanks all for the info. I work in a project related to Email Archiving and
> indexing product. This product reads the mail from client's Microsoft Exchange
> server and pushes them Apache James(Java Mail server) instances . Metadata
> information is later added to every mail and then using Apache Lucene, we index the
> Email.Client then searches the mail based on his policies.
> Part of product is in C++(front end programs reading Exchange) and later part is in
> Java.
> I was thinking if any functional language like Ocaml could fit somewhere. The
> reason is code is pretty old and quite vast. The amount of time it takes to add new
> feature is quite high.
>
Interesting. Data migration, or rather synchronization?
Anyway, you can build unmaintainable systems in any language, almost inevitably so
when the system outgrows it's initial purpose.
For system/OS environment you could take F# on windows, OCaml on *nix, but there is
no equivalent on the Java VM.
I see the strong points of OCaml in the type system with type inference (most often
you will not write down the data type), compile time type checking, the basic
language structure according to lambda calculus, and good run time properties.
Interestingly the O (object) part in OCaml is used very little by ocaml package
writers, favoring the module system. Maybe paradigm mismatch?
/Str.