Great talk about libraries

I just wanted to clue people in to a talk I listened to yesterday. It’s a different take on the library problem. Fed up with not having access to the libraries he needs, Antonio Menezes Leitao decided to use a translation tool called Jnil to automatically translate Java libraries into Common Lisp.

Listen to the talk.

So I guess I don’t really know how I feel about this talk. It’s a great idea—Java has lots of libraries (10,000 by his count) and Lisp doesn’t. It’s brave to face the translation task. It can’t be easy to not only cross language boundaries, but to cross paradigm boundaries, too. And it’s more than a direct translation. The translator can understand some forms of programmer “intention” to create lispier code.

But I’d like to see it in action. I had some concerns about the effort of having to write your own constructors since apparently Java constructors can’t be translated. And then there’s all the refactoring you do only to have to redo it when the library is upgraded.

Someone at the end of the talk asked a good question: “what about the philosophical differences between Java and Common Lisp?” Antonio explained that he would rather deal with the cultural differences than deal with the lack of libraries.

So, I guess I think it’s great! It’s just the sort of thing that we need—someone eschewing principles for practicality. Strong principles only divide and create tension. Practical, self-interested thinking at least lets you negotiate. I’m looking forward to using the libraries he’ll generate.

Related Posts:

  • No Related Posts
blog comments powered by Disqus