caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Kristopher Micinski <krismicinski@gmail.com>
To: Ivan Gotovchits <ivg@ieee.org>
Cc: jon@ffconsultancy.com, Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] OCaml on Android
Date: Thu, 19 Sep 2013 00:35:09 -0400	[thread overview]
Message-ID: <CAF1Sy-EJXAHq=J8GVT_O7sz2CZMegXwU8VsSiBhFFdb4W6tLXA@mail.gmail.com> (raw)
In-Reply-To: <87bo3pqy9o.fsf@golf.niidar.ru>

[-- Attachment #1: Type: text/plain, Size: 1294 bytes --]

With a little bit of hacking it'd probably work, but I'm not sure of the
status of ocaml-java and haven't looked into the implementation details.
 Since ocaml-java outputs class files (afaik) you'd have to sort of hack
the android build pipeline yourself, but that wouldn't be the hard part:
all the tools are there.  The harder part is that the Android SDK is very
Java oriented, and it just feels awkward as hell to use in OCaml even if
you were to write a thin wrapper around the SDK.

Kris



On Wed, Sep 18, 2013 at 11:35 PM, Ivan Gotovchits <ivg@ieee.org> wrote:

> Kristopher Micinski <krismicinski@gmail.com> writes:
>
> > The basic problem with running OCaml on Android is that pretty much
> > everything (minus a few system services / daemons, for example) runs
> > inside a Dalvik VM.  Everything that is a "real app" thus uses the
> > facilities of the SDK to interact with the underlying
> > system.  (Various services such as internet can be opened via a raw
> > socket, and are protected via lower level system modifications.)
>
> And what about OCaml-Java [1]. Will it be possible to use it with
> dalvik?
>
> [1] http://ocamljava.x9c.fr/preview/
>
> --
>          (__)
>          (oo)
>    /------\/
>   / |    ||
>  *  /\---/\
>     ~~   ~~
> ...."Have you mooed today?"...
>

[-- Attachment #2: Type: text/html, Size: 1946 bytes --]

  reply	other threads:[~2013-09-19  4:35 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-17 20:37 Jon Harrop
2013-09-18 10:02 ` Anil Madhavapeddy
2013-09-18 10:06   ` Paolo Donadeo
2013-09-18 10:06 ` Thomas Sibut-Pinote
2013-09-19  3:13 ` Kristopher Micinski
2013-09-19  3:35   ` Ivan Gotovchits
2013-09-19  4:35     ` Kristopher Micinski [this message]
2013-09-19  6:19       ` forum
2013-09-19 15:18         ` Kristopher Micinski
2013-09-19 16:53           ` Alexandre Pilkiewicz
2013-09-19 20:57             ` Kristopher Micinski
2013-09-19 23:14               ` Jon Harrop
2013-09-20  6:20           ` forum
2013-09-19 12:46 ` Richard Mortier
2013-09-20  6:17   ` forum
  -- strict thread matches above, loose matches on Subject: below --
2012-01-13  6:05 Mihamina Rakotomandimby
2012-01-16  7:39 ` Andrej Bauer
2012-01-16  8:59 ` Kakadu

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='CAF1Sy-EJXAHq=J8GVT_O7sz2CZMegXwU8VsSiBhFFdb4W6tLXA@mail.gmail.com' \
    --to=krismicinski@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=ivg@ieee.org \
    --cc=jon@ffconsultancy.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).