Archive for Prog Language

Article: Clojure vs Scala, Part 2

Clojure vs Scala, Part 2 by Stephan Schmidt

There are two languages stirring up the Java World: Clojure and Scala. Clojure a Lisp dialect on the JVM, powerful and pure and the Scala language a tight integration of object and functional programming. Which should you learn?

Comments

Article: Interop Between Java and Scala

Interop Between Java and Scala by Daniel Spiewak

Sometimes, the simplest things are the most difficult to explain. Scala’s interoperability with Java is completely unparalleled, even including languages like Groovy which tout their tight integration with the JVM’s venerable standard-bearer. However, despite this fact, there is almost no documentation (aside from chapter 29 in Programming in Scala) which shows how this Scala/Java integration works and where it can be used. So while it may not be the most exciting or theoretically interesting topic, I have taken it upon myself to fill the gap.

Comments

Article: Rating JRuby, Jython, and Groovy on the Java Platform

Rating JRuby, Jython, and Groovy on the Java Platform by Rod Cope

Open source software, while not synonymous with Java, may often be seamlessly integrated with Java code to produce a versatile synthesis that makes developers’ lives much easier. In recent years, developers have taken some open source dynamic languages, commonly referred to as “scripting languages,” and adapted them to the more mainstream Java platform. This allows the new hybrid language to maintain its scripting qualities, while being fully utilized by a Java program. Three of the most prominent open source/Java languages are JRuby, a Java implementation of Ruby; Jython, a Java implementation of Python; and Groovy, an object-oriented programming language for the Java platform.

Comments

Article: Dynamic Languages Strike Back

Dynamic Languages Strike Back by Stevey's Blog Rants

Some guys at Stanford invited me to speak at their EE Computer Systems Colloquium last week. Pretty cool, eh? It was quite an honor. I wound up giving a talk on dynamic languages: the tools, the performance, the history, the religion, everything. It was a lot of fun, and it went over surprisingly well, all things considered.

Comments

Blog: Groovy, JRuby, Jython, Scala: Who Wins the Script Bowl?

Groovy, JRuby, Jython, Scala: Who Wins the Script Bowl? from Seapegasus Blog

Script Bowl was indeed what the caption promised, a rapid-fire comparison of scripting languages. Four developers took on the challenge to convince the audience of their language of choice — in only three minutes per round. Guillaume LaForge represented Groovy, Charles Nutter represented JRuby, Frank Wierzbicki represented Jython, and Jorge Ortiz represented Scala.

Comments

Blog: Lang.NET 2008: Day 1 Thoughts

Lang.NET 2008: Day 1 Thoughts by Charles Oliver Nutter

Lang.NET is Microsoft's event for folks interested in using and implementing "alternative" languages on the CLR.

The DLR is Microsoft's Dynamic Language Runtime, a set of libraries and tools designed to make it easier to implement dynamic languages atop the CLR. The DLR provides facilities for compiler and interpreter generation (via language-agnostic expression trees), fast dynamic invocation (via self-updating dynamic call sites), and cross-language method dispatch and type system support. It is, to my eyes, intended to be the "everytool" needed to implement dynamic languages for .NET.

Comments

Article: Groovy or Ruby

Groovy or Ruby by Martin Fowler

Currently there's quite a debate raging over the relative merits of Groovy and JRuby as scripting languages running on the Java virtual machine. Curious minds want to know – which of these languages will win this upcoming language war? People want to know which language to pick for a project, or which language to commit to learn.

Comments

Article: Spring Dynamic Language Support and a Groovy DSL

Spring Dynamic Language Support and a Groovy DSL by Dave Syer

Since the introduction of Spring dynamic laguage support in Spring 2.0 it has been an attractive integration point for Groovy, and Groovy provides a rich environment for defining Domain Specific Languages (DSL). But the examples of Groovy integration in the Spring reference manual are limited in scope and do not show the features in Spring that are targeted at DSL integration. In this article I show how to use those features and as an example we add bean definitions to an existing ApplicationContext with a Groovy DSL from the Grails distribution.

Comments

Article: Javascript Performance

Javascript Performance by Kirk Pepperdine from Fasterj.com

All in all the experience was interesting. I got to look at a couple of new tools, Firebug and YSlow (Yahoo). There wasn't any real surprises. Network calls and servers were the primary culprit of poor performance, testing clients is still a pain and our old and reliable performance tuning methodology worked.

Comments

Article: Getting Started with jQuery

Getting Started with jQuery by By Bear Bibeault, Dave Crane, Jord Sonneveld with Ted Goddard

A "new type" of JavaScript library that changes how you write JavaScript

Comments

« Previous Entries