Categories
Concurrent Programming Talk Slides
I recently gave a talk on ‘Concurrent Programming’, for which the slides can be found here
The abstract for the talk was:
In this talk I’ll discuss the fundamental problems facing the development of concurrent applications and common approaches that aim to solve them. I’ll propose a solution that is based on the best of these approaches, and consider its wider implications. Finally, I’ll examine how it should be used in real applications.
Threads vs Events
As I’ve been programming OpenP2P, I’ve iterated over a few styles of programming – a process which consumed a lot of time, but taught me a lot. Originally, I built OpenP2P on top of boost::asio to make use of its asynchronous features, which I had supposed would make my programming life easier, as well providing greater efficiency.
Fixed Size Types
In the header stdint.h you can find a bunch of fixed size types, signed and unsigned, from 8 bits up to 64 bits. Their names are int8_t, uint8_t, int16_t, uint16_t etc. where the number clearly indicates the number of bits. These types are designed to solve the problem that the normal primitive types (char, short, int, long) don’t have a fixed size and therefore can have different sizes on different platforms.
Loci - Update
So I’ve been working on Loci for the last couple of months and this should serve as a useful update. I’m going to go through the aspects of other languages that influenced Loci and I’ll explain the details of Loci in subsequent articles. I’ll also be providing an update on OpenP2P in a later post, along with releasing its first version.


