Posted by: nanaproject | March 24, 2011

Restart the porting work

A few days ago, I started the project of porting the library from Windows to Linux. This work was stared as early as 2008, but it was interrupted in a little while, that because the core of library was not indefinite. Today the project is started again. After reading the code about the version for Linux that was written in 2008, I found it is difficult to reuse the code, there are serval details were changed. In fact, these are not problems, but the bigest challenge is porting the code from Windows to Linux. It is fortunate that when I was designing and implementing the version for Windows, I studied on similarity of features between two platforms. In another word, it is aimed to define a framework that can be easy to port to Windows and Linux. Although the framework is designed for cross-platform, the platform-specific features are still here, such as resource, bitmap/icon is for Windows and xpm is for Linux. Also, there are some features will be emulated in each platform. I can imagine that code without modification may be compiled for each platform one day.

Advertisement

Responses

  1. it is good


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Categories

Follow

Get every new post delivered to your Inbox.