May 14, 2024

Programming notes

1. Godbolt

Compiler explorer to explore the compiled version of source code in over 69 languages.

link <- https://godbolt.org


2. Computer systems a programmer's perspective


https://www.youtube.com/playlist?list=PLfVPl_AiRiJpLDkRfxqUH_9jmHLB-E4uz

3. C

A practical guide to programming in C.

link <- https://github.com/mcinglis/c-style

Advanced C 
link <- https://www.youtube.com/playlist?list=PL71Y0EmrppR0KyZvQWj63040UEzKQU7n8


4. CLang

Clang is an "LLVM native" C/C++/Objective-C compiler.

link <- https://clang.llvm.org/

Clang static analyser  <- https://clang-analyzer.llvm.org/

Clang tidy <- https://clang.llvm.org/extra/clang-tidy/


5. Brew

To switch off anonymous analytics

shell-session

brew analytics off

6. Pyenv

To install multiple python versions on a MacOS , pyenv seems to work well, here is how

shell-session

#To install pyenv

brew install pyenv

#To list all available python versions 

pyenv install -l

#To activate an environment globally

pyenv global <python_version>

#To activate an environment locally inside a folder 

pyenv local <python_version>