Prothon in Prothon (blue sky :-) - was Re: Re: Re: Optional args in C code.

Joe Knapka <[email protected]> 04 May 2004 08:25:22 -0600
Newsgroups gmane.comp.lang.prothon.devel
Message-ID <[email protected]>
Joe Knapka <[email protected]> writes:

> "Michael Geary" <[email protected]> writes:
> 
> > > What C compiler lets you declare vars in the middle of
> > > code? I've never seen such a thing.  While that's a really
> > > cool feature, we are restricting the code to ansii C and
> > > our compilers choke on that.  I'm almost done fixing
> > > your submission, but in the future please restrict your
> > > code to ansii C also.  Maybe there's an option in your
> > > compiler for that?
> > 
> > Mark, this reminds me that I've been meaning to ask: Why did you choose C
> > instead of C++? I know I would have been sorely tempted to use C++ for its
> > convenience and the way it can help you write reliable code more easily
> > (destructors, etc.).

You know what would *really* rock?  A practical Prothon compiler in
Prothon.  Being self-hosting seems to be a fundamental characteristic
of "system" languages vs "scripting" languages (along with low-level
bit-twiddling facilities).  If Prothon could compile to a sufficiently
efficient form that a fast Prothon compiler could be hosted on the
Prothon runtime, we would have a nice high-level system/scripting
language. Java is the only other example of such a thing I can think
of -- and who the heck wants to use Java?  (I'm not even certain that
Java compilers are generally implemented in Java, but I assume at
least some are.)

-- Joe

-- 
Resist the feed.
--
If you really want to get my attention, send mail to
jknapka .at. kneuro .dot. net.