An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

wireform-proto

A high-performance Protocol Buffers implementation for Haskell. . Features: . * .proto IDL parser (proto2 + proto3) and pure-text Haskell code generator * Annotation-driven Template Haskell deriver (Proto.TH.Derive) that emits wire codecs directly from a hand-written Haskell record * loadProto Template Haskell splice that pairs the IDL parser with the deriver for in-place type and instance generation * Allocation-disciplined hot path: unboxed-sum decoder, two-pass sized encoder, pre-computed tags, packed repeated fields, lazy submessage decoding * protoc plugin (protoc-gen-wireform), Cabal Setup.hs hook (Proto.Setup), and an inline [proto|...|] quasi-quoter * Proto3 canonical JSON mapping, well-known types (Timestamp, Duration, Any, FieldMask, Struct, Wrappers, ...), .pbtxt text format, proto2 typed extensions, dynamic / untyped messages, and a runtime TypeRegistry * gRPC service-method codegen (the wire framing lives in wireform-grpc) * Conformance suite driver that runs the upstream conformance_test_runner end-to-end . See the umbrella package wireform for the multi-format facade and the wireform-gen codegen CLI. . Performance tip: compiling with ghc-options: -fllvm alongside -O2 typically yields 20-30% throughput gains on the encode/decode hot paths. LLVM produces better instruction scheduling and vectorisation for the unboxed-sum decoder and the sized-builder arithmetic. The default native code generator works correctly; LLVM is strictly optional.

Ecosystem
hackage.haskell.org
Latest Release
0.1.0.0
about 7 hours ago
Versions
1
Downloads
0 total
Links
Registry hackage.haskell.org
Source Repository
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/wireform-proto
spec
License BSD-3-Clause
First Release about 7 hours ago
Last Synced about 7 hours ago