Hello, Loop

27 views
Skip to first unread message

Corey Trampe

unread,
Apr 20, 2013, 9:08:17 PM4/20/13
to loop...@googlegroups.com
I happend upon Loop while looking for Java alternatives for game development with libGDX.

I love the minimal syntax and sugary features. Yum, yum.

How difficult would it be to get running on Android in it's current state?

Dhanji R. Prasanna

unread,
Apr 20, 2013, 11:15:22 PM4/20/13
to loop...@googlegroups.com
Thanks! Kind words. It uses byte code generation, so you can output class files from it. If there is a way to translate class files into dex you may be in luck.
Let me know how it goes :)

Loop can implement interfaces in java so it should be trivial to call into.
--
You received this message because you are subscribed to the Google Groups "looplang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to looplang+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Dhanji R. Prasanna

unread,
Apr 20, 2013, 11:17:05 PM4/20/13
to loop...@googlegroups.com
I don't know if it will be fast enough on android though, compared to say, scala, because i havent spent much time optimizing method dispatch and such.

One alternative is to write a CodeEmitter plugin, which outputs Java source directly.

Corey Trampe

unread,
Apr 21, 2013, 10:26:13 AM4/21/13
to loop...@googlegroups.com

> If there is a way to translate class files into dex you may be in luck.

Well, there certainly is. I guess I assumed there would be more to it than that. (I'm still very new to both JVM & Android.)

> Loop can implement interfaces in java so it should be trivial to call into.

That sounds easy enough.

> I don't know if it will be fast enough on android though, compared to say, scala, because i havent spent much time optimizing method dispatch and such.

This could surely dampen my enthusiasm, Dhanji!

> One alternative is to write a CodeEmitter plugin, which outputs Java source directly.

That's an appealing idea, to operate CoffeeScript style. It's a tempting feature of Xtend (but not tempting enough, because I want to get away from Eclipse). I wonder why Mirah apparently dropped this feature.


Thanks for humoring me.

Dhanji R. Prasanna

unread,
Apr 21, 2013, 10:41:15 AM4/21/13
to loop...@googlegroups.com


On Sunday, April 21, 2013, Corey Trampe wrote:

> If there is a way to translate class files into dex you may be in luck.

Well, there certainly is. I guess I assumed there would be more to it than that. (I'm still very new to both JVM & Android.)

> Loop can implement interfaces in java so it should be trivial to call into.

That sounds easy enough.

> I don't know if it will be fast enough on android though, compared to say, scala, because i havent spent much time optimizing method dispatch and such.

This could surely dampen my enthusiasm, Dhanji!

Well it still may be fast enough, see how you go :P 

> One alternative is to write a CodeEmitter plugin, which outputs Java source directly.

That's an appealing idea, to operate CoffeeScript style. It's a tempting feature of Xtend (but not tempting enough, because I want to get away from Eclipse). I wonder why Mirah apparently dropped this feature.


Thanks for humoring me.

Sure thing, I'd love to hear how it goes 
Reply all
Reply to author
Forward
0 new messages