Comparing algorithms

March 24, 2020 Software 3 min

Reading Time: 3 minutes Algorithms are instructions on how to perform a task. Not all algorithms are created equal. Some are fast, some are excruciatingly slow. Most algorithms are affected by the size of the input (typically denoted by n). The first step to improve code performance is to measure it.


March 24, 2020 Apple Software 2 min

Reading Time: 2 minutes A window is an instance of the UIWindow class and it is the topmost element of any application UI's hierarchy. It doesn't draw any visual object and can be considered as a blank container for the UI elements called views. An application must have at least one window that normally fills the entire screen.

Rust: Variables and mutability

March 24, 2020 Rust Software < 1 min

Reading Time: < 1 minute By default, variables in Rust are immutable. When a variable is immutable, once a value is bound to a name, you can’t change that value. These checks are made at compile-time. Variables can be made mutable by adding mut in front of the variable name. Difference between variables and constants Constants are declared using the ...

Rust: Ownership

March 24, 2020 Rust Software 2 min

Reading Time: 2 minutes Rust neither uses garbage collection nor automatic reference counting nor manual memory management. It has chosen a rather different approach: memory is managed through a system of ownership with a set of rules that the compiler checks at compile time.

Rust: Data types

March 24, 2020 Rust Software 2 min

Reading Time: 2 minutes Rust is a statically typed language so it must know the types of all variables at compile time.

An intro to JavaScript Modules

March 24, 2020 JavaScript Software 4 min

Reading Time: 4 minutes Modules divide programs into clusters of code that, by some criterion, belong together. Most programming languages have a scope level between global (everyone can see it) and local (only this function can see it). JavaScript does not. The only way to create a new scope in JavaScript is with a function. Hence, modules are god sent.