Administrator
|
The project manager of the Groovy agile language made a presentation
at Google recently. http://tinyurl.com/2x5h3y Note that the audio has difficulty for a few minutes after the talk gets started, but it corrects within a couple of minutes. Two notes: - Its fascinating to see just how completely Groovy integrates with, yet expands vanilla Java. It can add methods to existing java classes, allowing things like 1.hourFromNow (mashing up Integer and Date) and expanding Google services without subclassing. - Similarly, its surprising to see just how wide the knowledge of a modern developer is! Not just GUIs and language and standard libraries, but web services, REST (Flikr and Google Maps), XML, Chat/ Jabber, Geo Services, ... wow! .. this all showed me just how important the Java integration and *modification* capability is. I believe the other agile systems have similar flexibility, so its definitely a brave new world out there. > Hi, > > On Monday afternoon, I gave a presentation of Groovy at Google, in > Moutain View. > A special presentation for Googlers. > Among the crowd, there were guys like C?dric Beust, Crazy Bob Lee, > Guido Van Rossum (Python inventor), Josh Bloch, etc... > Amazing :-) > > You can already find the video here: > <a href="http://video.google.com/videoplay?docid=7928622601123523881&q=type%">http://video.google.com/videoplay?docid=7928622601123523881&q=type% > 3Agoogle+engEDU > > -- > Guillaume Laforge > Groovy Project Manager > http://glaforge.free.fr/blog/groovy -- Owen |
Owen Densmore wrote:
> - Its fascinating to see just how completely Groovy integrates with, > yet expands vanilla Java. It can add methods to existing java > classes, allowing things like 1.hourFromNow (mashing up Integer and > Date) and expanding Google services without subclassing. > Kawa's been integrating Java libraries to a dynamic (and functional) programming language since the late 1990s http://www.gnu.org/software/kawa Also, in the interest of balanced coverage: http://blogs.msdn.com/hugunin/archive/2007/04/30/a-dynamic-language-runtime-dlr.aspx |
In reply to this post by Owen Densmore
Owen Densmore wrote:
> . this all showed me just how important the Java integration and > *modification* capability is. I believe the other agile systems have > similar flexibility, so its definitely a brave new world out there. > Btw, the ABM toolkit Swarm, being based on Objective C (which uses dynamic binding of messages to methods) has no trouble providing Java with completely dynamic messaging (in the example below, `forEach'). Note that ObjectInterface is not conformed-to by Object[12]. import swarm.Globals; import swarm.Selector; import swarm.collections.ListImpl; import swarm.collections.List; class Object1 { public void ping () { System.out.println ("object 1"); } } class Object2 { public void ping () { System.out.println ("object 2"); } } interface ObjectInterface { public void ping (); } public class TestSelector { public static void main (String[] args) { Globals.env.initSwarm ("selector", "0.0", "marcus at snoutfarm.com", args); List l = new ListImpl (Globals.env.globalZone); l.addLast (new Object1 ()); l.addLast (new Object2 ()); Selector sel = null; try { sel = new Selector (ObjectInterface.class, "ping", false); } catch (Exception e) { System.out.println ("Can't find selector"); } l.forEach (sel); } } |
Free forum by Nabble | Edit this page |