Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #4004

Re: ORCA/C 2.2.0 B1 update

From Stephen Heumann <stephen.heumann@gmail.com>
Newsgroups comp.sys.apple2.programmer
Subject Re: ORCA/C 2.2.0 B1 update
Date 2017-11-12 18:38 -0600
Organization A noiseless patient Spider
Message-ID <ouapj3$dbi$1@dont-email.me> (permalink)
References (6 earlier) <otivuc$vfs$1@dont-email.me> <bd7c9371-6575-4d47-ac95-77174c252093@googlegroups.com> <ou7kso$sn4$1@dont-email.me> <254d7ea7-a18c-43ab-9b63-43b5e492d667@googlegroups.com> <1e524ae9-878e-425a-979b-f1e02466cdd4@googlegroups.com>

Show all headers | View raw


On 2017-11-12 21:01:01 +0000, Anthony Ortiz said:

> Hey John,
> 
> Do you feel the recent bug fixes address the issues you had? Also, 
> would you extrapolate on the 816 limitations that would hinder lvvm?

If John was using ORCA/C in 1988-89, then he must have been using a 
very early version (probably 1.0 or maybe even a prerelease). There 
really have been a _lot_ of bug fixes and other improvements (including 
faster linkers) since then, so I'd encourage people not to judge the 
current versions of ORCA/C based on experiences from back then.

I agree with Kelvin's assessment that ORCA/C is the only practical 
choice for IIgs C programming, and I think the current versions of it 
(2.1+, and especially the 2.2 beta I've put out) are really quite 
usable. There are still a few bugs, but I don't think they're that bad, 
and if someone tries to write something with ORCA/C and runs into bugs 
that are hindering their work, I'll certainly try to get those bugs 
fixed.

In regard to porting LLVM (or most other portable compiler frameworks) 
to target the 65816, there are several difficulties I think someone 
would face. One major one is the lack of general-purpose registers. 
Most modern compilers are designed to target processors that have at 
least several general-purpose registers, with variables being held in 
registers as they're operated on. The 65xx architecture's 
stack+accumulator design requires a somewhat different style of code. 
It is possible to adapt between these, but doing so in a way that 
generates efficient code might be difficult.
Other issues I can think of include the banked addressing scheme and 
the 16-bit register size. None of these are insurmountable obstacles, 
but they do make things more difficult, particularly if you care about 
generating efficient code.

-- 
Stephen Heumann

Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

ORCA/C 2.2.0 B1 update Stephen Heumann <stephen.heumann@gmail.com> - 2017-10-22 22:51 -0500
  Re: ORCA/C 2.2.0 B1 update Andy McFadden <thefadden@gmail.com> - 2017-10-23 07:50 -0700
  Re: ORCA/C 2.2.0 B1 update D Finnigan <dog_cow@macgui.com> - 2017-10-23 20:34 +0000
  Re: ORCA/C 2.2.0 B1 update Anthony Ortiz <anthonypaulo@gmail.com> - 2017-10-23 16:58 -0700
    Re: ORCA/C 2.2.0 B1 update D Finnigan <dog_cow@macgui.com> - 2017-10-24 00:01 +0000
      Re: ORCA/C 2.2.0 B1 update Stephen Heumann <stephen.heumann@gmail.com> - 2017-10-23 22:46 -0500
    Re: ORCA/C 2.2.0 B1 update Steve Nickolas <usotsuki@buric.co> - 2017-10-24 01:55 -0400
    Re: ORCA/C 2.2.0 B1 update James Davis <JPD.Enterprises@outlook.com> - 2017-10-24 12:56 -0700
      Re: ORCA/C 2.2.0 B1 update Anthony Ortiz <anthonypaulo@gmail.com> - 2017-11-03 14:23 -0700
        Re: ORCA/C 2.2.0 B1 update Stephen Heumann <stephen.heumann@gmail.com> - 2017-11-03 18:12 -0500
          Re: ORCA/C 2.2.0 B1 update Anthony Ortiz <anthonypaulo@gmail.com> - 2017-11-03 16:28 -0700
            Re: ORCA/C 2.2.0 B1 update Stephen Heumann <stephen.heumann@gmail.com> - 2017-11-03 19:00 -0500
              Re: ORCA/C 2.2.0 B1 update Anthony Ortiz <anthonypaulo@gmail.com> - 2017-11-03 17:11 -0700
                Re: ORCA/C 2.2.0 B1 update Stephen Heumann <stephen.heumann@gmail.com> - 2017-11-03 20:21 -0500
                Re: ORCA/C 2.2.0 B1 update Kelvin Sherlock <kelvin@pro-kegs.uucp> - 2017-11-03 23:18 -0400
              Re: ORCA/C 2.2.0 B1 update John Brooks <jbrooks@blueshiftinc.com> - 2017-11-10 21:42 -0800
                Re: ORCA/C 2.2.0 B1 update Kelvin Sherlock <email@domain.com> - 2017-11-11 15:00 -0500
                Re: ORCA/C 2.2.0 B1 update John Brooks <jbrooks@blueshiftinc.com> - 2017-11-12 11:58 -0800
                Re: ORCA/C 2.2.0 B1 update Anthony Ortiz <anthonypaulo@gmail.com> - 2017-11-12 13:01 -0800
                Re: ORCA/C 2.2.0 B1 update Stephen Heumann <stephen.heumann@gmail.com> - 2017-11-12 18:38 -0600
                Re: ORCA/C 2.2.0 B1 update John Brooks <jbrooks@blueshiftinc.com> - 2017-11-12 19:20 -0800

csiph-web