• The Little (Go) Book of Semaphores

    The Little Book of Semaphores, by professor Allen Downey, is a textbook that introduces the principles of synchronization for concurrent programming. It’s available under the GNU Free Documentation License. The book uses Python to illustrate the concepts, but I think Go is a much better fit for that purpose. Semaphores are rarely seen in Go as such. The sync package provides synchronization primitives, for example, mutual exclusion locks and condition variables, but notably it doesn’t provide a semaphore.
  • Introductions

    Hello, world! My regular blog doesn’t really have a main topic, but in recent years it has kept going along the general theme of politics in Costa Rica, with occasional wanderings into information technology. That (and the fact that it’s written in Spanish) has kept me from writing about the more technical side of programming, which is what I really do on a day-to-day basis. The elephant in the room: if I want to write about the more technical stuff, why do I think that it’s more appropriate to do so in English?