Exercises
- Find and visit the documentation page of the
log
package. - Use
strace(1)
to examinehw.go
from the previous chapter. - If you are on a Mac, try to examine the
hw.go
executable usingdtruss(1)
. - Write a program that gets input from the user and examine its executable file using either
strace(1)
ordtruss(1)
.
- Visit the website of Rust at https://www.rust-lang.org/.
- Visit the website of Swift at https://swift.org/.
- Visit the documentation page of the
io
package at https://golang.org/pkg/io/. - Use the
diff(1)
command-line utility on your own in order to learn how to interpret its output better. - Visit and read the main page of
write(2)
. - Visit the main page of
grep(1)
. - Play with reflection on your own by examining your own structures.
- Write an improved version of
occurrences.go
that will only display frequencies that are above a known numeric threshold, which will be given as a command-line argument.