Forum Archive

Go Back   3D Realms Forums > General Topics > Programming Forum
Blogs FAQ Members List Social Groups Calendar Mark Forums Read

Notices

 
 
Thread Tools
Old 01-01-2005, 05:49 PM   #1
Kristian Joensen

Kristian Joensen's Avatar
Self-Hosting compilers
" MCS was able to parse itself on April 2001, MCS compiled itself for the first time on December 28 2001. MCS became self hosting on January 3rd, 2002. The Mono Runtime and the Mono execution engine were able to make our compiler self hosting on March 12, 2002." (Source: http://www.gotmono.com/docs/tools/cscomp-intro.html )

What is the difference between what happend on December 28 2001, January 3rd 2002 and Mach 12,2002 ?
Kristian Joensen is offline  
Old 01-01-2005, 10:02 PM   #2
Sir Lemonhead
Re: Self-Hosting compilers
"MCS was able to parse itself on April 2001, MCS compiled itself for the first time on December 28 2001. MCS became self hosting on January 3rd, 2002. MCS begins to learn at a geometric rate. It becomes
self-aware at 2:14 a.m. Eastern time, August 29th. In a panic, they try to pull the plug.

It decided our fate in a micro-second: Extermination.


hehehehe sorry.
Sir Lemonhead is offline  
Old 01-02-2005, 09:34 AM   #3
Joonas
Re: Self-Hosting compilers
Quote:
Sir_Lemonhead said:
"MCS was able to parse itself on April 2001, MCS compiled itself for the first time on December 28 2001. MCS became self hosting on January 3rd, 2002. MCS begins to learn at a geometric rate. It becomes
self-aware at 2:14 a.m. Eastern time, August 29th. In a panic, they try to pull the plug.

It decided our fate in a micro-second: Extermination.


hehehehe sorry.
Skynet....
__________________
Deep Six's Content/Staff Director: http://www.3dap.com/maxpayne/
E-mail and MSN Messenger: joonasd6@gmail.com
Joonas is offline  
Old 01-07-2005, 01:48 AM   #4
DudeMiester

DudeMiester's Avatar
Re: Self-Hosting compilers
Quote:
Kristian Joensen said:
" MCS was able to parse itself on April 2001, MCS compiled itself for the first time on December 28 2001. MCS became self hosting on January 3rd, 2002. The Mono Runtime and the Mono execution engine were able to make our compiler self hosting on March 12, 2002." (Source: http://www.gotmono.com/docs/tools/cscomp-intro.html )

What is the difference between what happend on December 28 2001, January 3rd 2002 and Mach 12,2002 ?
My Guess:

Dec 28 it was just able to compile itself, but the resulting compilation probably didn't work properly. On Jan 3, everything was working correctly. Then on Mar 12 they were able to run the compiler using the Mono JIT all during runtime, that is the compiler is compiled by the JIT as it is run.

I should prolly google "self-hosting" though.
__________________
Forums are the Opiate of the Masses
Higher Game -- "Animal fur is renewable, unlike the oil used to make plastic!"
DudeMiester is offline  
Old 01-10-2005, 03:53 PM   #5
Drazula

Drazula's Avatar
Re: Self-Hosting compilers
"Self-hosting" is an ancient term (in computer history), that I haven't heard in a while.

Simply put, the language it compiles is used in the compiler. It works something like this:

Compiler for new language A is written in old language B. A new compiler is written in new language A and compiled using the old language B Compiler. Now you have a compiler written in new language A that compiles new language A. It is now "self-hosted".
__________________
"I've been trying to change the world for years, but they just won't give me the source code." - Drazula
Drazula is offline  
Old 01-11-2005, 09:36 AM   #6
Kristian Joensen

Kristian Joensen's Avatar
Re: Self-Hosting compilers
I know what self-hosting is, Delphi, Freespascal and GCC are self-hosting, Visual Basic is not.
Kristian Joensen is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 03:22 PM.

Page generated in 0.12048888 seconds (100.00% PHP - 0% MySQL) with 16 queries

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.

Website is 1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.