Uploaded on May 31, 2021
PPT on What are Libraries in Programming Language
What are Libraries in Programming Language
WHAT ARE LIBRARIES IN
PROGRAMMING LANGUAGE?
What is a library?
In programming, a definition
of library can be following: a
collection of pre-compiled
and non-volatile routines
used by programs.
These routines, sometimes
called modules, can include
configuration data,
documentation, message
templates, subroutines,
classes, values or type
specifications.
Source: medium.com
Why Use Software
Libraries?
Software libraries are
collections of useful and
common functions, data,
(object) classes, values, or
data types that you may use
in the normal course of
programming work.
Source: medium.com
How Do Libraries
Work?
There are many ways a
software library may exist.
Python would add some code
to bind the defined C
functions to a variable to
access those functions.
Once complete, Python will
need to know the location of
this new library.
Source: medium.com
NumPy
Primary Language: Python
Use: NumPy is a library used
to make powerful arrays. For
machine learning, NumPy
divides the data and
manipulates it easily.
Source: www.idtech.com
Matplotlib
Primary Language: Python
Use: Going off of the above,
Matplotlib is used with
NumPy to help with datasets.
Specifically, Matplotlib
handles large datasets and
comes complete with
standard graphing functions.
It’s also useful for visualizing
values over time.
Source: www.idtech.com
TensorFlow
Primary Language: Python or
C++
Use: TensorFlow is a library
developed by Google to
facilitate the creation and
training of machine learning
models and neural networks.
It can be used to create and
train machine learning
models.
Source: www.idtech.com
Keras
Primary Language: Python
Use: Keras is also a library
developed to facilitate the
creation and training of
machine learning models and
neural networks. But going
off the above, Keras was
introduced to simplify
TensorFlow. This library can
make machine learning
significantly easier and it still
uses TensorFlow as a
backend.
Source: www.idtech.com
Pillow
Primary Language: Python
Use: In Python, you can use
the Pillow library to create
bitmap images.
Source: www.idtech.com
SFML
Primary Language: C++
Use: The Simple and Fast
Multimedia Library (SFML) is
a library that allows for the
creation of images,
generation of sound effects,
and even connecting of
multiple computers.
Source: www.idtech.com
p5
Primary Language: JavaScript
Use: p5.js is one of the most
well-known JavaScript
libraries with tons of built-in
code.
Source: www.idtech.com
Comments