Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1016 Bytes

important-programming-concepts.md

File metadata and controls

21 lines (13 loc) · 1016 Bytes

Important programming concepts

Records - group of items that allow indexed access to each item (structs)

Lexically scoped closures - procedure combined with it's external references (everything that it references outside of itself). Think of it as piece of work that can be passed around run at any time.

Independence (concurrency) - activities can evolve independently, can run concurrently. Most popular ideas are shared-state and message-passing.

Named state - a piece of state can be given a name. State can be thought of as am abstract representation of time in a program.

Paradigms

  • OOP -
  • Functional programming (FP) -
  • Reactive programming (RP) -
  • Functional reactive programming (FRP) -
  • Transactional vs streaming applications -

Thread pool

  • TP allows us to achieve concurrent execution in a computer program. It is a pool of threads that wait to be allocated tasks for concurrent execution by a program. Thread pool size is a number of threads available ready to execute tasks.