GiggleLiu / NiLang.jl

A differential eDSL that can run faster than light and go back to the past.
https://giggleliu.github.io/NiLang.jl/dev
Apache License 2.0
250 stars 16 forks source link

Reversible arithmetic encoder #82

Open mvsoom opened 2 years ago

mvsoom commented 2 years ago

Hi, just an idea, feel free to close. Would it be possible to write a reversible arithmetic encoder? Such that the inverse of the encoder is the decoder. And you get differentiability for free.