LISTSERV mailing list manager LISTSERV 16.5

Help for CODE4LIB Archives


CODE4LIB Archives

CODE4LIB Archives


CODE4LIB@LISTS.CLIR.ORG


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

CODE4LIB Home

CODE4LIB Home

CODE4LIB  July 2011

CODE4LIB July 2011

Subject:

Re: Advice on a class

From:

Bill Janssen <[log in to unmask]>

Reply-To:

Code for Libraries <[log in to unmask]>

Date:

Fri, 29 Jul 2011 11:49:05 PDT

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (114 lines)

Bill Dueber <[log in to unmask]> wrote:

> Unless you're in a very, *very* different library than mine, "all the
> low-level stuff" written in C and variants are at a low-enough level (and in
> very specialized domains) that I'd never have an expectation that anyone
> working in the library would mess with it. I presume there are people in
> research libraries that muck around with C/C++, rolling their own libraries
> and what not, but I've been at Michigan for six years and I haven't heard of
> it, here or elsewhere. For most of us, I think, doing something in C is
> premature optimization.

Completely agree with most of this.  The issue comes up when you need to
*fix* something in one of these libraries that someone else has
provided, or hook one of them up to your higher-level language.

> I hear the assertion often that a programmer needs to know C/assembly so
> they can truly understand how the machine is working at a deep level, and
> I've grown over the years to dismiss that assertion.

Yes, I'd say "needs" is too strong.

> Almost no one who makes
> a living programming in libraries is going to do a better job "by hand" than
> a modern optimizing compiler, certainly not if you take ROI into account.
> Data structures and Big-O is enough to tell you if you're moving down the
> right path, and then it's just a matter of being smart enough to use
> existing libraries where applicable --- and, again, avoiding premature
> optimization, at the code level or at the selection-of-a-language level. If
> you're hiring someone who's going to have to know the details of cache
> misses and how far to unroll loops or whatnot, you know exactly what you're
> hiring him/her for and don't need advice about hiring a generic programmer.

Yep, and yep.

> For stuff where you need not access to the bare metal but just raw speed,
> Java is mature, super-fast, and has lots of optimized libraries available.

Here's where we differ.  Java is mature, and very well-optimized (though
"super-fast" is perhaps a bit much), but the language itself is rather
poorly designed, and the libraries available are in my experience a sad
hodge-podge of brilliance and stodge.  I've spent far too much time
working around inexplicably years-old bugs in J2SE's standard library.

Some of the J2EE systems are very good, though.

> It also turns out many of us are using Solr these days, so Java has snuck
> into the library infrastructure already.

:-).  I used Doug's text-indexing library when he and Jan wrote it in
Common Lisp at PARC in the early 90's, and I was happy to see it appear
again in more commercially acceptable form as Lucene.  Lucene, and parts
of Solr, are important contributions to the technical landscape, and
Lucene is an example of an excellent Java library (I don't know Solr
well enough to comment).

But I use Lucene through Andi Vajda's excellent PyLucene, and I use a
couple of other Java libraries via JCC, Vajda's wrapper for those Java
libraries worth using.

> 90% of my argument for doing green-field projects in Ruby is that I
> can access low-level Java libraries to do the heavy lifting and get an
> optimizing VM for free.

The thing I've found about Python is that one rarely needs to stoop to
using Java libraries, as there are generally superior Python libraries
available.  This is perhaps just a comment on the relative novelty of
Ruby, which is a fine programming language in its own right.  Though if
my goal was to exploit the Java ecosystem, I imagine I'd use Clojure or
Jython instead.

> I don't care what scripting language you use, as long as you use it well.
> Python, Ruby, Perl, whatever. If you know one, you can learn the others.

I tend to agree about the learning, but that doesn't make them equally
useful.  The size and shape of the user community and the variety of
offerings and third-party libraries available are important
considerations.  A good programmer is aware of that and reflects that
awareness in his skill set.

> I would never foist a project in, say, OCaml or Scheme on my library,
> because who the hell is going to maintain it (and its environment)??

"What kind of programmer can I hire 'off the street'?"  This is an
important and unfortunate commercial consideration which sometimes
forces a trade-off with the quality and functionality benefits available
with higher-level "boutique" languages.

> But I sure want someone who understands side effects and their effect
> on multi-threaded programming, because I've got a lot of idle cores
> sitting around waiting for work.

Yep.  Some nice features in Clojure for exploiting that.
  
> Finally, I always ask someone what their favorite programming environment
> is. I've had a few candidates tell me that they just use Notepad, and I
> don't mind admitting that that's almost a dealbreaker for me. Using a good
> editor or an IDE is a critical part of taking advantage of the language
> ecosystem. A good programming editor is a must.

Yep.

> Not having at least syntax highlighting and checking is, to me, a sign
> that you haven't written enough code for the lack of such
> functionality to drive you nuts yet. Java without an IDE is insanity.

What does that tell you about the language design?

> And if the candidate proudly tells you that she uses vi, well, make
> sure she really knows how to push it around. You don't get street-cred
> for using a 30 year old program shittily.

:-).

Bill

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003

ATOM RSS1 RSS2



LISTS.CLIR.ORG

CataList Email List Search Powered by the LISTSERV Email List Manager