BREW is an event-driven, single-threaded, component-oriented environment in which you write code in C or C++ against system interfaces; it is similar in many ways to platforms such as Palm OS, although the component orientation reminds some of Windows COM development.