Hacker News new | past | comments | ask | show | jobs | submit login
Write android apps / websites in plt scheme. (plt-scheme.org)
42 points by zitterbewegung on March 25, 2010 | hide | past | favorite | 15 comments



On a related note: since I consider writing my next Android App in Clojure, how feasible is it to port from Clojure to another LISP/Scheme? I think Gambit Scheme can be used to write iPhone apps.


I have been considering using Clojure for Android, too. My primary concerns are that it takes a long time to start up, and runs slowly. My understanding is that by default, Clojure depends heavily on a dynamic runtime, and Dalvik, the Android virtual machine, makes introspection quite expensive. See Remco van't Veer's posts on the clojure group. (He's the guy behind the clojure-android fork.)


What about using Kawa Scheme, like Hal Abelson did with App Inventor for Android?


I'm considering alternatives like that, but I am also quite excited about clojure generally (love the idea behind its concurrency semantics), and its interop with Java means that recoding the tight loops ought to be very easy...


Clojure on Android is simply too damn slow. Scala's the best I've been able to find that was a good compromise between pleasant and performant for Android development. A friend of mine made a nice little environment to make things easier if you decide to go that route: http://code.google.com/p/scalaforandroid/


You would want to just rewrite it at that point.


Hi, I'm one of the primary developers of Moby-Scheme. If you have any questions, please let me know!


hi i encoutered a problem while installing moby and running moby from command line. this is what i did........first i installed plt-scheme>=4.2 and then downloaded moby source.created a directory called work and placed the moby source there.then add a PLaneT local link to the moby directory by $ planet link dyoo moby.plt 2 <<some-high-number>> moby where i replaced some-high-number by 5

after this i navigated to moby directory and $ cd moby/examples

$ mred ../src/moby.ss falling-ball.ss

to which i got the following output

/home/deepak/work/moby/src/moby.ss:77:44: compile: unbound identifier in module in: Loc->string

=== context === standard-module-name-resolver

can u suggest wat went wrong?? is anything wrong wid my installation??????


Are there any opengl bindings for Android in Moby-Scheme?


For the moment, we're focusing on providing support for 2d world-style programming. We haven't looked into OpenGL bindings.


Is there a way to escape into html / javascript in moby?


We're going to revamp the HTML support so that users can write the heart of the DOM in a separate HTML file.

As for access to Javascript, not yet. Although there is an undocumented hook to get at Javascript objects and attributes, it isn't ready for consumption.


Interesting. I wonder how this compares to writing such applications in Arc (also on plt scheme). Looks like the main difference would be all the side effects for phone hardware given here, plus DOM-oriented HTML/JS.


Something completely different. Tables VS DOM and JS events.


You're right, that was dumb.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: