Misplaced Pages

Poshlib

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Software framework used in cross-platform software development
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
This article provides insufficient context for those unfamiliar with the subject. Please help improve the article by providing more context for the reader. (April 2016) (Learn how and when to remove this message)
This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Poshlib" – news · newspapers · books · scholar · JSTOR (September 2023) (Learn how and when to remove this message)
The topic of this article may not meet Misplaced Pages's general notability guideline. Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cannot be shown, the article is likely to be merged, redirected, or deleted.
Find sources: "Poshlib" – news · newspapers · books · scholar · JSTOR (April 2016) (Learn how and when to remove this message)
(Learn how and when to remove this message)

Posh is a software framework used in cross-platform software development. It was created by Brian Hook. It is BSD licensed and as of 17 March 2014, at version 1.3.002.

The Posh software framework provides a header file and an optional C source file.

Posh does not provide alternatives where a host platform does not offer a feature, but informs through preprocessor macros what is supported and what is not. It sets macros to assist in compiling with various compilers (such as GCC, MSVC and OpenWatcom), and different host endiannesses. In its simplest form, only a single header file is required. In the optional C source file, there are functions for byte swapping and in-memory serialisation/deserialisation.

Brian Hook also created SAL (Simple Audio Library) that utilises Posh. Both are featured in his book "Write Portable Code". Posh is also used in Ferret and Vega Strike.

See also

References

  1. Hook, Brian (2005). Write Portable Code: An Introduction to Developing Software for Multiple Platforms. No Starch Press. ISBN 978-1-59327-056-8.

External links


Stub icon

This computer-programming-related article is a stub. You can help Misplaced Pages by expanding it.

Categories:
Poshlib Add topic