Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.46 KB

README.md

File metadata and controls

47 lines (29 loc) · 1.46 KB

CodePatterns

Exemplified Programming Interface Usages.

This project holds complete code samples for demonstrating archetypal usage of various application programming interfaces and common code patterns in those languages.

Files and Demonstrations

  1. host and service name resolution using getaddrinfo,

  2. syscall usages for socket, bind, listen, connect, etc.

  3. IO multiplexing with SysV poll. (See this for an argument against select)

  • Build Command: make CFLAGS="-Wall -Wextra" xtcp

  • Usage: xtcp [[bind-address] bind-port] connect-address connect-port (addresses and ports can be host and service names)

  • The newer IEEE-754 standards are more than just FP data formats. Here I've made a outline summary of the 2019 edition of the standard as a publicly available reference.
  • A discussion of C language integer types of my own.
  • Concurrent programming with async/await is nothing new under the sun.
  • Making sense of how the current forms of programming languages came about.

A discussion about some of the most complicated concepts with Unix/POSIX.