Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Erik de Castro Lopo <mle+ocaml@mega-nerd.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] - Convert Caml to C/C++, C#, PHP, etc -
Date: Fri, 3 Oct 2008 14:18:11 +1000	[thread overview]
Message-ID: <20081003141811.0cc9fb49.mle+ocaml@mega-nerd.com> (raw)
In-Reply-To: <19791755.post@talk.nabble.com>

axllaruse wrote:

> I'm searching for some tool that would help me to convert open source caml
> (.ml) files to C/C++, C#, VBScript, ASP, and/or PHP.

Sorry, such a tool doesn't exist. It is probably possible to hire
a person to do the conversion.

> The main reason for searching a tool that could help me to convert these .ml
> files is the following:
> 
> 1- I don't have the time to learn another new language.

Why is that? Lazy?

The languages you mention are all imperative which means that
conceptually they are all basically the same (the differences
are mostly syntax).

Ocaml on the other hand is a functional programming language
with imperative and object oriented features. Ocaml is far 
more different to all of the languages you mention that any
two of that group.

Learning Ocaml (or similar languages like Haskell) will teach more
about programmoing that you will ever learn from learning Java
(another imperative programming language).

> 2- I'm already doing programming in some many languages, that it gets
> annoying. Just think about it.

I use C, C++, Python and Ocaml regularly and a number of other
languages irregularly. I don't see this as a problem.

> 3- I don't have problem to learn Caml if in the future I find a company that
> required me.

Jane St Capital has been on the lookout for Ocaml programmers.

Companies like Microsoft and Intel employ some too. There are
also numerous smaller companies using Ocaml. I work for a small
tech startup and about 50% of the code I write for work is in
Ocaml.

> Mind while, I would like to spend my time learning how to do
> better algorithms that learning thousand of new languages.

Ocaml is not about better algorithms its about different
ways of thinking about programming.

> Please let me know where I can find a program or opensource program that
> could do this task. =)

Which particular piece of ocaml code is it that you want to
convert?

Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"life is too long to know C++ well" -- Erik Naggum


  reply	other threads:[~2008-10-03  4:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-03  4:03 axllaruse
2008-10-03  4:18 ` Erik de Castro Lopo [this message]
2008-10-03  5:33   ` axllaruse
2008-10-03  5:39     ` Erik de Castro Lopo
2008-10-03  8:06       ` Sylvain Le Gall
2008-10-03  9:56       ` [Caml-list] " Roberto Bagnara
2008-10-09 21:47       ` Kuba Ober
2008-10-09 21:57         ` Erik de Castro Lopo
2008-10-10  4:26           ` Jon Harrop
2008-10-10  3:30             ` Erik de Castro Lopo
2008-10-10  4:55               ` Jon Harrop
2008-10-10 14:25                 ` Mauricio Fernandez
2008-10-10 12:37           ` Kuba Ober
2008-10-10 13:38             ` Basile STARYNKEVITCH
2008-10-03 16:57     ` David Teller
2008-11-17 14:30     ` Nicolas Cannasse
2008-10-03  9:50 ` Erkki Seppala

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=20081003141811.0cc9fb49.mle+ocaml@mega-nerd.com \
    --to=mle+ocaml@mega-nerd.com \
    --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