[SPCA] Restructre, some notes

This commit is contained in:
2026-01-04 13:59:33 +01:00
parent c7618f38a4
commit 4550168877
9 changed files with 22 additions and 10 deletions

View File

@@ -1,13 +1,15 @@
I can clearly C why you'd want to use C. Already sorry in advance for all the bad C jokes that are going to be part of this section
\begin{scriptsize}
\textit{I can clearly C why you'd want to use C. Already sorry in advance for all the bad C jokes that are going to be part of this section}
\end{scriptsize}
\texttt{C} is a compiled, low-level programming language, lacking many features modern high-level programming languages offer, like Object Oriented programming,
true Functional Programming (like Haskell implements), Garbage Collection, complex abstract datatypes and vectors, just to name a few.
(It is possible to replicate these using Preprocessor macros, more on this later).
On the other hand, it offers the ability to directly integrate assembly code into the \texttt{.c} files,
On the other hand, it offers low-level hardware access, the ability to directly integrate assembly code into the \texttt{.c} files,
as well as bit level data manipulation and extensive memory management options, again just to name a few.
This of course leads to \texttt{C} performing excellently and there are many programming languages who's compiler doesn't directly produce machine code or assembly,
This of course leads to \texttt{C} performing excellently and there are many programming languages whose compiler doesn't directly produce machine code or assembly,
but instead optimized \texttt{C} code that is then compiled into machine code using a \texttt{C} compiler.
This has a number of benefits, most notably that \texttt{C} compilers can produce very efficient assembly,
This has a number of benefits, most notably that \texttt{C} compilers can produce very efficient assembly,
as lots of effort is put into the \texttt{C} compilers by the hardware manufacturers.