Resource-constrained Coding for Communication and Computation Applications