I'm not sure of the possible drawbacks, but something like polyrpc seems promising for small projects where one intends to use Nim for both front end and back end.
You then still run the compiler twice, right? No additonal 'magic' on that front I presume?
