[racket] compiling Racket to android and ios apps

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Mon Feb 23 21:20:00 EST 2015

On Mon, Feb 23, 2015 at 8:10 PM, Eric Dong <yd2dong at uwaterloo.ca> wrote:
> Of course. But it's similar to having C++ programmers write in C. Having C
> support for a device is not having "partial C++ support", and similarly I
> think that having a R5RS-like system supported on Android/iOS is not having
> "partial Racket support".
> That being said, I'm actually quite curious why there is not a publicly
> usable index of Racket forms after all the macro expansion is done.


> I'm
> pretty sure this "core Racket" would be relatively easy to translate into
> R5RS etc? So we could have a system that supports R5RS or similar, and then
> have Racket's fully-expanded form run on the system? Such a system will not
> run .rkt files, but some compiled form, but perhaps it can be made fully
> compatible with full Racket? How large is the language of core Racket forms
> (supposing that trivial things like hashtables are implemented in a Racket
> library rather than in C)

Hash-tables are implemented in C and not in Racket. The set of such
"primitives" is very large (like over 1200).

A big problem with iOS/Android is building useful bindings to the
native interfaces so that you could have natural looking programs and
that still "felt like" Racket on the programming side.


> On Mon, Feb 23, 2015 at 12:04 AM, Neil Van Dyke <neil at neilvandyke.org>
> wrote:
>> I'm sure that defining "idiomatic" Racket would be a lively discussion,
>> but, for purposes of the original discussion, I'll just weaken my original
>> assertion:
>> * A good Racket programmer can, acting selflessly, without regard to
>> his/her personal comfort, draw upon some of his/her Racket experience to
>> help get up to speed in R5RS quickly.
>> Neil V.
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users

Jay McCarthy

           "Wherefore, be not weary in well-doing,
      for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
                          - D&C 64:33

Posted on the users mailing list.