Functional Programming is a programming style that is different from the more well-known Structured Programming or Object-Oriented Programming style. Functional Programming relies exclusively on functions as first-class citizens, which means that they are treated like any other values, and they can be passed around as arguments or returned from other functions. Modern applications that involves highly concurrent computing on multicore machines face a big challenge with the machines' "state". All imperative languages, including object-oriented languages, involve multiple threads changing the shared state of objects. This is where deadlocks, stack traces, and low-level processor cache misses all take place. If there is no state, there is no problem. In this workshop, we will explore the principles of Functional Programming and how we can implement those concepts in Java so as to build massively parallel applications in the field of Big Data.
Pre-requisite: Knowledge of Java Programming
Speaker(s): Kin-Choong Yow,
Agenda:
– What is Functional Programming?
– Implementing Function Programming Concepts with Java
· Introduction to lambda expressions
· Manipulating Collections
· Strings and Comparators
· Lazy Evaluation
· Tail-call Optimization
· Functional Composition
– Exercises
Room: ED 485.1, Bldg: Education Building, University of Regina, 3737 Wascana Parkway, Regina, Saskatchewan, Canada, S4S 0A2, Virtual: https://events.vtools.ieee.org/m/427795
This event has passed.