Scala is a Ghetto
Then I started lurking on #scala on IRC for a few weeks. Immediately I was surprised by the snarky comments of some of the top chatters on IRC. ... more »
10 commentsSave Tags: opinion, other languages
Scala puzzlers, part 1
I participated in the ICFP Contest this year. We decided to use Scala, and one of the reasons for using it was that we wanted to try the language out... more »
0 commentsSave Tags: other languages
Ruby's Open Classes - Or: How Not To Patch Like A Monkey
Ruby's Open Classes are powerful - but can easily be misused. This article looks at how to minimize the risk of opening classes, alternatives, and how... more »
1 commentsSave Tags: how-to, ruby
Letting the garbage collector do callbacks
This blogs presents a problem (and solution!) where it is required to do some manual after an object is garbage collected. A WeakHashMap was not a... more »
1 commentsSave Tags: java
A close look at three Rails 2.1 bugs
Rails 2.1 introduces three annoying bugs. Let's fix them.
0 commentsSave Tags: database, frameworks, ruby, web 2.0
New Java Concurrency Feature: Phasers
Doug Lea, the spec lead of the JSR 166 concurrency utilities, posted on the 166y concurrency-interest mailing list this week regarding a new feature... more »
0 commentsSave Tags: java, standards, tools
Protocol Buffers: Leaky RPC
Mark Pilgrim tells us why Protocol Buffers are so nice. Notice, though, that everything he writes focuses entirely on their form and structure as... more »
0 commentsSave Tags: opinion
RPC and Serialization with Hadoop, Thrift, and Protocol Buffers
Hadoop and related projects like Thrift provide a choice of protocols and formats for doing RPC and serialization. In this post I'll briefly run... more »
0 commentsSave Tags: frameworks, java
Exception Handling in Distributed Systems
Here's another technique that's worked well in the last few systems I've had a hand in, this time for coordinating exception handling within a... more »
0 commentsSave Tags: how-to, java, server
Erlang's concurrency model on the JVM - Can we have (at least a subset of) OTP in Scala ?
Jonas Boner is working towards an OTP implementation in Scala. Definitely sounds to be a great exercise and may well prove to be a viable and scalable... more »
2 commentsSave Tags: other languages
Implementing Groovy’s Elvis Operator in Scala
Groovy has an interesting shortening of the ternary operator that it rather fancifully titles “the Elvis Operator“. This operator is hardly unique to... more »
2 commentsSave Tags: other languages
B-Trees - Balanced Search Trees for Slow Storage
Another cool, but frequently overlooked, data structure in the tree family is called the B-tree. A B-tree is a search tree, very similar to a BST in... more »
0 commentsSave Tags: research
What else you need to consider for designing well-behaved Erlang APIs
When you design a framework or a library in an implementation language, you need to play to the rules of the game. While implementing a library for a... more »
0 commentsSave Tags: other languages
10 Things Java Should Steal from Ruby
In this presentation, given at TheServerSide Java Symposium Barcelona in June, Bruce Tate looks at how Java developers, framework designers, and... more »
1 commentsSave Tags: java, ruby
When Ruby Builds Faster Than Java: Buildr
The Java build system Maven 1.0 was released 3 years ago and has been widely adopted in the open source world and in the industry; Since then, the 2.0... more »
3 commentsSave Tags: java, ruby
Playing around with parallel maps in Scala
Over the last couple of days I have been hacking around with a few implementations of a parallel map in Scala.
0 commentsSave Tags: java, other languages
Do Java 6 threading optimizations actually work?
Much attention has been given by Sun, IBM, BEA and others to optimize lock management and synchronization in their respective Java 6 virtual machine... more »
1 commentsSave Tags: java, methodology, research
C++ techniques: part 1: curiously recurring template pattern
I've been thinking for a while that I should be blogging about some c++ metaprogramming techniques that I learned while coding Eigen.
0 commentsSave Tags: c-and-cpp, how-to
Erlang vs. Scala
In my time wasting activities on geeky social news sites, I’ve been seeing more and more articles about Scala. The main reasons I became interested in... more »
0 commentsSave Tags: opinion, other languages
Choosing between Abstract Type Members and Existentials in Scala
Scala offers abstract type members as a means to abstract over concrete types of components. The internal type of an abstraction can be hidden from... more »
0 commentsSave Tags: other languages
Jetty Continuations
With most web applications today, the number of simultaneous users can greatly exceed the number of connections to the server. This is because... more »
0 commentsSave Tags: java, server
Thinking in JVM languages
When I find a language expressive enough to implement the programming idioms succinctly, I like to use the language in my projects. But I constantly... more »
0 commentsSave Tags: java, other languages
Dynamic Languages Strike Back
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... more »
1 commentsSave Tags: opinion, other languages, tools
Scala Either
A new data type appears in version 2.7.1 of the Scala Programming Language called scala.Either (hereon referred to as Either) that is used very often... more »
2 commentsSave Tags: other languages
via