From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Fri, 10 Dec 2010 11:34:41 +0200 Message-ID: From: Eugene Gorodinsky To: 9fans@9fans.net Content-Type: multipart/alternative; boundary=00163683382a576fae04970b10e2 Subject: [9fans] How would you go about implementing this in Plan9? Topicbox-Message-UUID: 8ab1b1f6-ead6-11e9-9d60-3106f5b1d025 --00163683382a576fae04970b10e2 Content-Type: text/plain; charset=UTF-8 Suppose you're writing an app such as a multiprotocol instant messenger or a mediaplayer that supports multiple container formats and codecs. It's a good idea for your app to have a plug-in functionality, so that plugins could be developed independently and functionality added to the program without the need to recompile the whole thing. On a system that supports dynamic linking this is trivial. On Plan9 I'm not sure how to go about this. Having separate processes interacting with the main one seems somewhat wrong to me (slower, more overhead etc). Perhaps it's better to implement a limited form of dynamic linking, so that modules compiled to load dynamically could be loaded by the application that wants to load them whenever it needs. What do you think? --00163683382a576fae04970b10e2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Suppose you're writing an app such as a multiprotocol instant messenger= or a mediaplayer that supports multiple container formats and codecs. It&#= 39;s a good idea for your app to have a plug-in functionality, so that plug= ins could be developed independently and functionality added to the program= without the need to recompile the whole thing. On a system that supports d= ynamic linking this is trivial. On Plan9 I'm not sure how to go about t= his. Having separate processes interacting with the main one seems somewhat= wrong to me (slower, more overhead etc). Perhaps it's better to implem= ent a limited form of dynamic linking, so that modules compiled to load dyn= amically could be loaded by the application that wants to load them wheneve= r it needs. What do you think? --00163683382a576fae04970b10e2--