Aussie AI

Software Architecture

  • Book Excerpt from "Generative AI in C++"
  • by David Spuler, Ph.D.

Software Architecture

If you're building a significant portion of the software architecture for your AI project, then nothing is more important to the speed of a program than its architecture. I mean, look at AI. The whole architecture is a massive fail, endlessly bloated with far too many weights and a brute-force algorithm. Sadly, that's the best we've come up with so far, but there's a lot of research about these architectural issues that will probably solve it.

Anyway, as a professional C++ programmer, it's not difficult to choose a better architecture for your AI project. Fortunately, the best software architecture in the world is well-known to everyone, and is clearly this one:

  • Object-oriented objects (OOO)
  • Client-server
  • Server-client
  • Message passing
  • Thin client
  • Gamification
  • Virtualization with Vectorization
  • Model-View-Controller (MVC)
  • UI-Application-Database (3-level)
  • Event-Driven Architecture (EDA)
  • #include "beer.h"
  • Clouds
  • Fog computing
  • Postel's law
  • RTFM
  • Microservices architecture
  • Service Oriented Architecture (SOA)
  • RESTful API architecture
  • Intelligent Autonomous Agent (IAA)
  • Intentional virality
  • Goto considered helpful

Actually, sorry, that wasn't the best architecture in the world; it was just a tribute.

 

Next:

Up: Table of Contents

Buy: Generative AI in C++: Coding Transformers and LLMs

Generative AI in C++ The new AI programming book by Aussie AI co-founders:
  • AI coding in C++
  • Transformer engine speedups
  • LLM models
  • Phone and desktop AI
  • Code examples
  • Research citations

Get your copy from Amazon: Generative AI in C++