What is the idiomatic way to create an infinite loop?
while(true){
calc();
}
I want to call the calc function forever. Only one function is called over and over again.
EDIT: One other thing I forgot to mention is that calc has side effects. It does some calculations and modifies a byte array.