Unit Testing in C

I haven't written new C code since the turn of the millennium. Since then it's been almost all Java and Python. Along with Java and Python come JUnit and Python's unittest module.

I've grown completely dependent on unit testing.

I'm looking at some C code, and I want a unit …

more ...


Java vs. PL/SQL

Quite a while ago, I compared Java and PL/SQL to gauge their relative performance.

Recently (okay, back in mid-June) I got this request.

One thing I would like to compare is Java vs PL/SQL using native compilation (search Oracle for NCOMP). Would you be willing to repeat your …

more ...

Flying Saucer

The old code was 5700 lines of bad VB. The new code is Velocity, Flying Saucer, iText and 120 lines of glue. The old code will be replaced with perhaps 500 lines of XHTML-producing Velocity templates.

[The Flying Saucer site -- with the main menu on the right -- was confusing at …

more ...

That's odd -- Python faster than Java

Here's an amazing Stack Overflow question.

The follow-up conversation is great stuff.

The question shows two versions of approximately the same processing. Python is faster than Java. That's unexpected.

Java has static compilation and the hot-spot translation to machine code. Apparently, Python has some optimizations that are just as valuable …

more ...

Applet Not Inited; the "Red X" problem

I haven't done Applet stuff in years.

I do -- intensely -- like embedding functionality in web pages. RIA/Ajax and what-not are something I have trouble with because I'm not a graphic designer. Javascript and Applets fall into three clear categories:

  1. Basic usability. Javascript offers lots of little enhancements to HTML …
more ...


Java-related skills - response to a question

I think that learning Java is challenging. You've got to learn the language, object-oriented programming, the libraries and the endless Java Technologies. The Java landscape is crowded with J*tx* and tx J add-ons, where tx is some technology abbreviation; for example, JAXWS, JAXB, SAAJ, JMS, JFC, JCE, JAAS, etc …

more ...