POV-Ray : Newsgroups : povray.off-topic : Invisible: PureData : Re: Invisible: PureData Server Time
3 Sep 2024 17:15:44 EDT (-0400)
  Re: Invisible: PureData  
From: Invisible
Date: 21 Feb 2011 04:14:29
Message: <4d622cf5$1@news.povray.org>
On 20/02/2011 04:28 PM, Warp wrote:
> Invisible<voi### [at] devnull>  wrote:
>>>> This only matters if you're interested in performance.
>>>
>>> Why else would you use assembly?
>
>> Perhaps because you need to perform specific hardware-level operations
>> that C doesn't support. (E.g., selecting a different processor mode or
>> something.) There's usually a few bits of the OS written in assembly
>> because they do very low-level stuff.
>
>    It's not like you need to write the entire program in assembly just
> because you need to execute one asm instruction not supported by the
> language. They invented inline asm for a reason.

Sure. I was just pointing out that "performance" isn't the only possible 
reason for writing assembly. My original point was that "nobody writes 
assembly any more"...


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.