From: james woodyatt <jhw@wetware.com>
To: The Trade <caml-list@inria.fr>
Subject: Re: [Caml-list] VxWorks? mailing list?
Date: Sun, 30 Mar 2003 12:27:26 -0800 [thread overview]
Message-ID: <05455F12-62EE-11D7-8E0A-000393BA7EBA@wetware.com> (raw)
In-Reply-To: <20030330122643.D22539@pauillac.inria.fr>
On Sunday, Mar 30, 2003, at 02:26 US/Pacific, Xavier Leroy wrote:
> [Someone else asked]
>> Has anyone heard of running OCaml programs under the VxWorks real-time
>> OS from WindRiver? People who build actual products are asking me if
>> my OCaml code can run under VxWorks and I'd appreciate hearing about
>> any experiences others have had with either compiling the byte-code
>> interpreter or getting native code to work for any of the VxWorks
>> targets. Wouldn't it be nice if we could point to OCaml code in
>> everyday office products?
>
> I have no experience with VxWorks, but from their Web site it appears
> to be POSIX-compliant. If so, chances are very high that the bytecode
> interpreter will compile and work right out of the box. For the
> native-code compiler, the porting effort can range from the trivial
> (e.g. one of the supported configurations just happens to work) to the
> fairly hard (e.g. a new code generator has to be written). It's not
> possible to say without more details on the target platform and
> environment.
I have experience with VxWorks. Its "POSIX compliance" is narrow.
Code is generally cross-compiled and deployment is much more like
loading a module into a dynamic kernel rather than launching a POSIX
process.
I would expect that some non-trivial labor would be involved in porting
the build process for the byte-code interpreter to make it live with
the VxWorks cross-development tools in $WIND_BASE/host/$arch/bin. Then
there would likely be a collection of issues revolving around symbol
conflicts, i.e. things defined in the byte-code interpreter that are
provided by VxWorks-- or by whatever other Wind River platform packages
you're using. There would finally be issues associated with making the
VxWorks IPC mechanisms available to OCaml programs.
The native-code compiler could also be a major additional headache if
the CPU of your target is something weird, like say an ARM processor.
I like OCaml, but I suspect that Lua might be a better choice for
bringing functional programming to the embedded application world. It
would probably be a lot easier to get Lua up and running under VxWorks.
--
j h woodyatt <jhw@wetware.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:[~2003-03-30 20:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-28 1:46 Wheeler Ruml
2003-03-30 10:26 ` Xavier Leroy
2003-03-30 18:13 ` David Brown
2003-03-30 20:27 ` james woodyatt [this message]
2003-04-02 18:15 ` [Caml-list] " Wheeler Ruml
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=05455F12-62EE-11D7-8E0A-000393BA7EBA@wetware.com \
--to=jhw@wetware.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