Twenty years ago, as a maths-and-computing undergraduate at the university of Bath, I was introduced to functional programming using the ML language by the excellent Julian Padget. We undergrads were set the traditional assignment of writing a sed-like text processor in ML, and found it first baffling and then, if we were lucky, rather exciting.… Continue reading Functional programming and the joy of learning something again
Tag: java
“Various nifty functions”
Further to the code-literate judge in Oracle v Google, via Groklaw we now have his ruling that the Java APIs are not copyrightable. It's an exceptionally clear piece of work and a good introduction to the subject. I certainly couldn't have written a better technical summary, although I'm sure there are bits that a non-programmer… Continue reading “Various nifty functions”
Wrapping a C++ library with JNI, part 4
In this series... Introduction, outlining the general steps from starting with a C++ library to being able to build and run simple tests on some JNI wrappers; Part 1, in which I design some simple Java classes and generate the stub wrapper code; Part 2, in which I add just enough of the implementation to… Continue reading Wrapping a C++ library with JNI, part 4
Wrapping a C++ library with JNI, part 3
In this series... Introduction, outlining the general steps from starting with a C++ library to being able to build and run simple tests on some JNI wrappers; Part 1, in which I design some simple Java classes and generate the stub wrapper code; Part 2, in which I add just enough of the implementation to… Continue reading Wrapping a C++ library with JNI, part 3
Wrapping a C++ library with JNI, part 2
In this series... Introduction, outlining the general steps from starting with a C++ library to being able to build and run simple tests on some JNI wrappers; Part 1, in which I design some simple Java classes and generate the stub wrapper code; Part 2 (this post), in which I add just enough of the… Continue reading Wrapping a C++ library with JNI, part 2
Wrapping a C++ library with JNI, part 1
In this series... Introduction, outlining the general steps from starting with a C++ library to being able to build and run simple tests on some JNI wrappers; Part 1 (this post), in which I design some simple Java classes and generate the stub wrapper code; Part 2, in which I add just enough of the… Continue reading Wrapping a C++ library with JNI, part 1