The evidence-led FIX engine

LibHFT

The shortest, most defensible path from FIX message to market.

LibHFT lets teams choose native C++, independent Java/.NET engines, or native-backed providers without surrendering the FIX contract: measured tails, protocol-correct work, and repeatable cross-engine evidence.

LibHFT: source, evidence, operations Actual source and Workbench UI; deterministic local GUI fixture; published benchmark scope shown in film.

Language surfaces

A single FIX-critical path across native C++, Java, .NET and a benchmarked Rust adapter.

Tail evidence

Peer results and percentile markers stay tied to the stated cross-machine measurement contract.

Visible operations

The read-only Workbench makes fleet health, session state and conformance evidence inspectable locally.

CROSS-MACHINE LATENCY EVIDENCEFIXED-CORE · ONLOAD · 10K × 3
$ bench_roundtrip --scenario nos_er --transport onload
NOS → ER p508.85 µscross-machine Onload
p9910.16 µstight 1.31 µs envelope
p99.911.0 µs30,000 round-trip latency samples

Fresh native-lane result: a closed-loop NewOrderSingle → ExecutionReport round trip, with fixed client/server cores. Read the benchmark record A separate open-load contract measures a 50,000-message/s aggregate; its pacing and latency evidence are reported independently.

Performance you can interrogate

Fast at the median. Controlled at the tail.

Latency is only valuable when the measurement contract is credible. LibHFT records the message path, transport, cores, samples, percentile tails and comparable work—not just a convenient headline.

CDF-STYLE · RECONSTRUCTEDNOS → ER, native Onload
lower is better
p50 8.85 µs p99 10.16 µs p99.9 11.0 µs 0%25%50%75%100%67891011+round-trip latency (µs)
This is a percentile profile reconstructed from the reported p50, p99 and p99.9—not a plotted raw-sample CDF. The complete benchmark record documents the cross-machine topology, Onload configuration, fixed cores and raw-sample workflow.
01

30,000 latency samples

10,000 closed-loop round trips across three runs—not a single lucky trace.

02

1.65× faster

Than the measured NexusFIX NOS→ER p50 in the same fresh native Onload lane.

03

30% lower p50

With Onload than LibHFT’s equivalent plain-TCP path on the measured contract.

THE MEASURED NATIVE LANE

Fresh cross-machine Onload NOS → ER. Same fixed-core contract; p50/p99/p99.9 in µs, lower is better.

Enginep50p99p99.9LibHFT advantage
LibHFT8.8510.1611.0Reference
NexusFIX14.6115.4116.281.65×
Fix830.431.93.4×
QuickFIX/C++121.8123.9124.913.8×

Architecture freedom without a FIX rewrite

Five runtime surfaces. One source-checked session contract.

Choose the implementation ownership that fits the desk: native C++, independent Java or .NET engines, or Java/.NET APIs over the C++ engine. The matrix is generated from source evidence, so the capability claim stays tied to what each surface actually implements.

5deployable surfaces
27/27session behaviours across every surface
17/17tracked typed FIX message types
SurfaceImplementation ownershipTracked API capabilitySession protocol
C++Native C++ reference73/7311 deliberate n/a27/27
Java pureIndependent Java session and codec engine84/8427/27
Java/JNIJava API over the C++ engine83/831 deliberate n/a27/2713 inherited from engine
.NET managedIndependent C# session and codec engine81/813 deliberate n/a27/27
.NET nativeC# API over hftnet / C++ engine81/813 deliberate n/a27/2713 inherited from engine
01

Modernise without a capability downgrade

Every portable C++ capability tracked by the inventory is present in Java pure, .NET managed and .NET native—so a runtime decision does not force a thinner FIX contract.

02

Make ownership explicit

Independent managed engines and C++-backed providers are labelled separately. Inherited protocol behaviour is visible, never implied by a generic “supported” badge.

03

Build for the failure path too

The 27-behaviour protocol ledger covers logon, heartbeat, resend, gap fill, rejects, reconnect, durable sequence state and controlled recovery—not only happy-path sends.

The capability inventory is generated and checked against source in conformance runs. “n/a” is an intentionally recorded scope decision, not a hidden gap. Inspect the binding coverage matrix

Protocol breadth, without a reinvention project

Bring the QuickFIX dictionary. Choose the better engine.

LibHFT loads QuickFIX-format XML dictionaries at runtime, so the protocol asset your counterparties already speak can move with you. Standard versions are bundled, generated-table paths stay distinct from runtime loading, and the proof is kept in the source tree.

STANDARD FIX DICTIONARIESFIX 4.0 → FIX 5.0 SP2

Bundled QuickFIX-format inputs for FIX 4.0, 4.1, 4.2, 4.3, 4.4, 5.0, 5.0 SP1, 5.0 SP2 and FIXT 1.1—runtime-loadable on every LibHFT surface.

  • FIX 4.0
  • FIX 4.1
  • FIX 4.2
  • FIX 4.3
  • FIX 4.4
  • FIX 5.0
  • FIX 5.0 SP1
  • FIX 5.0 SP2
  • FIXT 1.1
9bundled standard dictionary inputs
5runtime surfaces that load them
FAST 1.1

Generated where the codec is owned.

Template-specific FAST code generation is available in C++, pure Java and managed .NET. Java/JNI and .NET native expose the underlying FAST primitives; neither is presented as a whole-message codec or venue certification.

SBE

Codec, bus and venue evidence—not one vague label.

Generated SBE codecs, framing and UDP/multicast/mapped-memory paths are available in C++, Java and .NET. The native venue lane capture-replays CME MDP 3.0 market data; CME iLink 3/FIXP and B3 Entry Point remain explicitly scoped framing or schema slices, not completed session runners.

ACTIVE / PASSIVE HA

Fail over without resetting the conversation.

Two instances arbitrate one durable store, the standby retries with backoff, promotion restores sequence state, and the counterparty sees continuity. These active/passive building blocks span all five runtime surfaces—never dressed up as replicated or hot/hot HA.

EXCHANGE-PROTOCOL EVIDENCE

Named feeds. Independently sourced packets. Exact boundaries.

LibHFT’s native venue library does not stop at generic binary framing: its decoder and framing slices are replayed against independently sourced packet captures, so a self-consistent parser cannot certify itself.

CAPTURE-REPLAYED NATIVE LANEVenue bytes are a test oracle, not a marketing prop.

Capture replay exercises actual packet structure alongside the implementation and marks the exact protocol/message boundary. That is stronger evidence than a hand-built fixture, while still remaining distinct from exchange certification.

SELECTED CAPTURE-REPLAYED PROTOCOL FAMILIES
  • CME MDP 3.0 · SBE
  • Cboe PITCH / BOE
  • Nasdaq TotalView ITCH
  • Nasdaq UQDF / QBBO
  • IEX DEEP / TOPS
  • NYSE XDP
  • Eurex EOBI
  • B3 Binary UMDF
  • ASX NTP ITCH
  • MEMX MEMOIR
  • Japannext OUCH

Evidence boundary: the native venue inventory includes decoder/framing slices at protocol-specific scope. “Capture-replayed” is not a claim of a production session runner, counterparty onboarding, certification or venue support for every message in a family.

QUICKFIX MIGRATIONInventory. Reuse the dictionary. Verify the behaviour.

Keep protocol definitions familiar while moving the hot path, runtime ownership and latency evidence forward.

Inspect the migration assessment

Protocol coverage is generated from checked-in artefacts and conformance-checked. FAST, SBE and venue scopes are deliberately qualified above; limited capture evidence is not venue certification. Inspect the protocol breadth matrix Inspect venue evidence Inspect HA evidence

Proof, not performance theatre

Every claimed win has to do the work.

LibHFT’s benchmark harness compares codec behaviour across 19 engines in five languages. Mutation tests deliberately change business fields while preserving FIX framing, so an adapter cannot look fast by silently skipping extraction.

19engine adapters
5runtime families
55negative parity probes
0tolerance for skipped field work

The engineering advantage

Choose the engine that makes the critical path visible.

For firms where a few microseconds, a recovery edge case or an unmeasured tail can change an outcome, LibHFT turns the FIX stack into an engineering advantage. Start with the source, inspect the evidence, then design the deployment around your own hardware and market workflow.

Plan a LibHFT architecture session