Project H0

H0 Byte Lab

Compare two text inputs with the byte-processing kernels from H0’s published benchmark. Your browser runs the WebAssembly module locally.

Byte sum A—
Byte sum B—
Sum of absolute differences—

Inputs use UTF-8 and can be up to 4,096 bytes each. The difference sum compares byte pairs up to the shorter input’s length.

__H0_SOURCE__

We built these two kernels into a 734-byte WebAssembly module using H0’s legacy C emitter and Clang. The benchmark on the main site uses native x64 binaries.