Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Evolution of
COMPUTING &
ProgramminG
languages
Dec 11, 2016
UPES, Dehradun
AGENDA
Historical Perspective
✣ Birth of computing
✣ History of languages
✣ High Level Languages
++++++++++++++++
Fun Quiz...
Hello everyone !
I am Deepak Shevani
Currently working at Flipkart, building next generation e-commerce
platforms. I like ...
1.
HISTORICAL PERSPECTIVE
Understand roots of computing &
birth of programming languages
this
CHAP ?
he started it all in 60 AD ...
Hero of Alexandria
✣ c. 10 AD – c. 70 AD
✣ greek mathematician & engineer
✣ Thomas Edison of the ancient world
✣ active in...
Hero of Alexandria
Invented first “programmable puppet theater"
.... An upper bin is filled
with grain or sand, which grad...
1800 years ...... not much progress in the programming world
UNTIL
HE CAMEaround 1800 ...
Joseph Marie Jacquard
... invented Jacquard loom & demonstrated
in 1801, that created patterns on rugs and
mats. This simp...
Joseph Marie Jacquard
✣ 7 July 1752 – 7 August 1834
✣ Jacquard power looms
✣ french weaver and merchant
✣ contributed to p...
THEN ...... comes the era of machines that could do calculations
1791
to
1871
Portrait from the Illustrated London News, Nov. 4, 1871
Charles Babbage (1840)
✣ asked parliament 1M pounds for business
✣ first person in computer business
✣ dreamed of calculat...
SOMEONE... did write software for engine that was only on paper
WORLD's
FIRST
COMPUTER
PROGRAMMER
... Ada Lovelace, has been called the
world's first computer programmer.
Her notes on Babbage's analytical
engine include ...
FIRST ALGORITHM
!!
~100 years later
... the father is born
ALAN TURING
1912
to
1954
Alan Turing, was highly influential in
the development of theoretical computer
science. He formalized concepts of
algorith...
Colossus !!
A high level programming language,
is a coded language used by programmers
to communicate with the computer.
High Level LANGUAGES
1953, FORTRAN
(John Backus - IBM)
First really widespread
high level language
1958, ALGOL
Committee B...
PICK YOURs !!
Which LanguAge
is more powerful ?
This is a meaningless question !!
- New Languages are influenced from
other languages, concepts & ideas
- Java is influenced from Eiffel, C++
SmallTalk, Obj...
GOOD SITES
to learn programming
This is a meaningless question !!
TO DO
Online Programming
Portals - CodeChef, ACM
ICPC, HackerRank,
HackerEarth
Choose college projects with
an opportunity...
2.
TRENDS IN PROG. LANGUAGES
Fast Forward 2016 - let’s understand
trends around high level languages today
TIOBE INDEXPopularity of programming languages.
TIOBE stands for - The Importance Of Being Earnest
The TIOBE Programming Community
index is an indicator of the popularity of
programming languages. Updated once a
month. Th...
N
O
V
E
M
B
E
R
-
2
0
1
6
3.
CASE STUDY : JAVA
Let us deep dive into Java and new
features in Java 8 from the kitty
Birth OF JAVA [1995]
✣ 16 million internet users worldwide
✣ Birth of e-Commerce companies
■ __a___ and __a_
✣ Birth of in...
Birth OF JAVA [1995]
✣ 16 million internet users worldwide
✣ Birth of e-Commerce companies
■ Amazon and eBay
✣ Birth of in...
QUIZ TIME
1) When did Java go open-source ? (date-year)
QUIZ TIME
1) When did Java go open-source ? (date-year)
Oct 25, 2006
QUIZ TIME
1) When did Java go open-source ? (date-year)
Oct 25, 2006
2) When was internet first put on public domain ?
QUIZ TIME
1) When did Java go open-source ? (date-year)
Oct 25, 2006
2) When was internet first put on public domain ?
1993
QUIZ TIME
1) When did Java go open-source ? (date-year)
Oct 25, 2006
2) When was internet first put on public domain ?
199...
QUIZ TIME
1) When did Java go open-source ? (date-year)
Oct 25, 2006
2) When was internet first put on public domain ?
199...
Java 8 : Parallel STREAMS
No more boilerplate code !!
Basic Jargon FIRST
Lambdas
A lambda is anonymous function. A function is a
computation that may take some arguments and
ma...
E X A M P L E S H O U L D M A K E I T C L E A R
SomeList<Employee> employees = ….
double highestPaid =
employees.stream()
...
I T E R A T I O N S
// EXTERNAL
for (Item items : items) {
process(item);
}
// INTERNAL
items.forEach(item -> process(item...
W I T H O U T S T R E A M S ( Java 7)
List mobileTransactions = new Arraylist<>();
for(Transaction t: transactions){
if(t....
U S I N G S T R E A M S ( Java 8)
List transactionsIds = transactions.stream()
.filter(t -> t.getType() == Transaction.MOB...
U S I N G P A R A L L E L S T R E A M S
List transactionsIds = transactions.parallelStream()
.filter(t -> t.getType() == T...
Credits
Special thanks to all the people who made and
released these awesome resources for free:
✣ Presentation template b...
THAT'S IT !!
Thank you all of you for being wonderful audience
EmergingTrendsInComputingAndProgrammingLanguages
EmergingTrendsInComputingAndProgrammingLanguages
EmergingTrendsInComputingAndProgrammingLanguages
EmergingTrendsInComputingAndProgrammingLanguages
Upcoming SlideShare
Loading in …5
×

EmergingTrendsInComputingAndProgrammingLanguages

Evolution of computing and emerging trends in programming languages

  • Login to see the comments

  • Be the first to like this

EmergingTrendsInComputingAndProgrammingLanguages

  1. 1. Evolution of COMPUTING & ProgramminG languages Dec 11, 2016 UPES, Dehradun
  2. 2. AGENDA Historical Perspective ✣ Birth of computing ✣ History of languages ✣ High Level Languages ++++++++++++++++ Fun Quiz Recent Trends in Languages ✣ TIOBE index ✣ In vogue - Go, Java, React, Python, C# ✣ Preparing for the future !! ++++++++++++++++ Demo Q&A Slides will be uploaded at http://www.slideshare.net/dshevani
  3. 3. Hello everyone ! I am Deepak Shevani Currently working at Flipkart, building next generation e-commerce platforms. I like presenting & love to mingle with technology enthusiasts. Contact me : aum2deepak@gmail.com @deepak_shevani
  4. 4. 1. HISTORICAL PERSPECTIVE Understand roots of computing & birth of programming languages
  5. 5. this CHAP ? he started it all in 60 AD ...
  6. 6. Hero of Alexandria ✣ c. 10 AD – c. 70 AD ✣ greek mathematician & engineer ✣ Thomas Edison of the ancient world ✣ active in Alexandria, Roman Egypt (60-70 AD) ✣ prolific writer as well as inventor ✣ first vending machine ✣ first steam engine - Aeolipile ✣ mechanical puppet theater could be rewired first recorded programmable thing !!
  7. 7. Hero of Alexandria Invented first “programmable puppet theater" .... An upper bin is filled with grain or sand, which gradually filters through a small hole into the lower chamber, causing the weight resting above it to descend with it, drawing up the cord that is wrapped around the wheel’s axle to rotate.
  8. 8. 1800 years ...... not much progress in the programming world
  9. 9. UNTIL HE CAMEaround 1800 ...
  10. 10. Joseph Marie Jacquard ... invented Jacquard loom & demonstrated in 1801, that created patterns on rugs and mats. This simplified textile manufacturing by introducing punched cards arranged in a sequence to manifest into a pattern. This played important role in invention of other programmable machines !!
  11. 11. Joseph Marie Jacquard ✣ 7 July 1752 – 7 August 1834 ✣ Jacquard power looms ✣ french weaver and merchant ✣ contributed to programmable loom ✣ called loom programmers ✣ patterns were punched and imprinted
  12. 12. THEN ...... comes the era of machines that could do calculations
  13. 13. 1791 to 1871 Portrait from the Illustrated London News, Nov. 4, 1871
  14. 14. Charles Babbage (1840) ✣ asked parliament 1M pounds for business ✣ first person in computer business ✣ dreamed of calculation engine ✣ invented Analytical Engine ✣ philosopher, mathematician, engineer ✣ never finished both of them :) At each increase of knowledge, as well as on the contrivance of every new tool, human labour becomes abridged. Charles Babbage
  15. 15. SOMEONE... did write software for engine that was only on paper
  16. 16. WORLD's FIRST COMPUTER PROGRAMMER
  17. 17. ... Ada Lovelace, has been called the world's first computer programmer. Her notes on Babbage's analytical engine include what is recognised as the first algorithm intended to be carried out by a machine. When such a machine was actually built, her algorithm ran on it !! Note : She published her notes on analytical engine in 1842
  18. 18. FIRST ALGORITHM !!
  19. 19. ~100 years later ... the father is born
  20. 20. ALAN TURING 1912 to 1954
  21. 21. Alan Turing, was highly influential in the development of theoretical computer science. He formalized concepts of algorithms and computation with Turing Machine. He is widely considered as FATHER OF COMPUTER SCIENCE
  22. 22. Colossus !!
  23. 23. A high level programming language, is a coded language used by programmers to communicate with the computer.
  24. 24. High Level LANGUAGES 1953, FORTRAN (John Backus - IBM) First really widespread high level language 1958, ALGOL Committee Based Language (modern languages take lot of ideas from ALGOL) 1969-1973, C (Dennis Ritchie, Bell Labs) most widely used programming language till date
  25. 25. PICK YOURs !!
  26. 26. Which LanguAge is more powerful ? This is a meaningless question !!
  27. 27. - New Languages are influenced from other languages, concepts & ideas - Java is influenced from Eiffel, C++ SmallTalk, Objective C etc - Sponsorship, Company Backing helps - Programming is creative activity and language must be treated as tool OBSERVATIONS !!
  28. 28. GOOD SITES to learn programming This is a meaningless question !!
  29. 29. TO DO Online Programming Portals - CodeChef, ACM ICPC, HackerRank, HackerEarth Choose college projects with an opportunity of mixing theory with practicals Interact with industry experts to learn exiting business problems in various domains and trying to solve it using tech
  30. 30. 2. TRENDS IN PROG. LANGUAGES Fast Forward 2016 - let’s understand trends around high level languages today
  31. 31. TIOBE INDEXPopularity of programming languages. TIOBE stands for - The Importance Of Being Earnest
  32. 32. The TIOBE Programming Community index is an indicator of the popularity of programming languages. Updated once a month. The ratings are based on the number of skilled engineers world-wide, courses and third party vendors. Popular search engines such as Google, Bing, Yahoo!, Wikipedia, Amazon, YouTube and Baidu are used to calculate the ratings.
  33. 33. N O V E M B E R - 2 0 1 6
  34. 34. 3. CASE STUDY : JAVA Let us deep dive into Java and new features in Java 8 from the kitty
  35. 35. Birth OF JAVA [1995] ✣ 16 million internet users worldwide ✣ Birth of e-Commerce companies ■ __a___ and __a_ ✣ Birth of internet companies ■ _a___ ✣ Demo of WebRunner at TED conference ✣ Debut of ■ Java 1.0a2 ■ Hotjava H A P P Y B I R T H D A Y J A V A
  36. 36. Birth OF JAVA [1995] ✣ 16 million internet users worldwide ✣ Birth of e-Commerce companies ■ Amazon and eBay ✣ Birth of internet companies ■ Yahoo ✣ Demo of WebRunner demo at TED ✣ Debut of ■ Java 1.0a2 ■ Hotjava H A P P Y B I R T H D A Y J A V A
  37. 37. QUIZ TIME 1) When did Java go open-source ? (date-year)
  38. 38. QUIZ TIME 1) When did Java go open-source ? (date-year) Oct 25, 2006
  39. 39. QUIZ TIME 1) When did Java go open-source ? (date-year) Oct 25, 2006 2) When was internet first put on public domain ?
  40. 40. QUIZ TIME 1) When did Java go open-source ? (date-year) Oct 25, 2006 2) When was internet first put on public domain ? 1993
  41. 41. QUIZ TIME 1) When did Java go open-source ? (date-year) Oct 25, 2006 2) When was internet first put on public domain ? 1993 3) When was Java Coffee logo introduced ?
  42. 42. QUIZ TIME 1) When did Java go open-source ? (date-year) Oct 25, 2006 2) When was internet first put on public domain ? 1993 3) When was Java Coffee logo introduced ? 2003 GREAT - Let’s move on :)
  43. 43. Java 8 : Parallel STREAMS No more boilerplate code !!
  44. 44. Basic Jargon FIRST Lambdas A lambda is anonymous function. A function is a computation that may take some arguments and may return some value. Lambdas enable functions to passed around and stored like values (smells like functional programming, yeah) Syntax of lambda expression ( [optional arguments] ) -> body ( Person p1, Person p2 ) -> p1.name() == p2.name() **** Types can be inferred (parameters, return type) Streams A Stream is an abstract concept that represents multiple values. It may or may not be collection. It may or may not be a sequence. It may or may not be an iterator. It is something that would allow sequential as well as parallel processing :) Stream<T> is opened using Collections.stream(), Collection.parallelStream() IntStream.range(), Stream.of(), Arrays.stream() BufferedReader.lines(), CharSequence.chars()
  45. 45. E X A M P L E S H O U L D M A K E I T C L E A R SomeList<Employee> employees = …. double highestPaid = employees.stream() .filter(e -> e.getDepartment().equals(‘Search’) .map(e -> e.getSalary()) .max();
  46. 46. I T E R A T I O N S // EXTERNAL for (Item items : items) { process(item); } // INTERNAL items.forEach(item -> process(item));
  47. 47. W I T H O U T S T R E A M S ( Java 7) List mobileTransactions = new Arraylist<>(); for(Transaction t: transactions){ if(t.getType() == Transaction.MOBILE){ mobileTransactions.add(t); } } Collections.sort(mobileTransactions, new MobilesComparator()); List transactionIds = new ArrayList<>(); for(Transaction t: mobileTransactions){ transactionsIds.add(t.getId()); }
  48. 48. U S I N G S T R E A M S ( Java 8) List transactionsIds = transactions.stream() .filter(t -> t.getType() == Transaction.MOBILE) .sorted(comparing(Transaction::getValue) .reversed()) .map(Transaction::getId) .collect(toList());
  49. 49. U S I N G P A R A L L E L S T R E A M S List transactionsIds = transactions.parallelStream() .filter(t -> t.getType() == Transaction.MOBILE) .sorted(comparing(Transaction::getValue) .reversed()) .map(Transaction::getId) .collect(toList());
  50. 50. Credits Special thanks to all the people who made and released these awesome resources for free: ✣ Presentation template by SlidesCarnival ✣ Photographs by Unsplash ✣ Paper texture by GraphicBurguer
  51. 51. THAT'S IT !! Thank you all of you for being wonderful audience

×