官术网_书友最值得收藏!

  • Go Systems Programming
  • Mihalis Tsoukalos
  • 146字
  • 2021-07-02 18:08:05

Exercises

  1. Find and visit the documentation page of the log package.
  2. Use strace(1) to examine hw.go from the previous chapter.
  3. If you are on a Mac, try to examine the hw.go executable using dtruss(1).
  4. Write a program that gets input from the user and examine its executable file using either strace(1) or dtruss(1).
  1. Visit the website of Rust at https://www.rust-lang.org/.
  2. Visit the website of Swift at https://swift.org/.
  3. Visit the documentation page of the io package at https://golang.org/pkg/io/.
  4. Use the diff(1) command-line utility on your own in order to learn how to interpret its output better.
  5. Visit and read the main page of write(2).
  6. Visit the main page of grep(1).
  7. Play with reflection on your own by examining your own structures.
  8. 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.
主站蜘蛛池模板: 嵊泗县| 平潭县| 石渠县| 葫芦岛市| 北安市| 辽阳县| 东丰县| 洪洞县| 安国市| 岗巴县| 长岛县| 长春市| 蒙山县| 贵溪市| 高尔夫| 江永县| 林甸县| 裕民县| 沂南县| 墨竹工卡县| 巴林左旗| 酒泉市| 青岛市| 宕昌县| 东港市| 封丘县| 甘泉县| 洪雅县| 望奎县| 聊城市| 张掖市| 盘山县| 佳木斯市| 繁昌县| 桓台县| 永定县| 利津县| 儋州市| 璧山县| 合阳县| 平昌县|