3 ms·
> Cap'n Proto, for example, loses much of its performance benefits on the JVM without the use of sun.misc.unsafe Not actually true. `ByteBuffer` lets you read
by kentonv 10y ago
> Cap'n Proto, for example, loses much of its performance benefits on the JVM without the use of sun.misc.unsafe
Not actually true. `ByteBuffer` lets you read integers from arbitrary offsets, which is all Cap'n Proto really wants.