Stan Schwertly
Stan Schwertly
Plants and Programming
Skip to content
  • About Stan
  • Contact

go

There are 17 posts tagged go (this is page 1 of 4).

Post navigation

Getting Process Invocations: The Hard Way

I wrote a tool to get the invocation of a process by stealing it from the process’s stack.

in Hacker School | December 12, 2014 | 1,149 Words | Comment

Hacker School Day 40 – Making pstree Faster/Ugly – Globbing

The final optimization for the pstree clone was to replace file globbing with readdir and a custom isInt function.

in Hacker School | December 5, 2014 | 477 Words | Comment

Hacker School Day 40 – Making pstree Faster/Ugly – Reading Files

I changed from using ioutil’s ReadAll, over to bufio’s ReadFrom, into os.File’s Read for more gross performance gains.

in Hacker School | December 4, 2014 | 592 Words | Comment

Hacker School Day 40 – Making pstree Faster/Ugly – No Regex

I made my pstree clone faster by swapping the regex with string functions. I dived in kernel code for more ridiculous things.

in Hacker School | December 4, 2014 | 695 Words | Comment

Hacker School Day 40 – Making pstree Faster/Ugly

I made my pstree clone faster at the sake of readability and it was just as fun as I hoped.

in Hacker School | December 3, 2014 | 381 Words | Comment

Post navigation

Categories

  • Hacker School
  • Pictures
  • Projects
  • Thoughts
Independent Publisher empowered by WordPress