Posts

Showing posts from June, 2021

C++ Supersets

C++ Supersets Classes Templates Supersets Hierarchy of Generalization Supersets are Templates of Templates Supersets directly support generic programming in the form of using templates as parameters Superset allows a template to be a parameter in the definition of other templates Supersets can be used for a wide range of general concepts and simple ways to combine them A template generated from a superset is an ordinary template    one template example superset<templatename T>              T<typename C>                           …        T<typename B>             …   several templates example superset<templatename T, templatename S>        T<typename A>  ...

VIM

VIM V irtual I ntelligent M achines Self-Awareness Algorithm SelfA

HybridnetiX

Hybrid  Language Hybrid between Python and C++ Like C++ statically typed and compiled Like Python indented and interpreted Yes, it has both compiler and interpreter For different purposes Euclid algorithm Example : int euclid(int a int b) :: while b != 0 :: if a > b :: a : a - b else :: b : b - a return a