Skip to content

Commit

Permalink
update more notes in c++ programming
Browse files Browse the repository at this point in the history
  • Loading branch information
kekeandzeyu committed Nov 14, 2024
1 parent dfaa15a commit be0e7d2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 35 deletions.
7 changes: 0 additions & 7 deletions Writerside/cfg/static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,9 @@
src: url(../static/SF-Pro-Display-Medium.otf) format('opentype');
}

@font-face {
font-famile: "Jetbrains mono";
font-style: normal;
src: url(../static/JetBrainsMono-Regular.woff2) format('woff2');
}

:root {
--rs-font-family-ui: "SF Pro Text";
--rs-font-family-headers: "SF Pro Display";
--rs-font-family-mono: "Jetbrains mono";
}

td, th {
Expand Down
38 changes: 10 additions & 28 deletions Writerside/topics/C-Programming.topic
Original file line number Diff line number Diff line change
Expand Up @@ -39,52 +39,34 @@
<p><format color="BlueViolet">Compilation Advantages:</format></p>
<list>
<li>
<p>
<format color="Fuchsia">Excellent run-time performance:
</format>
</p>
<p>Generally much faster than Python or Java for comparable code
because it
<format color="OrangeRed">optimizes for the given
architecture
</format>
.
</p>
<p><format color="Fuchsia">Excellent run-time performance:</format></p>
<p>Generally much faster than Python or Java for comparable code because it
<format color="OrangeRed">optimizes for the given architecture</format>.</p>
</li>
<li>
<p>
<format color="Fuchsia">Fair compilation time:</format>
</p>
<p>Enhancements in compilation procedure (Makefiles) allow us to
<format color="OrangeRed">recompile only the modified files
</format>
.
</p>
<p><format color="Fuchsia">Fair compilation time:</format></p>
<p>Enhancements in compilation procedure (Makefiles) allow us to <format color="OrangeRed">recompile
only the modified files</format>.</p>
</li>
</list>
<p>
<format color="BlueViolet">Compilation Disadvantages:</format>
</p>
<list type="bullet">
<li>
<p>Compiled files, including the executable, are arcitecture-
specific (CPU type and OS).</p>
<p>Compiled files, including the executable, are arcitecture-specific (CPU type and OS).</p>
<list type="bullet">
<li>
<p>Executable must be
<format color="OrangeRed">rebuilt
</format>
on each new system.
</p>
<p>Executable must be <format color="OrangeRed">rebuilt</format> on each new system.</p>
</li>
<li>
<p>i.e. "porting your code" to a new architecture.</p>
</li>
</list>
</li>
<li>
<p>Instead of "Edit -> Run [repeat]" cycle, "Edit -> Compile ->
Run [repeat]" iteration cycle can be slow.</p>
<p>Instead of "Edit -> Run [repeat]" cycle, "Edit -> Compile -> Run [repeat]" iteration cycle can be
slow.</p>
</li>
</list>
<img src="../images_c/c1-1.png" alt="Compilation"/>
Expand Down

0 comments on commit be0e7d2

Please sign in to comment.