![]() |
![]() |
![]() |
![]() |
![]() |
||||
![]() |
![]() |
![]() |
![]() |
|||||
![]() |
|||
Much of the work in porting an application to another platform is repeated every time you go through the process. In order to speed this process up, and reduce the amount of cross platform understanding required to do basic things, Goblin was written in a manner that creates abstractions of common operations. These abstractions take the form of code based calls that work on both Windows and MacOS, hiding the OS specific requirements from the engineer (but not preventing them from being accessed) and creating a single code base to run on both platforms. The File System is a great example of the difference between how the MacOS and Windows environments work. Goblin gets around having to understand this by providing its own abstract File System that works on either platform. Rather than requiring the engineer to understand files on both platforms, a set of common access tools allow the application to locate, open, read from, and write to files as required. The system deals with folder references, shortcuts, and absolute and relative path references on both platforms. |
In order to make sure that data access works identically on both platforms, Goblin creates abstractions for many common data types. Sized data types such as int8 and int32 (8 and 32 bit integers respectively) ensure that when you create a data object you know how big it will be regardless of platform, and the same code based name is used for the data on both. Other, more complex data types such as strings, points, and rectangles have Goblin versions that allow you to use common code across platforms. |
![]() |
- Home - Products - Tutorials - Company - Contact Us - Top - |