Find the Median as a Job Interview Question
I stumbled across a blog post about finding the median of a list of numbers as a job interview question.
I stumbled across a blog post about finding the median of a list of numbers as a job interview question.
I have contemplated trolling software engineers by re-naming “object oriented programming”, and claiming I have made a major discovery, Thing Based Programming.
Due to Go compiler and runtime subtleties, some Go variables storage is allocated on goroutines’ call stacks.
You can decide for yourself that an unholy alliance of the Go compiler and runtime can allocate variables on the call stack. But doing so forces you to notice the small initial size of a goroutine’s call stack: 0x1000, or 4096 bytes.
A Little Implementation Language
P. J. Plauger
ACM SIGPLAN Notices, Volume 11, Issue 4, Pages 135-137
The Go Blog has a post titled Allocating on the Stack. The post makes the claim that programs compiled with Go v1.26 compiler, and using the v1.26 runtime can allocate backing store of slices on the stack under some circumstances.
A long time ago, I worked at a company that has since merged with another large company. Back in the day, my employers kept a technical reference library that included back issues of a magazine, Software: Experience and Practice. A few of the earliest issues of that magazine had a “Computer Recreations” column. Volume 2, pages 397-400 had a column on self reproducing programs.
I came across an article by Brian Kernighan. The article is about a piece of C code written by Rob Pike, apparently for a book Pike and Kernighan wrote together, The Practice of Programming.