From: Joaquin Cuenca Abela <e98cuenc@yahoo.com>
To: ocaml_beginners@yahoogroups.com, caml-list@inria.fr
Cc: pragprog@yahoogroups.com
Subject: [Caml-list] Re: "ocaml_beginners"::[] Is Caml a fraud ( especially on Windows )?
Date: Fri, 18 Oct 2002 04:44:55 -0700 (PDT) [thread overview]
Message-ID: <20021018114455.82690.qmail@web13202.mail.yahoo.com> (raw)
In-Reply-To: <3daf2a4f.865261093@smtp.interaccess.com>
--- olczyk@interaccess.com wrote:
>
> So when I hear developers saying that their language
> is the best I
> imediately begin to wonder about it's deficiencies
> are.
You will have a hard time looking for a language
developer that don't states that its language is the
best one.
Stroustup prefers C++ to any other language for most
tasks, Ritchie said that if he was only allowed to
keep one language on a desert island, it will be C,
etc.
It's not a shock to me to discover that Caml creators
prefer Caml over other languages...
> The second incident involves ocamlc and cameleon.
> Trying to get
> cameleon to compile ( more on that later ), I
> discovered that ocamlc
> called cl.exe ( MS C/C++ compiler ). The reason is
> obvious. ocamlc
> translates ocaml to c and then passes it to the
> compiler.
? From what I know, ocamlc only calls cl.exe to
compile C code. That's, if you do:
ocamlc test.c
and test.c is a C program, then it will compile it
using (surprise) a C compiler. That's all. It
compiles itself Caml code.
> This creates
> two things I have difficulties with:
>
> 1) There is from the main caml page a link to a page
> where the person
> claims to have benchmarked C vs caml and caml
> wins. I had several
>
> problems with that page, ( The main one, he
> uses goto's to
> optimise his code. The problem is that the
> optimiser in a C
> compiler has a much harder time with goto's
> present [ they are
> nonlocal branches ]. So I have to trust he does
> a better job at
> optimisation than the compiler would do. Yeah
> sure. )
performance tests are almost always crap. Specially
language related ones. To me the only important thing
is that Caml creates programs that run at an
acceptable speed, that's all.
> 2) After a bit of thought I realised something. If
> the compiler
> generates C code which gets compiled, then odds
> are that the
> debugger is a wrapper of gdb. Big problems on
Dude, you seem to have done a false assumption, and
then you're building a big chain of false deductions
(and at the same time, you're insulting Caml
developers).
The debugger is not a wrapper of gdb. And it's one of
the best debuggers that I've had the pleasure to use.
Some months ago I was doing a little project for the
university.
I first did it in perl, and then I tried to do it in
Caml (I wanted to learn a bit of Caml). The final
Caml version was half in size than the perl version,
and the debugger has a hell of help when I need it.
Specially the possibility to *go back* in the program
flow was a life-safer (why this feature does not
appears in big bold letters in the main ocaml page?).
I'm not member of a Caml fan club or something, but
when I'm learning a new language (and I try to do that
as regularly as possible), I always keep in mind two
things:
1) I'm a newbie. If something is going bad, it's
probably my fault.
2) Don't insult people that try to help.
You're welcome to dislike Caml, but don't flame
others' work in the process.
Cheers,
=====
Joaquin Cuenca Abela
e98cuenc@yahoo.com
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
-------------------
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
next prev parent reply other threads:[~2002-10-18 13:30 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-18 9:35 [Caml-list] " Thaddeus L. Olczyk
2002-10-18 10:25 ` Remi VANICAT
2002-10-18 15:42 ` Thaddeus L. Olczyk
2002-10-21 10:15 ` [Caml-list] ocamlopt / ocaml -custom and C compiler Dmitry Bely
2002-10-21 13:18 ` Xavier Leroy
2002-10-21 13:46 ` Dmitry Bely
2002-10-18 10:56 ` [Caml-list] Is Caml a fraud ( especially on Windows )? Sven Luther
2002-10-18 15:42 ` Thaddeus L. Olczyk
2002-10-18 16:25 ` Sven Luther
2002-10-18 16:54 ` Alessandro Baretta
2002-10-18 11:25 ` Maxence Guesdon
2002-10-18 11:44 ` Joaquin Cuenca Abela [this message]
2002-10-18 19:03 ` [Caml-list] Re: "ocaml_beginners"::[] " Thaddeus L. Olczyk
2002-10-19 0:08 ` Oleg
2002-10-19 3:57 ` Thaddeus L. Olczyk
2002-10-18 13:23 ` [Caml-list] " Pierre Weis
2002-10-18 15:40 ` AC
2002-10-18 19:02 ` Thaddeus L. Olczyk
2002-10-18 20:56 ` Pierre Weis
2002-10-18 16:34 ` Alessandro Baretta
2002-10-18 18:43 ` Issac Trotts
2002-10-18 20:21 ` Damien Doligez
[not found] ` <20021018132416.3f89f744.maxence.guesdon@inria.fr>
[not found] ` <3db34c45.939491921@smtp.interaccess.com>
2002-10-19 0:53 ` Maxence Guesdon
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=20021018114455.82690.qmail@web13202.mail.yahoo.com \
--to=e98cuenc@yahoo.com \
--cc=caml-list@inria.fr \
--cc=ocaml_beginners@yahoogroups.com \
--cc=pragprog@yahoogroups.com \
/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).