CS351L - Fall 2011

Large Program Design Lab


John Donahue

Email: jdonahue@unm.edu

Turning in work: use the turnin script

Office: FEC 126

Office Hours:

Monday 2-3pm

Wednesday 1 - 2pm


JNI

November 28th, 2011

Background

Oh boy! We get to mess around with JNI. This is some really cool stuff but it can also be a bit crazy to work with. I've included a brief tutorial to get you up and running on the CS machines. Unfortunately getting it up and running on your home machine using your favorite SDK is not straight forward and will require you to do some neck bearding of your own.

The Assignment

You will be presenting the differences in running times between running code on the JVM and native code. Download the pdf for a short tutorial and the assignment.

The assignment and the Oracle tutorial on JNI

The JNI lab.

Programmer's Guide to The Java Native Interface.

Grading

For full credit, turn in a pdf with your results and arguments.