[Info-vax] The (now lost) future of Alpha.

Johnny Billquist bqt at softjar.se
Sun Aug 5 19:37:38 EDT 2018


On 2018-08-02 14:35, John E. Malmberg wrote:
> On 8/2/2018 4:56 AM, Johnny Billquist wrote:
>> On 2018-08-02 02:51, Arne Vajhøj wrote:
>>> Well - a compiler can be written in pure C with no system calls at all
>>> beyond the C RTL.
>>>
>>> So no need for any assembler to make system calls.
>>
>> Well, the C RTL needs some assembler in order to make those system 
>> calls... Hiding it in another library does not make it go away...
> 
> Only if you do not implement the needed helper code as built-ins.
> 
> The compiler should be able to generate any code that an assembler can.

Why?

In reality, it is definitely not the case, which is why both operating 
systems and libraries still contain pieces written in assembler.

   Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt at softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol



More information about the Info-vax mailing list