SlideShare una empresa de Scribd logo
1 de 12
Descargar para leer sin conexión
About c++
facts
C++ development began in 1979, four years before its release,
and it did not start with the name C++; Its first name was C with
classes.
1
In the late part of 1983, C withClasses was first usedfor
AT&T's internal programming needs.2
Its name was changed toC++ later inthe same
year, C++ was not releasedcommercially until the
late part of 1985.3
C++ implements dataabstractionusing aconcept called
classes, along withother features toallow object-oriented
programming and is consideredahigh-level language4
About c++
facts
Python is an interpreted, high-level, general-purpose
programming language. Created by Guido van Rossum and first
released in 1991
1
Python features adynamic type systemandautomatic
memory management.2
It supports multiple programming paradigms, including
object-oriented, imperative, functional andprocedural.
It alsohas a comprehensive standardlibrary.3
Python has a designphilosophy that emphasizes code readability,
notably using significant whitespace. It provides constructs that
enable clear programming onboth small and large scales.4
STEP
01
A wide range of
applications, varying
from simple GUI
applications to vivid
3D games and real-
time mathematical
simulations
02
STEP
Highly portable, a top
choice for multi-device,
multi-platform
development
STEP
03
Object-oriented
programming language
leveraging classes, data
abstraction and
encapsulation, inheritance,
and polymorphism
04
STEP
Efficient, fast, and
powerful
Rich function library
C++
Highlights
STEP
01
Used for prototyping
and testing code that
is later to be
implemented using
other programming
languages
02
STEP
High-level language
with high readability
and reliability
STEP
03
Python programs are easy
to modify for supporting
different database
engines
04
STEP
Active community
support and rapid
development
python
Highlights
Uses of c++
➢ C++ is used by programmers to create computersoftware. It is used to create general systems
software, drivers for various computerdevices, software for servers and software for specific
applicationsand also widely used in the creation of video games.
➢ C++ is used by many programmers of different types and coming from different fields. C++ is
mostly used to write device driver programs, system software, and applicationsthat depend on
direct hardware manipulationunderreal-time constraints.
➢ It is used to teach the basics of object-orientedfeatures because it is simple
➢ it is used in the fields of research. Also, many primary user interfaces and system files of
Windows and Macintosh are written using C++.
Uses of python
➢ Python is object-orientedStructuresupportssuch conceptsas polymorphism, operation
overloading, and multipleinheritance.
➢ It's free (open source) Downloadingand installing Python is free and easy Source code is easily
accessible
➢ It's powerful - Dynamic typing - Built-in types and tools- Library utilities - Third party -
Automatic memory management
➢ It's portable - Python runs virtually every major platformused today - As long as you have a
compatiblePython interpreterinstalled, Python programs will run in exactly the same manner,
irrespective of platform
High performance.
Low-level systems programming.
Available everywhere and reasonably well
standardized
The compile/debug/nap development cycle.
Difficulty of extending and modifying.
Non-interactive.
Writing user-interfaces
Writing graphical uer-interfaces (worse).
High level programming.
Systems integration (gluing components
together)
C++ Programming
The bad
A lot of good quality libraries and tools
Internet
Syntax is very easy to read and learn
Free dev environment and tools (as starter)
no browser support (js monopoly)
weak support for mobile
execution is slow compared to compiled code
dynamic typing, running errors
class defs, self, parent constructor
private/protected
modules path are dynamic syspath.append is
to popular
C++ Programming
The bad
C++ vs python
➢ Python code runs on all operating systems with Python installed on the same.
➢ This isn’t, however, the case with C++, which necessitates being recompiledevery time
the code is to be run on a machine with a different operating system.
➢ Unlike C++, a variable can be useddirectly without the need of its declaration in Python
code.
➢ C++ uses pointers to a great extent and doesn’t offer garbage collection. Hence, it is
prone to a memory leak. For efficient memory management
C++ vs python
➢ Python comes with a built-in dynamic memory allocation and garbage collection features.
➢ While Python is a high-level language, C++ is an intermediate-level programming language.
➢ C++ requires a declaration of a datatype before using it. In addition to lessening the ambiguity of the
code, this easies error handling. The downside of this is that the code becomes extensive.
➢ Python drops the need of mentioning the type of data before using it, hence the code becomes
shorter. Consequently, error handling becomes difficult.
➢ C++ supports OOPS functionalities, including classes, operator overloading, and virtual functions.
Python doesn’t.
Ali alshehri c++_comparison between c++&python

Más contenido relacionado

La actualidad más candente

Comparison between python and c++
Comparison between python and c++Comparison between python and c++
Comparison between python and c++ssusera7faf41
 
Python tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academyPython tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academyTIB Academy
 
POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE teachersduniya.com
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to pythoneShikshak
 
Introduction of python programming
Introduction of python programmingIntroduction of python programming
Introduction of python programmingNitin Kumar Kashyap
 
IHTM Python PCEP Introduction to Python
IHTM Python PCEP Introduction to PythonIHTM Python PCEP Introduction to Python
IHTM Python PCEP Introduction to PythonIHTMINSTITUTE
 
Introduction to python programming
Introduction to python programmingIntroduction to python programming
Introduction to python programmingKiran Vadakkath
 
Python 101 for the .NET Developer
Python 101 for the .NET DeveloperPython 101 for the .NET Developer
Python 101 for the .NET DeveloperSarah Dutkiewicz
 
Python, the Language of Science and Engineering for Engineers
Python, the Language of Science and Engineering for EngineersPython, the Language of Science and Engineering for Engineers
Python, the Language of Science and Engineering for EngineersBoey Pak Cheong
 
Python course syllabus
Python course syllabusPython course syllabus
Python course syllabusSugantha T
 
Introduction to python programming, Why Python?, Applications of Python
Introduction to python programming, Why Python?, Applications of PythonIntroduction to python programming, Why Python?, Applications of Python
Introduction to python programming, Why Python?, Applications of PythonPro Guide
 
Computer languages
Computer languagesComputer languages
Computer languageswow_so
 
Unit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introductionUnit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introductionAKR Education
 

La actualidad más candente (20)

Comparison between python and c++
Comparison between python and c++Comparison between python and c++
Comparison between python and c++
 
Python tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academyPython tutorial for beginners - Tib academy
Python tutorial for beginners - Tib academy
 
Python Online From EasyLearning Guru
Python Online From EasyLearning GuruPython Online From EasyLearning Guru
Python Online From EasyLearning Guru
 
POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Introduction of python programming
Introduction of python programmingIntroduction of python programming
Introduction of python programming
 
IHTM Python PCEP Introduction to Python
IHTM Python PCEP Introduction to PythonIHTM Python PCEP Introduction to Python
IHTM Python PCEP Introduction to Python
 
Python for beginners
Python for beginnersPython for beginners
Python for beginners
 
Introduction to python programming
Introduction to python programmingIntroduction to python programming
Introduction to python programming
 
Python 101 for the .NET Developer
Python 101 for the .NET DeveloperPython 101 for the .NET Developer
Python 101 for the .NET Developer
 
Basics of python
Basics of pythonBasics of python
Basics of python
 
Python, the Language of Science and Engineering for Engineers
Python, the Language of Science and Engineering for EngineersPython, the Language of Science and Engineering for Engineers
Python, the Language of Science and Engineering for Engineers
 
Python course syllabus
Python course syllabusPython course syllabus
Python course syllabus
 
Introduction to python programming, Why Python?, Applications of Python
Introduction to python programming, Why Python?, Applications of PythonIntroduction to python programming, Why Python?, Applications of Python
Introduction to python programming, Why Python?, Applications of Python
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Python
PythonPython
Python
 
Unit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introductionUnit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introduction
 
Limitations of python
Limitations of pythonLimitations of python
Limitations of python
 
Why learn python in 2017?
Why learn python in 2017?Why learn python in 2017?
Why learn python in 2017?
 
Introduction to python
 Introduction to python Introduction to python
Introduction to python
 

Similar a Ali alshehri c++_comparison between c++&python

Python_final_print_vison_academy_9822506209.pdf
Python_final_print_vison_academy_9822506209.pdfPython_final_print_vison_academy_9822506209.pdf
Python_final_print_vison_academy_9822506209.pdfVisionAcademyProfSac
 
intro.pptx (1).pdf
intro.pptx (1).pdfintro.pptx (1).pdf
intro.pptx (1).pdfANIKULSAIKH
 
Introduction to python for Beginners
Introduction to python for Beginners Introduction to python for Beginners
Introduction to python for Beginners Sujith Kumar
 
Python Tutorial | Python Programming Language
Python Tutorial | Python Programming LanguagePython Tutorial | Python Programming Language
Python Tutorial | Python Programming Languageanaveenkumar4
 
Python_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy.pdfPython_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy.pdfbhagyashri686896
 
Python_final_print_batch_II_vision_academy (1).pdf
Python_final_print_batch_II_vision_academy (1).pdfPython_final_print_batch_II_vision_academy (1).pdf
Python_final_print_batch_II_vision_academy (1).pdfrupaliakhute
 
Python_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy.pdfPython_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy.pdfsannykhopade
 
Python_vision_academy notes
Python_vision_academy notes Python_vision_academy notes
Python_vision_academy notes rajaniraut
 
Module1-Chapter1_ppt.pptx
Module1-Chapter1_ppt.pptxModule1-Chapter1_ppt.pptx
Module1-Chapter1_ppt.pptxSandeepR95
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1Kanchilug
 
Summer training PPT Manasv Singharia.pptx
Summer training PPT Manasv Singharia.pptxSummer training PPT Manasv Singharia.pptx
Summer training PPT Manasv Singharia.pptxshokeenk14
 
Phython Programming Language
Phython Programming LanguagePhython Programming Language
Phython Programming LanguageR.h. Himel
 
Programming in python in detail concept .pptx
Programming in python in detail concept .pptxProgramming in python in detail concept .pptx
Programming in python in detail concept .pptxKavitha713564
 
Python Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & TechPython Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & TechRamanamurthy Banda
 
session5-Getting stated with Python.pdf
session5-Getting stated with Python.pdfsession5-Getting stated with Python.pdf
session5-Getting stated with Python.pdfAyushDutta32
 
Python programming language introduction unit
Python programming language introduction unitPython programming language introduction unit
Python programming language introduction unitmichaelaaron25322
 
Simple calulator using GUI tkinter.pptx
Simple calulator using GUI tkinter.pptxSimple calulator using GUI tkinter.pptx
Simple calulator using GUI tkinter.pptxYashSharma357857
 

Similar a Ali alshehri c++_comparison between c++&python (20)

Python_final_print_vison_academy_9822506209.pdf
Python_final_print_vison_academy_9822506209.pdfPython_final_print_vison_academy_9822506209.pdf
Python_final_print_vison_academy_9822506209.pdf
 
intro.pptx (1).pdf
intro.pptx (1).pdfintro.pptx (1).pdf
intro.pptx (1).pdf
 
Introduction to python for Beginners
Introduction to python for Beginners Introduction to python for Beginners
Introduction to python for Beginners
 
Python Tutorial | Python Programming Language
Python Tutorial | Python Programming LanguagePython Tutorial | Python Programming Language
Python Tutorial | Python Programming Language
 
Python_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy.pdfPython_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy.pdf
 
Python_final_print_batch_II_vision_academy (1).pdf
Python_final_print_batch_II_vision_academy (1).pdfPython_final_print_batch_II_vision_academy (1).pdf
Python_final_print_batch_II_vision_academy (1).pdf
 
Python_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy.pdfPython_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy.pdf
 
Python_vision_academy notes
Python_vision_academy notes Python_vision_academy notes
Python_vision_academy notes
 
Module1-Chapter1_ppt.pptx
Module1-Chapter1_ppt.pptxModule1-Chapter1_ppt.pptx
Module1-Chapter1_ppt.pptx
 
Python Programming Draft PPT.pptx
Python Programming Draft PPT.pptxPython Programming Draft PPT.pptx
Python Programming Draft PPT.pptx
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1
 
Summer training PPT Manasv Singharia.pptx
Summer training PPT Manasv Singharia.pptxSummer training PPT Manasv Singharia.pptx
Summer training PPT Manasv Singharia.pptx
 
Phython Programming Language
Phython Programming LanguagePhython Programming Language
Phython Programming Language
 
ppt summer training ug.pptx
ppt summer training ug.pptxppt summer training ug.pptx
ppt summer training ug.pptx
 
Programming in python in detail concept .pptx
Programming in python in detail concept .pptxProgramming in python in detail concept .pptx
Programming in python in detail concept .pptx
 
Python Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & TechPython Programming Unit1_Aditya College of Engg & Tech
Python Programming Unit1_Aditya College of Engg & Tech
 
session5-Getting stated with Python.pdf
session5-Getting stated with Python.pdfsession5-Getting stated with Python.pdf
session5-Getting stated with Python.pdf
 
Research paper on python by Rj
Research paper on python by RjResearch paper on python by Rj
Research paper on python by Rj
 
Python programming language introduction unit
Python programming language introduction unitPython programming language introduction unit
Python programming language introduction unit
 
Simple calulator using GUI tkinter.pptx
Simple calulator using GUI tkinter.pptxSimple calulator using GUI tkinter.pptx
Simple calulator using GUI tkinter.pptx
 

Último

2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 

Último (20)

2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 

Ali alshehri c++_comparison between c++&python

  • 1.
  • 2. About c++ facts C++ development began in 1979, four years before its release, and it did not start with the name C++; Its first name was C with classes. 1 In the late part of 1983, C withClasses was first usedfor AT&T's internal programming needs.2 Its name was changed toC++ later inthe same year, C++ was not releasedcommercially until the late part of 1985.3 C++ implements dataabstractionusing aconcept called classes, along withother features toallow object-oriented programming and is consideredahigh-level language4
  • 3. About c++ facts Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991 1 Python features adynamic type systemandautomatic memory management.2 It supports multiple programming paradigms, including object-oriented, imperative, functional andprocedural. It alsohas a comprehensive standardlibrary.3 Python has a designphilosophy that emphasizes code readability, notably using significant whitespace. It provides constructs that enable clear programming onboth small and large scales.4
  • 4. STEP 01 A wide range of applications, varying from simple GUI applications to vivid 3D games and real- time mathematical simulations 02 STEP Highly portable, a top choice for multi-device, multi-platform development STEP 03 Object-oriented programming language leveraging classes, data abstraction and encapsulation, inheritance, and polymorphism 04 STEP Efficient, fast, and powerful Rich function library C++ Highlights
  • 5. STEP 01 Used for prototyping and testing code that is later to be implemented using other programming languages 02 STEP High-level language with high readability and reliability STEP 03 Python programs are easy to modify for supporting different database engines 04 STEP Active community support and rapid development python Highlights
  • 6. Uses of c++ ➢ C++ is used by programmers to create computersoftware. It is used to create general systems software, drivers for various computerdevices, software for servers and software for specific applicationsand also widely used in the creation of video games. ➢ C++ is used by many programmers of different types and coming from different fields. C++ is mostly used to write device driver programs, system software, and applicationsthat depend on direct hardware manipulationunderreal-time constraints. ➢ It is used to teach the basics of object-orientedfeatures because it is simple ➢ it is used in the fields of research. Also, many primary user interfaces and system files of Windows and Macintosh are written using C++.
  • 7. Uses of python ➢ Python is object-orientedStructuresupportssuch conceptsas polymorphism, operation overloading, and multipleinheritance. ➢ It's free (open source) Downloadingand installing Python is free and easy Source code is easily accessible ➢ It's powerful - Dynamic typing - Built-in types and tools- Library utilities - Third party - Automatic memory management ➢ It's portable - Python runs virtually every major platformused today - As long as you have a compatiblePython interpreterinstalled, Python programs will run in exactly the same manner, irrespective of platform
  • 8. High performance. Low-level systems programming. Available everywhere and reasonably well standardized The compile/debug/nap development cycle. Difficulty of extending and modifying. Non-interactive. Writing user-interfaces Writing graphical uer-interfaces (worse). High level programming. Systems integration (gluing components together) C++ Programming The bad
  • 9. A lot of good quality libraries and tools Internet Syntax is very easy to read and learn Free dev environment and tools (as starter) no browser support (js monopoly) weak support for mobile execution is slow compared to compiled code dynamic typing, running errors class defs, self, parent constructor private/protected modules path are dynamic syspath.append is to popular C++ Programming The bad
  • 10. C++ vs python ➢ Python code runs on all operating systems with Python installed on the same. ➢ This isn’t, however, the case with C++, which necessitates being recompiledevery time the code is to be run on a machine with a different operating system. ➢ Unlike C++, a variable can be useddirectly without the need of its declaration in Python code. ➢ C++ uses pointers to a great extent and doesn’t offer garbage collection. Hence, it is prone to a memory leak. For efficient memory management
  • 11. C++ vs python ➢ Python comes with a built-in dynamic memory allocation and garbage collection features. ➢ While Python is a high-level language, C++ is an intermediate-level programming language. ➢ C++ requires a declaration of a datatype before using it. In addition to lessening the ambiguity of the code, this easies error handling. The downside of this is that the code becomes extensive. ➢ Python drops the need of mentioning the type of data before using it, hence the code becomes shorter. Consequently, error handling becomes difficult. ➢ C++ supports OOPS functionalities, including classes, operator overloading, and virtual functions. Python doesn’t.