SysObjC: C extension for development of object-oriented operating systems

  • Authors:
  • Ádám Balogh;Zoltán Csörnyei

  • Affiliations:
  • Eötvös Loránd University, Budapest, Hungary;Eötvös Loránd University, Budapest, Hungary

  • Venue:
  • Proceedings of the 3rd workshop on Programming languages and operating systems: linguistic support for modern operating systems
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Object-oriented operating systems prefer to consider every data structure as an object. However, data structures predefined by the hardware's manufacturer do not fit into this scheme. First of all, traditional object-oriented languages do not support objects with user-defined representation, which would be needed to these data structures as objects. Secondly, classic object-oriented languages have an overhead unacceptable for operating systems. To overcome both problems we introduce predicate classes into C as an extension of the standard structures. Inheritance is based on overlapping reserved fields without extending the object in size, which enables polymorphism by value, a very important feature in system programming. Dispatcher routines of methods add no significant overhead compared to standard C.