Sorry for the necro but this posts appears quite high in google. There is a third approach, which is what NUE does: to reimplement a lean version of UHT at Nim's compile time and to take adv of the reflection system for making the bindings automatically. But @gmpreussner was right, it didnt happen over a weekend. Indeed, a year has pass and still we are not feature complete (although partly is because the aim is high).
<https://github.com/jmgomez/NimForUE>
