Programming languages are very far removed from what's actually going on.
You could express the do forever loop as label: startofloop Workload Goto startofloop
If you want the details: you just put the instructions pointer back to the start of loop and get the stack in that state, too.
But the use of goto is generally discouraged. Please note that some programming languages allow the compiler to do anything they want if there is an infinite loop, even texting your ex. (This is for optimization reasons and not maliciousness)