Category Archives: Java

Google Code Jam 2011 Round 2

My luck ran out in Round 2 of the Google Code Jam 2011. I placed 626th but needed to be in the top 500 to advance. At least I qualified for a T-shirt for being in the top 1000. There … Continue reading

Posted in Code, Java | 1 Comment

Fast Factoring for 64-bit Integers

Some of the Project Euler problems involve factoring numbers which are either large or small depending on your perspective. Problems are generally limited to 64-bit integers (about 18 digits) which are big numbers for most of us, but in the … Continue reading

Posted in Code, Java, Math | 1 Comment

Updated Matrix Multiply Times

I finally got around to running my matrix multiply microbenchmarks on Windows as well as Mac. Here’s the summary of times on Mac OS X and Windows XP on the same Mac Book Pro. 200×200 Matrix Multiply times in milliseconds … Continue reading

Posted in Code, Java | Leave a comment

Microbenchmark on Java and C Matrix Multiplication

My Java bug entry on faster numerics has been summarily closed as unreproducible. There is a short evaluation showing Java to be faster that C at matrix multiplication, but the comparison misses the mark because: The C code (not shown) … Continue reading

Posted in Code, Java | Leave a comment

Prime Benchmarks Updated

After getting a new MacBook Pro and installing Boot Camp on it so I could boot into Windows or Mac OS X, I’ve rerun some of my prime number mini-benchmarks. I only ran the tests in C++ and latest Java … Continue reading

Posted in Code, Java | 4 Comments

Java 7 Wish List Item: Static Analysis Optimizations

Shortly after Java 6 came out last year, there were a number of Java 7 wish lists floating around (example). Most wishes are for syntax improvements. I don’t use Java as much as I used to, and I only have … Continue reading

Posted in Code, Java | 2 Comments

Sudokit Available

I’ve finally gotten the Sudokit code together enough to make it available. You can download the zipped source and an executable jar file. The app and the code are both still ugly, but I’ve added a text entry field to … Continue reading

Posted in Code, Java | 3 Comments