What is a “tight loop”?

From Wiktionary: (computing) In assembly languages, a loop which contains few instructions and iterates many times. (computing) Such a loop which heavily uses I/O or processing resources, failing to adequately share them with other programs running in the operating system. For case 1 it is probably like for (unsigned int i = 0; i < … Read more

Stateless vs Stateful

Stateless means there is no memory of the past. Every transaction is performed as if it were being done for the very first time. Stateful means that there is memory of the past. Previous transactions are remembered and may affect the current transaction. Stateless: // The state is derived by what is passed into the … Read more

What is “runtime”?

Runtime describes software/instructions that are executed while your program is running, especially those instructions that you did not write explicitly, but are necessary for the proper execution of your code. Low-level languages like C have very small (if any) runtime. More complex languages like Objective-C, which allows for dynamic message passing, have a much more … Read more

What are REST resources?

The reason why articles on REST resources are abstract is because the concept of a REST resource is abstract. It’s basically “whatever thing is accessed by the URL you supply”. So, in your example, the resource would be the list of two users starting at offset 5 in some bigger list. Note that, how the … Read more