Tuesday, 20 October 2009

Introducing StrongLib

Introduction
This is the first post for "Web Programming in C", so now is a perfect time to answer some questions about this blog, for example: What is StrongLib? Why is it being created? Why should you care?

What is StrongLib?
OK, easy question first. StrongLib is the name I've come up with for what will hopfully be a series of C libraries that will make it easy to write web programs in C. What kinds of web programs? Well, to start, two kinds:
  • Web Server applications. The kinds of applications, that PHP and ASP are currently used for.
  • Desktop applications that consume services from the web.
Why Create StrongLib?
I have been building the next release of Irie Pascal, which is going to be focussed on web programming, and I decided that it makes sense to create a seperate library to handle all of the web programming details, and then create the next release of Irie Pascal on top of that library.

StrongLib Foundation
The first StrongLib library is the foundation library, StrongLib Foundation. So far the design goals for this library are:
  • Provide a low-to-mid level API for common web operations (e.g. with functions for processing Unicode, and using sockets.
  • Make it easier to write portable code for all of the operating systems supported by Irie Pascal, namely Windows, Linux, FreeBSD, and Solaris. I am not tring to create some some big complicated cross-platform library that takes over your application. I just want to eliminate some of the really unnecessary differences between OS APIs (the different but functionally equivalent APIs for thread creation for example).
Learning how to use Blogger
This is my first blog on Blogger (I was using Wordpress before), so this first post is also kind of an experiment.