LWN.net Logo

Object-oriented design patterns in the kernel, part 1

Object-oriented design patterns in the kernel, part 1

Posted Jun 2, 2011 23:45 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)
In reply to: Object-oriented design patterns in the kernel, part 1 by cmccabe
Parent article: Object-oriented design patterns in the kernel, part 1

Java has very loose ABI. It's possible to add new public methods without breaking it or even modify existing methods to some degree.

There's a nice description here: http://wiki.eclipse.org/Evolving_Java-based_APIs_2

The fact that Java bytecode is essentially a lightly-parsed source code helps immensely.


(Log in to post comments)

Object-oriented design patterns in the kernel, part 1

Posted Jun 8, 2011 19:22 UTC (Wed) by marcH (subscriber, #57642) [Link]

Linking at start time makes Java very flexible indeed. It is also what makes every Java program insanely slow to start up.

You cannot have your cake and eat it.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds