caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Kristopher Micinski <krismicinski@gmail.com>
To: jon@ffconsultancy.com
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] OCaml on Android
Date: Wed, 18 Sep 2013 23:13:59 -0400	[thread overview]
Message-ID: <CAF1Sy-EqZ7-z9V=LyssUVuSgMA7XQjvROLp9Rcgso0WOWHo2Ww@mail.gmail.com> (raw)
In-Reply-To: <036501ceb3e5$bcd7b920$36872b60$@ffconsultancy.com>

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

I have a large amount of Android experience.

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.)

So while it's possible to write pieces of apps in OCaml, I don't think
anyone's taken the time to generate wrappers around the Android SDK.  I was
very skeptical that this could be done efficiently since you'd be jumping
through JNI back and forth to bytecode / native code a lot, but I've talked
to someone on the Haskell-cafe mailing list (I'll try to dig up the email)
of someone who's said the penalty isn't as high as you'd think.

Kris



On Tue, Sep 17, 2013 at 4:37 PM, Jon Harrop <jon@ffconsultancy.com> wrote:

> ** **
>
> What is the status of OCaml on Android? Have any Android apps been written
> in OCaml?****
>
> ** **
>
> -- ****
>
> Dr Jon Harrop, Flying Frog Consultancy Ltd.****
>
> http://www.ffconsultancy.com****
>

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

  parent reply	other threads:[~2013-09-19  3:14 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 [this message]
2013-09-19  3:35   ` Ivan Gotovchits
2013-09-19  4:35     ` Kristopher Micinski
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-EqZ7-z9V=LyssUVuSgMA7XQjvROLp9Rcgso0WOWHo2Ww@mail.gmail.com' \
    --to=krismicinski@gmail.com \
    --cc=caml-list@inria.fr \
    --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).