课程信息
4.4
1,343 ratings
218 reviews
With every smartphone and computer now boasting multiple processors, the use of functional ideas to facilitate parallel programming is becoming increasingly widespread. In this course, you'll learn the fundamentals of parallel programming, from task parallelism to data parallelism. In particular, you'll see how many familiar ideas from functional programming map perfectly to to the data parallel paradigm. We'll start the nuts and bolts how to effectively parallelize familiar collections operations, and we'll build up to parallel collections, a production-ready data parallel collections library available in the Scala standard library. Throughout, we'll apply these concepts through several hands-on examples that analyze real-world data, such as popular algorithms like k-means clustering. Learning Outcomes. By the end of this course you will be able to: - reason about task and data parallel programs, - express common algorithms in a functional style and solve them in parallel, - competently microbenchmark parallel code, - write programs that effectively use parallel collections to achieve performance Recommended background: You should have at least one year programming experience. Proficiency with Java or C# is ideal, but experience with other languages such as C/C++, Python, Javascript or Ruby is also sufficient. You should have some familiarity using the command line. This course is intended to be taken after Functional Program Design in Scala: https://www.coursera.org/learn/progfun2....
Globe

100% 在线课程

立即开始,按照自己的计划学习。
Calendar

可灵活调整截止日期

根据您的日程表重置截止日期。
Intermediate Level

中级

Clock

建议:5 hours/week

完成时间大约为16 小时
Comment Dots

English

字幕:English

您将获得的技能

Parallel ComputingData ParallelismParallel AlgorithmData Structure
Globe

100% 在线课程

立即开始,按照自己的计划学习。
Calendar

可灵活调整截止日期

根据您的日程表重置截止日期。
Intermediate Level

中级

Clock

建议:5 hours/week

完成时间大约为16 小时
Comment Dots

English

字幕:English

教学大纲 - 您将从这门课程中学到什么

1

章节
Clock
完成时间为 12 小时

Parallel Programming

We motivate parallel programming and introduce the basic constructs for building parallel programs on JVM and Scala. Examples such as array norm and Monte Carlo computations illustrate these concepts. We show how to estimate work and depth of parallel programs as well as how to benchmark the implementations....
Reading
9 个视频(共 106 分钟), 5 个阅读材料, 3 个测验
Video9 个视频
Introduction to Parallel Computing15分钟
Parallelism on the JVM I13分钟
Parallelism on the JVM II8分钟
Running Computations in Parallel13分钟
Monte Carlo Method to Estimate Pi4分钟
First-Class Tasks7分钟
How Fast are Parallel Programs?24分钟
Benchmarking Parallel Programs17分钟
Reading5 个阅读材料
Tools Setup10分钟
Eclipse Tutorial10分钟
IntelliJ IDEA Tutorial10分钟
Sbt Tutorial10分钟
Submitting Solutions10分钟

2

章节
Clock
完成时间为 8 小时

Basic Task Parallel Algorithms

We continue with examples of parallel algorithms by presenting a parallel merge sort. We then explain how operations such as map, reduce, and scan can be computed in parallel. We present associativity as the key condition enabling parallel implementation of reduce and scan....
Reading
6 个视频(共 100 分钟), 2 个测验
Video6 个视频
Data Operations and Parallel Mapping18分钟
Parallel Fold (Reduce) Operation18分钟
Associativity I14分钟
Associativity II17分钟
Parallel Scan (Prefix Sum) Operation24分钟

3

章节
Clock
完成时间为 7 小时

Data-Parallelism

We show how data parallel operations enable the development of elegant data-parallel code in Scala. We give an overview of the parallel collections hierarchy, including the traits of splitters and combiners that complement iterators and builders from the sequential case....
Reading
5 个视频(共 51 分钟), 2 个测验
Video5 个视频
Data-Parallel Operations I6分钟
Data-Parallel Operations II8分钟
Scala Parallel Collections15分钟
Splitters and Combiners7分钟

4

章节
Clock
完成时间为 7 小时

Data Structures for Parallel Computing

We give a glimpse of the internals of data structures for parallel computing, which helps us understand what is happening under the hood of parallel collections....
Reading
5 个视频(共 57 分钟), 2 个测验
Video5 个视频
Parallel Two-phase Construction14分钟
Conc-tree Data Structure14分钟
Amortized, Constant-time Append Operation11分钟
Conc-Tree Combiners4分钟
4.4
Direction Signs

24%

完成这些课程后已开始新的职业生涯
Briefcase

83%

通过此课程获得实实在在的工作福利

热门审阅

创建者 ALApr 24th 2018

The course is fairly advanced and you would need to review the materials many times to understand the concept. The assignments are definitely fun and not as straightforward as other courses.

创建者 RCAug 25th 2017

Superb study material. Learnt a lot during this course. I am not much into mathematical stuff, but got a hang of how to break problems and improve efficiency through parallelism.

讲师

Prof. Viktor Kuncak

Associate Professor
School of Computer and Communication Sciences

Dr. Aleksandar Prokopec

Principal Researcher
Oracle Labs

关于 École Polytechnique Fédérale de Lausanne

关于 Functional Programming in Scala 专项课程

Discover how to write elegant code that works the first time it is run. This Specialization provides a hands-on introduction to functional programming using the widespread programming language, Scala. It begins from the basic building blocks of the functional paradigm, first showing how to use these blocks to solve small problems, before building up to combining these concepts to architect larger functional programs. You'll see how the functional paradigm facilitates parallel and distributed programming, and through a series of hands on examples and programming assignments, you'll learn how to analyze data sets small to large; from parallel programming on multicore architectures, to distributed programming on a cluster using Apache Spark. A final capstone project will allow you to apply the skills you learned by building a large data-intensive application using real-world data....
Functional Programming in Scala

常见问题

  • Once you enroll for a Certificate, you’ll have access to all videos, quizzes, and programming assignments (if applicable). Peer review assignments can only be submitted and reviewed once your session has begun. If you choose to explore the course without purchasing, you may not be able to access certain assignments.

  • When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile. If you only want to read and view the course content, you can audit the course for free.

还有其他问题吗?请访问 学生帮助中心