News for hackers. Stuff that matters.
Re:Write android apps / websites in plt scheme. by Tichy on Thursday March 25, 2010 @04:45AM (#1217984)
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.
Re:Write android apps / websites in plt scheme. by Estragon on Thursday March 25, 2010 @08:11AM (#1218262)
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.)
Re:Write android apps / websites in plt scheme. by brlewis on Thursday March 25, 2010 @08:56AM (#1218345)
What about using Kawa Scheme, like Hal Abelson did with App Inventor for Android?
Re:Write android apps / websites in plt scheme. by Estragon on Thursday March 25, 2010 @01:04PM (#1218848)
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...
Re:Write android apps / websites in plt scheme. by gecko on Thursday March 25, 2010 @10:46AM (#1218536)
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/
Re:Write android apps / websites in plt scheme. by zitterbewegung on Friday March 26, 2010 @01:14AM (#1220318)
You would want to just rewrite it at that point.
Re:Write android apps / websites in plt scheme. by dyoo on Thursday March 25, 2010 @05:40PM (#1219584)
Hi, I'm one of the primary developers of Moby-Scheme. If you have any questions, please let me know!
Re:Write android apps / websites in plt scheme. by jay3dec on Tuesday March 30, 2010 @01:40PM (#1229690)
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??????

Re:Write android apps / websites in plt scheme. by SingAlong on Thursday March 25, 2010 @09:13PM (#1220001)
Are there any opengl bindings for Android in Moby-Scheme?
Re:Write android apps / websites in plt scheme. by dyoo on Sunday March 28, 2010 @08:15PM (#1225497)
For the moment, we're focusing on providing support for 2d world-style programming. We haven't looked into OpenGL bindings.
Re:Write android apps / websites in plt scheme. by zitterbewegung on Friday March 26, 2010 @01:07AM (#1220313)
Is there a way to escape into html / javascript in moby?
Re:Write android apps / websites in plt scheme. by dyoo on Sunday March 28, 2010 @08:12PM (#1225494)
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.

Re:Write android apps / websites in plt scheme. by evanrmurphy on Thursday March 25, 2010 @02:43AM (#1217883)
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.
Re:Write android apps / websites in plt scheme. by zitterbewegung on Friday March 26, 2010 @01:16AM (#1220322)
Something completely different. Tables VS DOM and JS events.
Re:Write android apps / websites in plt scheme. by evanrmurphy on Friday March 26, 2010 @04:40AM (#1220565)
You're right, that was dumb.