tag:blogger.com,1999:blog-4704664917418794835.post2460013493242575333..comments2023-07-01T05:41:30.469-07:00Comments on Headius: Building Ruboto: Precompiling Ruby for Androidheadiushttp://www.blogger.com/profile/15717357218364947795noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-4704664917418794835.post-23934057818005060602010-04-30T00:47:52.744-07:002010-04-30T00:47:52.744-07:00Wow, this is so exciting. I'd love to see this...Wow, this is so exciting. I'd love to see this roll into 1.5.John Woodellhttp://www.blogger.com/profile/11736072338411726053noreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-43267650899925447992010-04-30T01:35:41.480-07:002010-04-30T01:35:41.480-07:00Do you have to distribute the stdlib with every ap...Do you have to distribute the stdlib with every app or could it be reused?Jonas Elfströmhttp://www.blogger.com/profile/18088865137364783994noreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-64643345622297128182010-04-30T05:21:35.252-07:002010-04-30T05:21:35.252-07:00Yeah, that's a nice question. That was the fir...Yeah, that's a nice question. That was the first thing i asked myself as well: Can u reuse the stdlib ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-90542895103636591522010-04-30T08:45:01.583-07:002010-04-30T08:45:01.583-07:00This is awesome. Keep up the good work, sir.This is awesome. Keep up the good work, sir.Chris Thielhttp://www.blogger.com/profile/12899806776399726724noreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-13079717460179909552010-04-30T08:49:24.464-07:002010-04-30T08:49:24.464-07:00Being able to write Android apps in JRuby is nothi...Being able to write Android apps in JRuby is nothing short of frickin' awesome. Thanks so much for your work on this!Gary S. Weavernoreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-29198844447026159622010-04-30T09:50:26.184-07:002010-04-30T09:50:26.184-07:00Hi! I'm the tech lead for Dalvik within the An...Hi! I'm the tech lead for Dalvik within the Android project.<br><br>First of all, I'm pleased as punch that you're doing this work, and I am hoping that we can tweak the dex format to make this easier for you (and other similar efforts) in the not-too-distant future.<br><br>In the mean time, there are workarounds other than what you mentioned. I updated the bug to clarify, but for your convenience here's a recap: The dalvik.system package contains classes that can be used to create ClassLoader instances from arbitrary dex files. Though Android doesn't come out-of-the-box with a fully baked way to use more than one dex file in an apk, all the right underlying facilities are there for you to code up a solution that fits your needs.<br><br>I would love to hear your feedback in terms of experiences trying this all out, and really in terms of the whole effort (not just the above suggestion). The Dalvik team takes a customer-focused attitude, and though we can't promise immediate turnaround on any given issue, the more feedback we get, the better chance we have of making good forward progress.<br><br>Cheers.danfuzzhttp://www.blogger.com/profile/02959141480013761102noreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-70952976300090028152010-05-01T23:18:16.051-07:002010-05-01T23:18:16.051-07:00Amazing work!! I've been trying to optimize jr...Amazing work!! I've been trying to optimize jruby under the Android Scripting Ennvironment project as it is currently extremely slow.<br><br>I hope to see some of this in Jruby 1.5, cause that would make a world of difference in trying to win more Jruby supporters in the ASE project.<br><br>Also, if any of this could apply to Beanshell or vice versa, that could greatly reduce their footprints.booOOOoooOoooOnoreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-81829845848785897682010-05-03T11:03:00.084-07:002010-05-03T11:03:00.084-07:00im just going to quote: I think much of technology...im just going to quote:<br> I think much of technology in the past twenty years has been about make-work <br><br>lets just not use libc, and while we're at it, lets not use JVM bytecodes. itll be cool, you can write absurd 8 page blogposts about getting thigns to work!carmenhttp://carmen.myopenid.com/noreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-89815406980489686382010-05-03T19:08:55.815-07:002010-05-03T19:08:55.815-07:00@Charles Oliver Nutter:There are several things sl...@Charles Oliver Nutter:<br>There are several things slowing Jruby down in ASE. Right now, Jruby has to go through an extra layer of interpretation to get the Dex bytecode (note: this may go away with your precompiling). Also, Dalvik is trying to load a bunch of the sun.java stuff left in the jar file. This is compared to Python actually being a cross compiled C version, running natively in its own process. However, interpreted languages running in native C have huge limitations running outside of ASE. They can't call Android intents directly.<br><br>Jruby can be a complete API bridge, running in its own process. I've seen a Beanshell APK that had direct access to android. This may not be considered "safe", but its not for end users. Its for truly <i>mobile</i> devs. Your precompiling tradeoff could speed things up on the same order of raibow tables and rainbowcrack.<br><br>Hope that helps. Keep up the great work!!booOOOoooOoooOnoreply@blogger.com