<div dir="ltr">I successfully compiled and tested usquish on linux and android. The only minimal problem I had was I didn't know I needed a 32 bit compiler. So on my linux box (archlinux 64bits) I installed multilib-dev for 32 bit support. Also I changed the PROFILE file to point to where I installed android-sdk and android-ndk.<div>
<br></div><div>Are there any more documentation or examples floating around besides <a href="https://github.com/part-cw/lambdanative">https://github.com/part-cw/lambdanative</a> ?</div><div><br></div><div>I am able to understand by now 90% of usquish code. That is nice, considering that there was no documentation on the app, and I am kind of a new guy on scheme. It means the framework must be really easy to code/read. I really liked the way the modules are written. Very very clean code. I didn't notice gambit compiler annotations (for optimization). I can't tell if they are necessary, as usquish runs pretty fast on my cheap LG android phone.</div>
<div><br></div><div>Android supports arm, mips and x86. Please correct me if I am wrong, but lambdanative only supports arm. If that is true, maybe I could give my two cents: </div><div><br></div><div><a href="https://github.com/dmalves/compile-gambit-for-android">https://github.com/dmalves/compile-gambit-for-android</a><br>
</div><div><br></div><div>this small script can build libgambit.a without any errors for arm, mips and x86. I tested with a small hello world app that I ll soon post to github.</div><div><br></div><div>To port that for lambdanative there could be 3 directories on lambdanative-cache/android/lib/ </div>
<div>for example:</div><div><br></div><div> lambdanative-cache/android/lib/arm/<br></div><div> lambdanative-cache/android/lib/mips/<br></div><div> lambdanative-cache/android/lib/x86/<br></div><div><br></div><div>with each libgambit.a for each architecture on its own directory. Of course, there is need to change Android.mk so it finds the approprieate file for each archicteture. I guess gambit library is not the only library or module that needs refactoring to make this work, but I am still investigating that.</div>
<div><br></div><div>Anyway, I am happy to know about lambdanative.</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/1 Ralph Möritz <span dir="ltr"><<a href="mailto:ralph.moeritz@outlook.com" target="_blank">ralph.moeritz@outlook.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">*face palm* Just realized you're from Canada; you're just working on a project for South African clinics. Duh.<div><br></div><div>Do you have a link to the ICFP13 paper describing LambdaNative?<div class="im">
<br><br>-- <br><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:18px;white-space:pre-wrap">Chess is in its essence a game, in its form an art, and in its execution a science.</span><br>
<br></div><div><div class="im">> From: <a href="mailto:CPetersen@cw.bc.ca" target="_blank">CPetersen@cw.bc.ca</a><br>> To: <a href="mailto:feeley@iro.umontreal.ca" target="_blank">feeley@iro.umontreal.ca</a><br>> Date: Wed, 31 Jul 2013 14:51:59 -0700<br>
</div>> CC: <a href="mailto:gambit-list@iro.umontreal.ca" target="_blank">gambit-list@iro.umontreal.ca</a><div><div class="h5"><br>> Subject: Re: [gambit-list] Gambit-C cross-platform framework<br>> <br>> <br>
> Hi Marc,<br>> <br>> Thanks for the positive feedback. And yes, LambdaNative was originally developed for the phone oximeter suite of applications, which have now evolved into full mobile diagnostic tools. As an example, we've developed a pre-eclampsia (a dangerous condition during pregnancy) diagnostic app running on iOS devices. This has been used in three usability studies and is an ongoing blinded hospital-based clinical trial in South Africa. Here is the original Grand Challenge pledge for that:<br>
> <a href="http://savinglivesatbirth.net/summaries/37" target="_blank">http://savinglivesatbirth.net/summaries/37</a> <br>> And some of the related design work:<br>> <a href="http://www.sfu.ca/~pbernal/OP2/projects/piers.html" target="_blank">http://www.sfu.ca/~pbernal/OP2/projects/piers.html</a><br>
> We are currently working on a simplified version to be used for home visitations, with clinical trials in Pakistan, Nigeria, Mozambique and India starting later this year, on cheap Android devices. <br>> <br>> We've been successful in deploying our Gambit based applications on a wide range of devices without any issues, which is really a great testimony to the portability and usefulness of Gambit.<br>
> <br>> Chris<br>> <br>> ________________________________________<br>> From: Marc Feeley [<a href="mailto:feeley@iro.umontreal.ca" target="_blank">feeley@iro.umontreal.ca</a>]<br>> Sent: Wednesday, July 31, 2013 2:03 PM<br>
> To: Petersen, Chris<br>> Cc: <a href="mailto:gambit-list@iro.umontreal.ca" target="_blank">gambit-list@iro.umontreal.ca</a><br>> Subject: Re: [gambit-list] Gambit-C cross-platform framework<br>> <br>> I really like your ICFP13 paper.  It shows off very eloquently one of the main advantages of using Gambit: cross-platform portability.  It is hard to imagine a more "real-world" use of Gambit than this.<br>
> <br>> Thanks for sharing your work with the rest of the Gambit community!<br>> <br>> Marc<br>> <br>> On 2013-07-31, at 3:00 PM, "Petersen, Chris" <<a href="mailto:CPetersen@cw.bc.ca" target="_blank">CPetersen@cw.bc.ca</a>> wrote:<br>
> <br>> ><br>> > It may be of interest to some on the list that we have<br>> > open-sourced (BSD licenced) our core Gambit-C based<br>> > development framework for producing cross-platform<br>> > applications on Android, iOS, OS X, Linux, Windows and OpenBSD.<br>
> > The GUI is OpenGL based with a widget system<br>> > written in Scheme. The framework can also be used<br>> > for cross-platform console/embedded applications.<br>> ><br>> > The source code, including examples, is here:<br>
> ><br>> > <a href="https://github.com/part-cw/lambdanative" target="_blank">https://github.com/part-cw/lambdanative</a><br>> ><br>> > A paper describing the framework and its use for<br>> > various medical applications on smartphones and embedded<br>
> > devices will be presented at ICFP'13 in Boston in September.<br>> ><br>> > Chris<br>> > _______________________________________________<br>> > Gambit-list mailing list<br>> > <a href="mailto:Gambit-list@iro.umontreal.ca" target="_blank">Gambit-list@iro.umontreal.ca</a><br>
> > <a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>> <br>> _______________________________________________<br>
> Gambit-list mailing list<br>> <a href="mailto:Gambit-list@iro.umontreal.ca" target="_blank">Gambit-list@iro.umontreal.ca</a><br>> <a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
</div></div></div></div>                                          </div></div>
<br>_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
<br></blockquote></div><br></div></div>