{"title":"Teaching Parallel Programming with Java and Pyjama","authors":"Ruth Kurniawati","doi":"10.1145/3478432.3499115","DOIUrl":null,"url":null,"abstract":"Teaching parallel programming to undergraduate CS students is a challenging task as many of the concepts are highly abstract and difficult to grasp. OpenMP is often used to simplify parallelization of programs by allowing one to incrementally parallelize using concise and expressive directives. Unfortunately, OpenMP is not available in Java natively. A basic support of OpenMP-like directives can, however, be obtained in Java using the Pyjama compiler and runtime. I report on my experience introducing parallel programming in Java with Pyjama in a small Data Structures class. The material is presented to students in the form of parallel programming patternlets embedded in an interactive notebook with which students can experiment. Formative and summative assessments of the module's effectiveness are performed. This pilot run of the module yielded mixed results, yet valuable insight was gained regarding possible future approaches.","PeriodicalId":113773,"journal":{"name":"Proceedings of the 53rd ACM Technical Symposium on Computer Science Education V. 2","volume":"11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-03-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 53rd ACM Technical Symposium on Computer Science Education V. 2","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3478432.3499115","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
Abstract
Teaching parallel programming to undergraduate CS students is a challenging task as many of the concepts are highly abstract and difficult to grasp. OpenMP is often used to simplify parallelization of programs by allowing one to incrementally parallelize using concise and expressive directives. Unfortunately, OpenMP is not available in Java natively. A basic support of OpenMP-like directives can, however, be obtained in Java using the Pyjama compiler and runtime. I report on my experience introducing parallel programming in Java with Pyjama in a small Data Structures class. The material is presented to students in the form of parallel programming patternlets embedded in an interactive notebook with which students can experiment. Formative and summative assessments of the module's effectiveness are performed. This pilot run of the module yielded mixed results, yet valuable insight was gained regarding possible future approaches.