Author Archives: coherent

CamlPDF Version 0.4 (for Ocaml and F#)

CamlPDF Version 0.4 has been released. The biggest change is that this release now compiles with Microsoft F Sharp as well as with OCaml. Some major non-compatible changes have been made to the low-level API, due to the experience of … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Keeping the Codebase Together

We have to generate the following things from our OCaml codebase: (a) Command Line PDF Tools for Windows, Mac, Linux and Solaris, demo and full versions (b) .NET DLL by compiling with F#, demo and full versions (c) The open-source … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

.NET Toolkit Released, Command Line Tools Updated

Our .NET PDF Toolkit, in 100% F#, cross-compiled with OCaml is now available, starting at £495. It does everything the command line tools do, and more, but is usable natively from VB.NET, C# and ASP.NET. At the same time, we’ve … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Coherent PDF Toolkit for .NET Beta Release

We’re almost ready to release the .NET SDK version of our PDF Command Line Toolkit, and are looking for feedback. This is the fruit of altering our OCaml codebase of about 20,000 lines to cross-compile with F# – a not … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Profiling F Sharp Code for Speed

I wrote earlier about profiling F# code for memory usage. I’ve been looking at products for profiling speed, and have settled on JetBrains dotTrace for the forthcoming .NET release of our PDF tools. Here are a couple of screenshots profiling … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

PDF Command Line Tools 1.3 and CamlPDF Progress

PDF Command Line Tools 1.3 now out, with new features for fonts, better splitting by bookmark, and dozens of smaller improvements. There will be a new release of CamlPDF in the next few months. It will be somewhat backward-incompatible due … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Building Cpdf into a .NET library – progress

I’ve been turning our cpdf PDF command line tools into a .NET DLL by cross-compiling it with F#. Here are a couple of screenshots of editing code using the library in C#. And here are a couple of screenshots of … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

On the Use of non-Tail-Recursive Functions In Commercial Code

Dear Customer, Attached is the software for which you paid several hundred pounds. It should work. Maybe on larger inputs it will fail. Sometimes several small parts of it will work, but when you put them together it will fail. … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

New Reviews of Old Books #57

Digital Typography, Donald E. Knuth, 1999 (Amazon) This collection of more than thirty articles and notes covering the Knuth’s foray into digital type in the late seventies and eighties. They range from font design (a whole chapter on the shape … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Compiling Code Under OCaml and F# (Part Two)

[Part One] Twenty thousand lines of CamlPDF and cpdf later, here are some numbers: Occasions on which conditional compilation is required: 22 Compilation warnings with fsc –no-warn 62: 15 Time taken: 22 hours The current executable appears to be about … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment