I'd like to start exploring concurrency. To get us started, we need a baseline to compare against, so I'm having us implement some prime number computing programs. For some, this may be familiar. pnc0 is go!
If you'd like to delve a little bit deeper into the basic optimizations, I've released the pnc1 project which has you exploring some of the simple common time-based optimizations. Feel free to explore these, although note we will not be specifically exploring these variants.
On Thursday, we looked at writing a program that would calculate the start/end values for a range of values based on a number of processors.
For example, for a range of 128 with 3 processors:
#0:start:0,end:42
#1:start:43,end:85
#2:start:86,end:128
with some combinations, there may be “leftovers”… barring any other fancy processing, these can simply be added onto the last one.
Week 5
envp, getenv playing with environment variables
remember to export the variable on the shell
getopt, command-line argument parsing
second project, enhance our in-class ls to support (via getopt(3) short arguments), the following:
-l, -1, -A, -a, -g, and -G
looking to explore getopt_long() arguments on Thursday
Week 4
Weather delayed or offset people, so we worked on the chmod project
Week 3
Started writing ls
Class sample/example code is now available in the public directory:
/var/public/spring2017/sysprog/examples/
Week 2
Wrote our own chgrp tool
Week 1
Read Chapter 1, implement sample programs, do questions at end of chapter