Category Archives: Operation Foothold

Quick histograms

Having come back to actively working on OCI*ML recently, it’s time I cracked on with some more features (I have been promising LOBs for a long time, sorry to anyone who’s still waiting). Just to get warmed up, inspired by … Continue reading

Posted in Ocaml, OCIML, Operation Foothold, Random thoughts | Leave a comment

Segmentation Faults, TAP and Eclipse

This is quite a neat trick. Consider: Referencing that NULL pointer obviously crashes straight away with a terse segmentation fault: By simply linking it with libSegFault, which seems to be documented only very informally, but comes with glibc: Of course … Continue reading

Posted in C++, Emacs, Linux, Ocaml, Operation Foothold | Tagged , , , , , , | 3 Comments

One Year On

Re-learning C++ is proving to be something of an exercise in frustration thus far; it seems there is so much you need to know before you can get anything useful done. And choices that need to be made, this library … Continue reading

Posted in C++, Ocaml, Operation Foothold | Leave a comment

Putting it all together: PubSub for OCaml with Coherence

In this post I will present a simple PubSub system for OCaml using the Continuous Query feature of Oracle Coherence. The code is all on GitHub. For this example, we will have three subscribers interested in different kinds of messages: … Continue reading

Posted in C++, Coherence, COHML, Ocaml, Operation Foothold | 1 Comment

Queries in Coherence with OCaml

Well, it looks like I posted the last entry too soon, as I can get close to what I want to do with the PofExtractor available from Coherence 3.5 onwards, without needing to write any Java (ugh!). It is a … Continue reading

Posted in C++, Coherence, COHML, Ocaml, Operation Foothold | Leave a comment

Custom classes in Coherence with OCaml

I have not updated in a little while as I have been busily (re)learning C++ in my already-scarce free time. Seems there is a lot of work around for C++ types, and it’s always good to have options. Anyway, on … Continue reading

Posted in C++, Coherence, COHML, Ocaml, Operation Foothold | Leave a comment

Updated: MapListener example

A slight update to yesterday’s example listener.ml supporting named callback functions: I am not entirely comfortable with this as a problem in the names can’t be detected at compile time – tho’ at runtime there is a check that the … Continue reading

Posted in Coherence, COHML, Ocaml, Operation Foothold | Leave a comment