caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Siegfried Gonzi <siegfried.gonzi@stud.uni-graz.at>
Cc: caml-list@inria.fr
Subject: [Caml-list] Am I mad?: OCaml for scientific scripting
Date: Mon, 02 Jun 2003 14:19:42 +0200	[thread overview]
Message-ID: <3EDB40DE.9020002@stud.uni-graz.at> (raw)
In-Reply-To: <3EDB3EFA.7000606@wanadoo.nl>

How many of you guys are using OCaml for scripting? I mean I am faced 
now with the following problem: I have a Fortran program which relies 
more or less on input files and produces output files. This is good news 
because there is no need to write foreign function interfaces; all what 
is needed is to use a system command in order to start the program.

This sounds easy, but my brain is screaming whether I should really use 
OCaml for the task: scripting. It is by no means  a killer application 
but I am playing with the thought to make it available to a specialized 
community, eventually. So, it is science and I can use my tools what I 
think are best for the job, but believe it or not I am unsure:

a) Bigloo
b) Python
c) OCaml
[d) Clean but someone should immediately shot me for this stupid idea: 
Clean is dead, dead, dead, dead, dead and you will not get any help]

I wouldn't hesitate to use Python. I wouldn't hesitate to use Bigloo 
(Scheme), but I am really not that sure whether it would be fair to use 
Ocaml for that task. Why? May I really expect from a colleague that he 
settles on OCaml? Okay, nobody will ever ask  whether they are ready to 
settle on C++ and you may not forget: C++ is a huge language.  All the 
newer projects in science are more or less exclusively done in C++ (see 
for example ROOT in Cern). But is it legal to say he should also become 
interested in OCaml if he wants to use my software?

I estimate the learning curve for Ocaml as big as C++.

I am now a bit irritated about myself, because I have always thought the 
C++, Java,...imperative, and devil knows  bigots are ignorant and we 
know the stories from the managers who do not recognise the good 
software practise: functional programming (which in reality cannot show 
its cutting edge, because there is no such a thing).

I am not into mainstream and do not have problems to use my tools. For 
example I use Linux and do not even have access at my working place at 
the university to Windows.  But why is it that hard for me to use Ocaml? 
Look I had the chance to.
Others complain all day long that they are forced to use C++ and would 
feel like in heaven if they could use OCaml/Haskell/....

S. Gonzi

>
>
>



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2003-06-02 13:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-28 19:45 [Caml-list] Question about register_global_root Mary F. Fernandez
2003-05-28 19:51 ` Alexander V. Voinov
2003-05-28 20:33 ` Maas-Maarten Zeeman
2003-05-29  1:31   ` Jerome Simeon
2003-06-01  7:24   ` Chris Hecker
2003-06-01 10:50     ` Maas-Maarten Zeeman
2003-06-01 11:10       ` Chris Hecker
2003-06-01 19:53       ` Damien Doligez
2003-06-02 11:37         ` Jerome Simeon
2003-06-02 12:11           ` Maas-Maarten Zeeman
2003-06-02 12:19             ` Siegfried Gonzi [this message]
2003-06-02 12:21             ` [Caml-list] Am I mad?: OCaml for scientific scripting Siegfried Gonzi
2003-06-02 16:21         ` [Caml-list] Question about register_global_root Harry Chomsky
2003-06-02 20:02           ` Maas-Maarten Zeeman
2003-06-03  0:05             ` Chris Hecker
2003-06-01 19:19 ` Florian Douetteau

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=3EDB40DE.9020002@stud.uni-graz.at \
    --to=siegfried.gonzi@stud.uni-graz.at \
    --cc=caml-list@inria.fr \
    /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).