faq 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  1. ** Basics
  2. Q: Is Mono the same as Microsoft's .NET initiative?
  3. A: It is not.
  4. .NET is a company-wide initiative at Microsoft that
  5. encompasses many different areas. The .NET development framework,
  6. Passport, Biztalk, new server products, and anything that is
  7. remotely connected to .NET gets the ".NET-stamping" treatment.
  8. Some components of Microsoft's .NET initiative have been announced
  9. and some others are in the works.
  10. Mono is a project to implement several technologies developed by
  11. Microsoft that have now been submitted to the ECMA Standards Body.
  12. Q: What technologies are included in Mono?
  13. A: Mono contains a number of components useful for building new
  14. software:
  15. <ul>
  16. * A Common Language Infrastructure (CLI) virtual
  17. machine that contains a class loader, Just-in-time
  18. compiler, and a garbage collecting runtime.
  19. * A class library that can work with any language
  20. which works on the CLR.
  21. * A compiler for the C# language. In the future we
  22. might work on other compilers that target the Common
  23. Language Runtime.
  24. Windows has compilers that target the
  25. virtual machine from
  26. <a href="http://msdn.microsoft.com/net/thirdparty/default.asp#lang">a
  27. number of languages:</a> Managed C++, Java Script,
  28. Eiffel, Component Pascal, APL, Cobol, Oberon, Perl,
  29. Python, Scheme, Smalltalk, Standard ML, Haskell,
  30. Mercury and Oberon.
  31. </ul>
  32. The CLR and the Common Type System (CTS) enables applications and
  33. libraries to be written in a number of languages. Classes and
  34. methods created in one language can be used from a different
  35. language.
  36. This means for example that if you define a class to do algebraic
  37. manipulation in C#, that class can be reused from any other
  38. language that supports the CLI. You could create a class in C#,
  39. subclass it in C++ and instantiate it in an Eiffel program.
  40. A single object system, threading system, class libraries, and
  41. garbage collection system can be shared across all these languages.
  42. Q: Where can I find the specification for these technologies?
  43. A: You can find the work-in-progress documentation from the T3G ECMA
  44. group here:
  45. <a href="http://www.dotnetexperts.com">http://www.dotnetexperts.com</a>
  46. Q: Will you implement the .NET Framework SDK class libraries?
  47. A: Yes, we will be implementing the APIs of the .NET Framework SDK
  48. class libraries.
  49. Q: What does Mono stand for?
  50. A: Mono is the word for `Monkey' in Spanish. We like monkeys.
  51. It only means a number of other things: monochromatic (hence the
  52. gray theme used in the Web site).
  53. Q: When will you ship it?
  54. A: We do not know when the code will be shipped. The more
  55. contributions we get to the project, the sooner it will ship.
  56. A rough estimate is that we might be able to run our C# compiler on
  57. Linux by the end of the year. That means running the Windows
  58. Executable generated by a Microsoft .NET compiler on the Linux
  59. platform.
  60. We expect that doing GUI applications will require more work on the
  61. class libraries. That could take another six months.
  62. Q: How can I contribute?
  63. A: Check the <a href="contributing.html">contributing</a> section.
  64. Q: You guys should innovate instead of copying.
  65. A: In this particular case, we see a clear advantage in the platform
  66. and we are interested in using the features of the CLI on open source systems.
  67. We have decided that we should spend our limited resources towards
  68. implementing an existing specification instead of designing and
  69. implementing our own.
  70. Designing and implementing our own would be possible, but it doesn't make
  71. sense to do that just because the specification comes from a
  72. proprietary vendor.
  73. ** Ximian
  74. Q: Why is Ximian working on .NET?
  75. A: We are interested in providing the best tools for programmers to
  76. develop applications for Free Operating Systems.
  77. For more information, read the project <a
  78. href="rationale.html">rationale</a> page.
  79. Q: Will Ximian be able to take on a project of this size?
  80. A: Ximian will not be able to taken on the whole project on its own.
  81. Mono will be a free software/open source community project, that is
  82. the only way we can hope to implement something of this size. You
  83. can <a href="contributing.html">contribute</a> to this effort.
  84. Q: What pieces will Ximian be working on?
  85. A: We will focus on building a development and execution
  86. environment.
  87. The idea is to get Mono to a state of that would allow
  88. third parties to actually be able to use it real-world development.
  89. Q: Why does Ximian even care?
  90. A: We like the features that the CLI and its related technologies
  91. bring to the table. An exciting addition to the developer toolkit.
  92. The goal of Mono is to bring this technology to non-Windows
  93. platforms (although we hope Mono will also run on Windows, for
  94. debugging and comparative purposes).
  95. ** Licensing
  96. Q: Will I be able to write proprietary applications that run with
  97. Mono?
  98. A: Yes. The licensing scheme is planned to allow proprietary
  99. developers to write applications with Mono.
  100. Q: What license is Mono on?
  101. A: The C# Compiler is released under the terms of the GPL. The class
  102. libraries will be under the LGPL or the GPL with a special
  103. exception. The runtime libraries are under the LGPL.
  104. Since the LGPL is not suitable for embedded systems development, we
  105. are also licensing the libraries under the GPL with the following exception:
  106. If you link this library against your own program, then you do not
  107. need to release the source code for that program. However, any
  108. changes that you make to the library itself, or to any native
  109. methods upon which the library relies, must be re-distributed in
  110. accordance with the terms of the GPL.
  111. This is similar in spirit to <a
  112. href="http://www.gnu.org/software/classpath/classpath.html">GNU
  113. Classpath.</a>
  114. Q: But in Object Oriented Programming I need to subclass your library
  115. functions, does that mean that I am making modifications to your
  116. library and hence I would have to distribute my sources under the
  117. LGPL?
  118. A: No. Object Oriented Programming in the class library is a well
  119. understood interface barrier, so you can actually develop
  120. proprietary applications with the Mono libraries.
  121. Q: Will you accept code under the XXX License?
  122. A: If the XXX License is compatible with the license we use in that
  123. specific piece of code, then yes. If you want to use the BSD license, make
  124. sure you use the BSD license without the advertisement clause (The
  125. `Ousterhout License').
  126. ** Mono and .NET
  127. Q: If applications use Mono, does that mean that I have to pay a service fee?
  128. A: No. Mono is not related to Microsoft's initiative of
  129. software-as-a-service.
  130. Q: If you implement .NET, will I depend on Microsoft Passport to run my software?
  131. A: No. The .NET Framework is a runtime infrastructure and collection
  132. of class libraries. Passport may be required to access certain web
  133. services written for that framework, but only if the programmer
  134. chooses Passport as the authentication mechanism.
  135. Q: Is .NET just a bunch of marketing slogans?
  136. A: Although the `.NET initiative' is still quite nebulous, The .NET Framework
  137. has been available for some time. Mono is not an implementation of the .NET
  138. initiative, just the development framework.
  139. Q: What is a 100% .NET application?
  140. A: A `100% .NET application' is one that only uses the APIs defined
  141. under the System namespace and does not use PInvoke. These
  142. applications would in theory run unmodified on Windows, Linux,
  143. HP-UX, Solaris, MacOS X and others.
  144. Q: But Microsoft will release a port of the real thing under the
  145. `Shared Source' license, why bother with anything else?
  146. A: The Shared Source implementation will not be usable for commercial
  147. purposes. We are working towards an implementation that will grant
  148. a number of rights to recipients: use for any purpose,
  149. redistribution, modification, and redistribution of modifications.
  150. This is what we call <a
  151. href="http://www.gnu.org/philosophy/free-sw.html">Free Software</a>
  152. ** Passport
  153. Q: Is this a free implementation of Passport?
  154. A: No. Passport is part of Microsoft's Hailstorm initiative. Mono
  155. is just a runtime, a compiler and a set of class libraries.
  156. Q: Will the System.Web.Security.PassportIdentity class, mean
  157. that my software will depend on Passport?
  158. A: No. That just means that applications might use that API to
  159. contact a Passport site.
  160. As long as your application does not use Passport, you will not
  161. need Passport.
  162. It might even be possible to implement that class with
  163. a set of dummy functions, or use an alternate Passport implementation.
  164. We do not know at this time whether the Passport protocol is
  165. documented and whether we will be able to talk to
  166. passport.com
  167. Q: But that must mean that you are tied to Passport!
  168. A: All the contrary. The implementation could keep the interface (for
  169. the sake of simplicity, lets say it implements the method `Login'
  170. and `GetUserName').
  171. We could implement `Login' and `GetUserName' by talking to XNS or
  172. any other decentralized systems. Or any other system that the
  173. industry standarizes on.
  174. Q: What is your opinion?
  175. A: You can read my personal <a href="passport.html">opinion on
  176. passport</a>.
  177. Q: Will Mono running on Linux make Passport available for Linux?
  178. A: The Passport toolkit for Linux-based web servers is available from
  179. Microsoft.
  180. Again, Mono has nothing to do with Passport.
  181. ** Mono and Windows
  182. Q: Will Mono allow me to run Microsoft Office on Linux?
  183. A: No, it will not. Microsoft Office is a Windows application. To
  184. run Windows applications on Intel Unix systems refer to <a
  185. href="http://www.winehq.com">the Wine Project</a>
  186. ** GNOME
  187. Q: How is this related to GNOME?
  188. A: In a number of ways:
  189. * Mono will use existing
  190. components that have been developed for GNOME when it makes
  191. sense. For example on X systems, we will use Gtk+ and
  192. Libart to implement Winforms and the Drawing2D API.
  193. For database access, we will use LibGDA (not really
  194. depending on GNOME, but related to).
  195. * This project was born out of the need of providing improved
  196. tools for the GNOME community.
  197. * We would like to add support to our CLR implementation to
  198. deal with GObjects (in GNOME 1.x, they are called
  199. GtkObjects), and allow Mono developers to provide GObjects
  200. or use and extend existing GObjects.
  201. Q: Has the GNOME Foundation or the GNOME team adopted Mono?
  202. A: Mono is too new to be adopted by those groups. We hope that the
  203. tools that we will provide will be adopted by free software
  204. programmers including the GNOME Foundation members and the GNOME
  205. project generally.
  206. Q: Should GNOME programmers switch over to Mono?
  207. A: Mono will not be ready even within the next six months, and a
  208. complete implementation is probably one year away.
  209. We encourage GNOME developers to continue using the existing tools,
  210. libraries and components. Improvements made to GNOME will have an
  211. impact on Mono, as they will provide the "backend" for various
  212. classes.
  213. Q: Will Mono include compatibility with Bonobo components?
  214. A: Yes, we will provide a set of classes for implementing and using
  215. Bonobo components from within Mono.
  216. Q: Does Mono replace Bonobo?
  217. A: Bonobo is very focused on cross-application component reuse. Mono
  218. will provide a Bonobo framework to allow you to develop Bonobo
  219. components and use Bonobo components on Unix.
  220. Mono should allow you to write Bonobo components more easily, just
  221. like .NET on Windows allows you to export .NET components to COM.
  222. ** Mono and the Web
  223. Q: Is Mono a way of running Java applets?
  224. A: No.
  225. ** Web Services
  226. Q: Is Mono just a new way of writing Web Services?
  227. A: No.
  228. Q: If this implements the SDK classes, will I be able to write and
  229. execute .NET Web Services with this?
  230. A: Yes, you will.
  231. When the project is finished, you will be able to use the same
  232. technologies that are available through the .NET Framework SDK on
  233. Windows to write Web Services.
  234. Q: What about Soup?
  235. A: Soup is a library for GNOME applications to create SOAP server and
  236. SOAP clients. You can browse the source code for soup using <a
  237. href="http://cvs.gnome.org/bonsai">GNOME's Bonsai</a>
  238. Q: Can I use CORBA?
  239. A: Yes. The CLI contains enough information about a class that
  240. exposing it to other RPC systems (like CORBA) is really simple, and
  241. does not even require support from an object.
  242. We will be implementing CORBA interoperation as an extension to the
  243. Mono classes so that we can integrate with Bonobo, just like
  244. Microsoft provides COM interoperation classes and support
  245. mechanisms.
  246. Q: Can I serialize my objects to other things other than XML?
  247. A: Yes, although the serializing tools have not yet been planned, and
  248. you would probably have to implement them yourself.
  249. ** Development Tools
  250. Q: Will it be possible to use the CLI features without using bytecodes
  251. or the JIT?
  252. A: Yes. The CLI engine will be made available as a shared library.
  253. The garbage collection engine, the threading abstraction, the
  254. object system, the dynamic type code system and the JIT will be
  255. available for C developers to integreate with their applications if
  256. they wish to do so.
  257. Q: Will you have new development tools?
  258. A: Hopefully Free Software enthusiasts will contribute tools to
  259. improve the developer environment. These tools could be developed
  260. initially using Microsoft implementation of the CLI and then
  261. executed later with Mono.
  262. ** Mono and Java
  263. Q: What about using Java? After all there are many languages that
  264. target the Java VM.
  265. A: You can get very good tools for doing Java development on free
  266. systems right now. <a href="http://www.redhat.com">Red Hat</a> has
  267. contributed a <a href="http://gcc.gnu.org">GCC</a> <a
  268. href="http://gcc.gnu.org/java">frontend for Java</a> that can take
  269. Java sources or Java byte codes and generate native executables; <a
  270. href="http://www.transvirtual.com">Transvirtual</a> has implemented
  271. <a href="http://www.kaffe.org">Kaffe</a> a JIT engine for Java;
  272. Intel also has a Java VM called <a
  273. href="http://www.intel.com/research/mrl/orp">ORP</a>.
  274. The JVM is not designed to be a general purpose virtual machine.
  275. The Common Intermediate Language (CIL), on the other hand, is
  276. designed to be a target for a
  277. wide variety of programming languages, and has a set of rules
  278. designed to be optimal for JITers.
  279. Q: What kind of rules make the Common Intermediate Language useful for
  280. JITers?
  281. A: The main rule is that the stack in the CLI is not a general purpose
  282. stack. You are not allowed to use it for other purposes than
  283. computing values and passing arguments to functions or return
  284. values.
  285. At any given call or return instruction, the types on the stack
  286. have to be the same independently of the flow of execution of your
  287. code.
  288. Q: I heard that the CIL is ideal for JITing and not efficient for
  289. interpreters, is this the case?
  290. A: The CIL is better suited to be JITed than JVM byte codes, but you
  291. can interpret them as trivially as you can interpret JVM byte
  292. codes.
  293. Q: Could Java target the CLI?
  294. A: Yes, Java could target the CLI. We have details on a <a
  295. href="ideas.html#guavac">project</a> that someone could take on to
  296. make this happen.
  297. ** Extending Mono
  298. Q: Would you allow other classes other than those in the
  299. specification?
  300. A: Yes. The Microsoft class collection is very big, but it is by no
  301. means complete. It would be nice to have a port of `Camel' (the
  302. Mail API used by Evolution inspired by Java Mail) for Mono
  303. applications.
  304. You might also want to look into implementing CORBA for Mono. Not
  305. only because it would be useful, but because it sounds like a fun
  306. thing to do, given the fact that the CLI is such a type rich
  307. system.
  308. For more information on extending Mono, see our <a
  309. href="ideas.html">ideas</a> page.
  310. ** Mono and portability
  311. Q: Will Mono only work on Linux?
  312. A: Currently, we are doing our work on Linux-based systems and
  313. Windows. We do not expect many Linux-isms in the code, so it
  314. should be easy to port Mono to other UNIX variants.
  315. Q: What about Mono on non X-based systems?
  316. A: Our main intention at Ximian is to be able to develop GNOME
  317. applications with Mono, but if you are interested in providing a
  318. port of the Winform classes to other platforms (frame buffer or
  319. MacOS X for example), we would gladly integrate them, as long
  320. they are under a Free Software License.
  321. ** Reusing existing Code
  322. Q: What projects will you reuse or build upon?
  323. A: We want to get Mono in the hands of programmers soon. We are
  324. interested in reusing existing open source software.
  325. Q: What about Intel's research JIT framework, ORP?
  326. A: At this time, we are investigating whether we can use elements of
  327. ORP for Mono. ORP is a research JIT engine that has a clear
  328. defined API that splits the JIT from the GC system and the actual
  329. byte code implementation. It is a research product.
  330. Q: What about using GNU Lightning?
  331. A: We are also researching <a
  332. href="http://www.gnu.org/software/lightning/lightning.html">GNU
  333. Lightning</a>.
  334. <a name="ximian-and-microsoft">
  335. ** Ximian and Microsoft
  336. Q: I read that Microsoft is helping out Ximian, is this true?
  337. A: Initial contact between David Stutz and Miguel de Icaza happened.
  338. It was a friendly conversation. Microsoft is interested in other
  339. implementing .NET and are willing to help make the ECMA spec more
  340. accurate for this purpose.
  341. We were initially contacted by Sam Ruby at the ECMA TG3 committee
  342. to discuss the same issue. And we are glad to have good contacts
  343. to ask questions about the specs.
  344. Q: Is Microsoft paying Ximian to do this?
  345. A: No, we are doing this for purely selfish reasons. We are upgrading
  346. our development platform to build better applications on Unix and other
  347. systems.
  348. Q: Do you fear that Microsoft will change the spec and render Mono useless?
  349. A: No. Microsoft proved with the CLI and the C# language that it was
  350. possible to create a powerful foundation for many languages to
  351. interoperate. We will always have that.
  352. Even if changes happened in the platform which were undocumented
  353. (which is very unlikely), the existing platform has a value on its
  354. own.
  355. Miguel once explained its motivation for working on Mono to Dave
  356. Winer, and his mail got posted <a
  357. href="http://scriptingnews.userland.com/stories/storyReader$1275">here</a>
  358. Q: Didn't Miguel de Icaza say that `Unix Sucks'?
  359. A: Yes, he did, as a catch phrase in his opening remark on the Ottawa
  360. Linux Symposium. His talk focused on various ways to improve Unix.
  361. There is a paper describing some ways to improve Unix at:
  362. <a href="http://primates.ximian.com/~miguel/bongo-bong.html">
  363. http://primates.ximian.com/~miguel/bongo-bong.html</a>
  364. Q: Didn't Ximian's Miguel work for Microsoft?
  365. A: Actually, Nat Friedman (Ximian's co-founder) did work as an
  366. intern for Microsoft for one summer but Miguel did not.
  367. Q: Did Nat and Miguel meet at Microsoft?
  368. A: They met online on the Linux IRC network; They met in person for
  369. the first time in 1997.
  370. ** Mono and Microsoft
  371. Q: How can you expect Mono to compete with Microsoft, wont this
  372. require an effort too large?
  373. A: You are right. Mono will never become a reality without the help
  374. of other contributors. Ximian is a small company that can not
  375. finish Mono alone. We will be working with members of the
  376. community to deliver the product.
  377. Q: Is Microsoft and Corel involved in the Mono implementation?
  378. A: No, they are not.
  379. Q: Are you writing Mono from the ECMA specs?
  380. A: yes, we are writing them from the ECMA specs and the published
  381. materials in print about .NET
  382. Q: What happens if Microsoft `Embraces and Extends' the CLI standard
  383. and keeps Mono out of the play?
  384. A: There are various explanations to this question. The first one is
  385. that the benefits that you can get from the CLI are going to be
  386. there with or without `embracing and extending'. We might not be
  387. able to run every .NET Windows application on Mono. But remember:
  388. it was already easy for someone to just use PInvoke to tie their
  389. application to Windows.
  390. The bottom line is that the advantages of having a CLI runtime will
  391. be with us, no matter if Microsoft forks their version to be
  392. incompatible.
  393. Q: What if Microsoft changes the interface, and all of a sudden
  394. applications break?
  395. A: If they change their released API, every application that was
  396. developed against it will break.
  397. That being said, Microsoft have a pretty good record of keeping
  398. backwards binary compatibility.
  399. ** Acronyms
  400. Q: What is the difference between CLR (Common Language Runtime) and
  401. CLI (Common Language Infrastructure)?
  402. A: CLI is the specification of an execution system. The Microsoft
  403. implementation of this specification is named CLR.
  404. Unless we come up with our own acronym, we could just call ours
  405. also CLR, just because it would do exactly the same thing the
  406. Microsoft implementation does.
  407. <a name="gcc">
  408. ** Mono and GCC
  409. Q: Should someone work on a GCC front-end to C#?
  410. A: I would love if someone does, and we would love to help anyone that
  411. takes on that task, but we do not have the time or expertise to
  412. build a C# compiler with the GCC engine. I find it a lot more fun
  413. personally to work on C# on a C# compiler, which has an intrinsic
  414. beauty.
  415. We can provide help and assistance to anyone who would like to work
  416. on this task.
  417. Q: Should someone make a GCC backend that will generate CIL images?
  418. A: I would love to see a backend to GCC that generates CIL images. It
  419. would provide a ton of free compilers that would generate CIL
  420. code. This is something that people would want to look into
  421. anyways for Windows interoperation in the future.
  422. Again, we would love to provide help and assistance to anyone
  423. interested in working in such a project.
  424. Q: What about making a front-end to GCC that takes CIL images and
  425. generates native code?
  426. A: I would love to see this, specially since GCC supports this same
  427. feature for Java Byte Codes. You could use the metadata library
  428. from Mono to read the byte codes (ie, this would be your
  429. "front-end") and generate the trees that get passed to the
  430. optimizer.
  431. Ideally our implementation of the CLI will be available as a shared
  432. library that could be linked with your application as its runtime
  433. support.
  434. Again, we would love to provide help and assistance to anyone
  435. interested in working in such a project.
  436. Q: But would this work around the GPL in the GCC compiler and allow
  437. people to work on non-free front-ends?
  438. A: People can already do this by targeting the JVM byte codes (there
  439. are about 130 compilers for various languages that target the JVM).
  440. Q: Why are you writing a JIT engine instead of a front-end to GCC?
  441. A: The JIT engine and runtime engine will be able to execute CIL
  442. executables generated on Windows.
  443. ** Mono and Portability
  444. Q: Will Mono work on other variants of Unix?
  445. A: Yes. We do not expect to add any gratuitous incompatibilities.
  446. Q: Will Mono run on Windows?
  447. A: Hopefully yes. Currently some parts of Mono only run on Windows
  448. (the C# compiler is a .NET executable) and other parts have only
  449. been compiled on Linux, but work on Windows with Cygwin.
  450. Q: Will Mono depend on GNOME?
  451. A: It will depend only if you are using a particular assembly (for
  452. example, for doing GUI applications). If you are just interested
  453. in Mono for implementing a `Hello World Enterprise P2P Web
  454. Service', you will not need any GNOME component.
  455. ** Performance
  456. Q: How fast will be Mono?
  457. A: We can not predict the future, but a conservative estimate is that
  458. it would be at least `as fast as other JIT engines'.
  459. Now, wishfully thinking I hope that we will ship various JITs with
  460. Mono just like Microsoft has done. A fast JITer when maximum
  461. performance is not needed, but fast load times are important; And
  462. an optimizing JITer that would be slower at generating code but
  463. produce more optimal output.
  464. The CIL has some advantages over the Java byte code: it is really
  465. an intermediate representation and there are a number of
  466. restrictions on how you can emit CIL code that simplify creating
  467. better JIT engines.
  468. For example, on the CIL the stack is not really an abstraction
  469. available for the code generator to use at will: it is just a way
  470. of creating a postfix representation of the parsed tree. At any
  471. given call point or return point, the contents of the stack are
  472. expected to contain the same object types independently of how the
  473. instructions was reached.
  474. ** Mono and Portable.NET
  475. Q: What are the differences between Mono and Portable.NET?
  476. A: Most of Mono is being written using C#, the only pieces written in
  477. C are those who have to absolutely be built using C (The JIT
  478. engine, the runtime, the interfaces to the garbage collection
  479. system).
  480. The C# compiler and the tools will become reusable C# components.
  481. Portable.NET is building its components out of C pieces.
  482. ** Assorted questions
  483. Q: You say that the CLI allows multiple languages to execute on the
  484. same environment. Isn't this the purpose of CORBA?
  485. A: The key difference between CORBA (and COM) and the CLI is that the
  486. CLI allows "data-level interoperability" because every
  487. language/component uses the same data layout and memory management.
  488. This means you can operate directly upon the datatypes that someone
  489. else provides, without having to go via their interfaces. It also
  490. means you don't have to "marshall" (convert) parameters (data
  491. layouts are the same, so you can just pass components directly) and
  492. you don't have to worry about memory managment, because all
  493. languages/components share the same garbage collector and address
  494. space. This means much less copying and no need for reference
  495. counting.