{"id":59,"date":"2005-10-31T17:32:52","date_gmt":"2005-10-31T21:32:52","guid":{"rendered":"http:\/\/benjamin.smedbergs.us\/blog\/?p=59"},"modified":"2005-10-31T17:33:38","modified_gmt":"2005-10-31T21:33:38","slug":"using-the-gre","status":"publish","type":"post","link":"http:\/\/benjamin.smedbergs.us\/blog\/2005-10-31\/using-the-gre\/","title":{"rendered":"Using the GRE"},"content":{"rendered":"<p>The term &#8220;GRE&#8221; is shrouded in mystery and especially on linux there is no good definition of what a GRE actually is (or was). I have written a couple of <a href=\"http:\/\/developer.mozilla.org\/\">Mozilla Developer Center<\/a> documents on <a href=\"http:\/\/developer.mozilla.org\/en\/docs\/GRE\">how to use the GRE<\/a> (dynamic linking and the standalone XPCOM glue), and <a href=\"http:\/\/developer.mozilla.org\/en\/docs\/GRE_Registration\">how GREs are registered<\/a>.<\/p>\n<p>I&#8217;d like to make a few clarifications of terms that have been floating around:<\/p>\n<dl>\n<dt><a href=\"http:\/\/developer.mozilla.org\/en\/docs\/GRE\">GRE<\/a><\/p>\n<dd>Gecko Runtime Environment: the &#8220;platform&#8221; parts of Mozilla, which is registered with the operating system in such a way that embedders can dynamically link against it without knowing in advanced where it will be installed. This was shipped with the windows installers of Mozilla 1.4 to 1.7, but <em>technically<\/em> has never been shipped on Linux. Red Hat has shipped GRE-registration files that make the Mozilla installation into an embeddable GRE. XULRunner is the new product that will be the GRE.<\/p>\n<dt>XRE<\/p>\n<dd>XUL Runtime Environment: this is the term that was floated for a long time to be an framework to launch XUL applications. It has morphed into XULRunner, and there really isn&#8217;t any reason to use the term XRE any more (there never was anything that we shipped as an XRE).<\/p>\n<dt><a href=\"http:\/\/developer.mozilla.org\/en\/docs\/XULRunner\">XULRunner<\/a><\/p>\n<dd>XULRunner is a <strong>product<\/strong> that will serve as the installable Mozilla platform. It will be a GRE with embedding services, as well as a bootstrap mechanism for launching rich-client applications like Firefox. Firefox 3 will be built atop XULRunner and will be the primary distribution mechanism for XULRunner.<\/p>\n<dt>LibXUL<\/p>\n<dd>LibXUL is a implementation detail of XULRunner. It is a dynamic library containing all of &#8220;gecko&#8221;. The real benefits of libxul are that we only export frozen symbols from it, and that we can perform various optimizations such as minimizing the effects of the PLT.\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>The term &#8220;GRE&#8221; is shrouded in mystery and especially on linux there is no good definition of what a GRE actually is (or was). I have written a couple of Mozilla Developer Center documents on how to use the GRE (dynamic linking and the standalone XPCOM glue), and how GREs are registered. I&#8217;d like to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-59","post","type-post","status-publish","format-standard","hentry","category-mozilla"],"_links":{"self":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/comments?post=59"}],"version-history":[{"count":0,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts\/59\/revisions"}],"wp:attachment":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/media?parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/categories?post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/tags?post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}