Skip to content

Commit 2581a3f

Browse files
committed
Merge branch 'master' of github.com:devRant-Community/Community-Programming-Book
2 parents 1d0555a + aa825ab commit 2581a3f

26 files changed

Lines changed: 358 additions & 98 deletions

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
keyfile
1+
keyfile
2+
node_modules
3+
_book/

book/SUMMARY.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
* [History](languages/assembly/history.md)
1414

15-
* [What it solves?](languages/assembly/what_it_solves.md)
15+
* [What it solves](languages/assembly/what_it_solves.md)
1616

1717
* [Advantages](languages/assembly/advantages.md)
1818

@@ -21,15 +21,24 @@
2121
* [Conclusion](languages/assembly/conclusion.md)
2222

2323
* [C++](languages/cpp/README.md)
24+
2425
* [Introduction](languages/cpp/intro.md)
2526

27+
* [History](languages/cpp/history.md)
28+
29+
* [Advantages](languages/cpp/advantages.md)
30+
31+
* [Disadvantages](languages/cpp/disadvantages.md)
32+
33+
* [Conclusion](languages/cpp/conclusion.md)
34+
2635
* [ABC](languages/abc/README.md)
2736

2837
* [Introduction](languages/abc/intro.md)
2938

3039
* [History](languages/abc/history.md)
3140

32-
* [What it solves?](languages/abc/what_it_solves.md)
41+
* [What it solves](languages/abc/what_it_solves.md)
3342

3443
* [Advantages](languages/abc/advantages.md)
3544

@@ -45,7 +54,7 @@
4554

4655
* [History](languages/python/history.md)
4756

48-
* [What it solves?](languages/python/what_it_solves.md)
57+
* [What it solves](languages/python/what_it_solves.md)
4958

5059
* [Advantages](languages/python/advantages.md)
5160

book/credits.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,8 @@ We have to thank these great people on helping to write this book. Everyone here
4141

4242
- [devRant](https://devrant.com/users/Skayo)
4343
- [GitHub](https://github.com/Skayo)
44+
45+
- Lucas Parzianello
46+
47+
- [devRant](https://devrant.com/users/lucaspar)
48+
- [GitHub](https://github.com/lucaspar)

book/languages/abc/conclusion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# A final word
1+
# Conclusion
22

33
ABC is an excellent attempt at making programming understandable and user-friendly. It has
44
introduced some terrific features which have inspired several other languages the most notable

book/languages/assembly/advantages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Where would you use assembly ?
1+
# Advantages
22

33
Currently assembly is used very rarely, because nowadays we use higher-level languages which are "translated" through an assembler to assembly and then assembly makes machine code out of it.
44
Since machine code and assembly are tied together, assembly can be used in applications where speed and performance is of importance, to optimize directly the machine code.

book/languages/assembly/conclusion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# A final word
1+
# Conclusion
22

33
Assembly language is a big leap from machine code towards higher level languages, but like any other programming language assembly also has its own set of advantages and disadvantages.
44

book/languages/assembly/disadvantages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Shortcomings
1+
# Disadvantages
22

33
Consider the same example as in the previous section to add two numbers, lets say 1 and 2, but this time it is written in C.
44

book/languages/assembly/history.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Creation
1+
# History
2+
3+
## Creation
24

35
The first Assembly Language was developed by Kathleen Booth in 1947 for the ARC2 at Birkbeck, University of London following work with John von Neumann and Herman Goldstine at the Institute for Advanced Study.
46
After this several other variations of Assembly Language have been developed and higher abstractions of the language have been created.

book/languages/assembly/what_it_solves.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Why Assembly?
1+
# What it solves
22

33
Consider this instruction, where we have to add the two numbers 1 and 2.
44

@@ -31,4 +31,4 @@ add x7 x5 x6
3131
```
3232

3333
The purpose of an assembly language can easily be seen with the help of the above example. Assembly language with the help of its syntax makes it easier to code and not worry about trivial tasks such as opcodes, address calculations, etc. Mistakes if any can easily identified in assembly
34-
rather than in binary. Imagine finding such mistakes in a pool of 0's and 1's!
34+
rather than in binary. Imagine finding such mistakes in a pool of 0's and 1's!

book/languages/cpp/advantages.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Advantages
2+
3+
C++ is a high performance language, and when used correctly, can give performance seconded only by the likes of C and Assembly. Therefore, any application which requires high performance, like
4+
even finance and stock based applications, highly benefit by utilizing C++ language to build the codebase with.
5+
6+
Being one of the most popular languages, it has a very large community backing which is quite helpful, especially, when one encounters some trouble or issue. Since there is great community support,
7+
it also has a slew of various libraries which can be used to enhance the application or make it easier to develop. Be it graphics, audio, network, input, and even AI and Machine Learning, C++
8+
contains libraries for all of them. One should also understand that C++ supports code which is written in C. Hence, any library or piece of code which is written in C, works with C++ directly
9+
without any modification.
10+
(Note: C++ supports C, but the internal architecture of both languages are quite different so do **not** consider C to be a part of C++ and the code design choices between C and C++ can also
11+
differ significantly)
12+
13+
The language is highly sought after for game development as well. Video games require heavy performance to accomplish the exuberant amount of calculations and processing. C++ fits this scenario
14+
perfectly. Hence, most games use C++ as the language of choice for development. There are many engines available for game development as well, most significantly, the *Unreal Engine*.
15+
16+
One may have heard of Google's *Tensor Flow* - the highly acclaimed and lauded Artificial Intelligence library. Although it is used from Python, the library itself is built primarily using C++.
17+
That alone states how powerful this language can be in many areas.
18+
19+
But, there are cases when using C++ is simply not worth it. Let's take a look into that.

0 commit comments

Comments
 (0)