Live data from Hacker News

C for high level programmers (slides)

charliethe.ninja

1–10 of 129 posts

Re: C for high level programmers (slides)

#5
I was quite impressed how many important concepts are covered in such a small presentation. He explicitly doesn't cover the things in C that programmers from other domains will understand easily (functions, conditionals, loops etc.) and goes straight to the things that make C different.

Re: C for high level programmers (slides)

#6
command line utility development, writing a replacement to systemd

Those don't require direct use of C, necessarily - but rather some form of FFI to POSIX and the syscall interface. Hell, if one is writing a systemd replacement, I'd encourage use of OCaml. It'd spare you lots of boilerplate because you're writing relatively high level userspace logic, anyway.

Re: C for high level programmers (slides)

#7

I just about died laughing at slide 22. Anybody know how these slides were made?

Hey author of the slides here, glad you liked it :D

I used http://remarkjs.com/ to make the slides. All you have to do is include the script, add a textfield with your content in markdown and it automatically converts to a slide show.

Re: C for high level programmers (slides)

#8

command line utility development, writing a replacement to systemd Those don't require direct use of C, necessarily - but rather some form of FFI to POSIX and the syscall interface. Hell, if one is writing a systemd replacement, I'd encourage use of OCaml. It'd spare you lots of boilerplate because you're writing relatively high level userspace logic, anyway.

Yep!

Unix system programming in OCaml - https://ocaml.github.io/ocamlunix/

Re: C for high level programmers (slides)

#10

command line utility development, writing a replacement to systemd Those don't require direct use of C, necessarily - but rather some form of FFI to POSIX and the syscall interface. Hell, if one is writing a systemd replacement, I'd encourage use of OCaml. It'd spare you lots of boilerplate because you're writing relatively high level userspace logic, anyway.

Huh, I've never actually heard of using OCaml for system programming. Interesting!
Post reply on HN