Slide 13
Slide 13 text
package main
import "fmt"
func main() {
fmt.Println("Hello, world!")
}
def main():
print('Hello, world!')
if __name__ == '__main__':
main()
システムコール視点では同じ!
$ strace python3 hello.py
...
write(1, "Hello, world!\n", 14) = 14
...
$ go build hello.go; s
trace ./hello
...
write(1, "Hello, world!\n", 14) = 14
…