cbor2 icon indicating copy to clipboard operation
cbor2 copied to clipboard

Static type checking, and possibly automatic generation of C code

Open Changaco opened this issue 3 years ago • 1 comments

cbor2 lacks type hints. In addition to enabling static type checking, these annotations might allow mypyc to automatically generate the C version of the module. (Back in #47, using Cython was considered for this but ultimately rejected due to performance concerns. Perhaps mypyc can do better.)

Changaco avatar May 26 '22 14:05 Changaco

Type hints are hopefully coming soon, I would also accept patches.

Sekenre avatar Jun 01 '22 13:06 Sekenre