🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Jeff-Relf.Me Sun, 07 Aug 2016 14:11
Assembly is avoided whenever possible, because it isn't portable.
#260788
Author: Jeff-Relf.Me
Date: Sun, 07 Aug 2016 14:11
17 lines
1803 bytes
<PRE Style='Font-Family: OCR A, monospace !important;'>
Assembly is avoided whenever possible, because it isn't portable.

All kernels are written in C with minimal assembly language.

" What Languages are Windows, Mac OS X and Linux written in ? "
http://stackoverflow.com/questions/580292/what-languages-are-windows-mac-os-x-and-linux-written-in

Best answer ( 137 votes ):
<<
    Windows: C++, kernel is in C.

        Mac: Objective C, kernel is in C ( IO PnP subsystem is Embedded C++ ).

      Linux: Most things are in C, many userland apps are in Python, KDE is all C++.

    All kernels will use some assembly code as well.  >>
Re: Assembly is avoided whenever possible, because it isn't portable.
#260789
Author: Adlbifhr Mjduhgfks
Date: Sun, 07 Aug 2016 15:22
37 lines
2606 bytes
On Sun, 07 Aug 2016 07:11:23 -0700, Jeff-Relf.Me wrote:

>
> Assembly is avoided whenever possible, because it isn't portable.
> 

Ha, ha, ha, ha, ha, ha, ha, ha, ha!  What a supreme dumb fuck!

NOTHING is fucking portable.  Got that?  NOTHING.

Aside from the most rudimentary I/O using putchar() and
getchar(), all software depends on some graphical or console
toolkit to achieve a user interface.  Such toolkits are
NEVER portable.  Got that?  NEVER.

Microsoft locks up its Winforms/WPF toolkits and therefore
MS Windows programs won't run on GNU/Linux.  The converse
is not true because all GNU/Linux toolkits have been ported
to the junk Microshit OS.

ALL programs could easily be written to run on GNU/Linux
but most developers, including the six-figure-salaried ones,
are too incompetent to switch toolkits at will.  They have
learned to design for MS Windows only and they will do so
until their deaths (being unable to learn anything else).

On the whole, GNU/Linux software is far more portable than
Microshit's guarded proprietary code.  That, however, will
likely change as freedesktop.org and systemd continue their
encroachment.  RedHat/systemd now wants to include their stuff
(kdbus) in the Linux kernel.  If this happens, more and more
of the Linux GUI will be Linux specific, and that is NEVER
a good thing.

Fuck RedHat!  Fuck freedesktop.org!  Fuck systemd!

But most importantly, fuck Microsoft!
Re: Assembly is avoided whenever possible, because it isn't portable.
#260791
Author: Michael J. Strickland
Date: Tue, 09 Aug 2016 07:21
17 lines
1882 bytes
On Sun, 07 Aug 2016 07:11:23 -0700 (Seattle), Jeff-Relf.Me <@.> wrote:

>
>Assembly is avoided whenever possible, because it isn't portable. 

Its quite portable. Most processors in use today emulate x86
microprocessors assembly language. Assembly language is just harder to
use since its statements are lower level. You probably don't want to
use it for higher math but neither would you want to use C. C has
offloaded what used to be in compilers to "Included Libraries"
resulting in massive software bloat.


....
---------------------------------------------------
Michael J. Strickland			Reston, VA
---------------------------------------------------
Re: Assembly is avoided whenever possible, because it isn't portable.
#260802
Author: Adlbifhr Mjduhgfks
Date: Wed, 10 Aug 2016 10:53
10 lines
1540 bytes
On Tue, 09 Aug 2016 03:21:07 -0400, Michael J. Strickland wrote:

>
> You probably don't want to
> use it for higher math
>

I am not sure what you mean by "higher math," but, in general,
one WOULD want to use assembly, especially if said "higher math"
can be implemented using parallel processing.
Re: Assembly is avoided whenever possible, because it isn't portable.
#260804
Author: Yousuf Khan
Date: Wed, 10 Aug 2016 19:58
19 lines
2617 bytes
On 09/08/2016 3:21 AM, Michael J. Strickland wrote:
> On Sun, 07 Aug 2016 07:11:23 -0700 (Seattle), Jeff-Relf.Me <@.> wrote:
>
>>
>> Assembly is avoided whenever possible, because it isn't portable.
>
> Its quite portable. Most processors in use today emulate x86
> microprocessors assembly language. Assembly language is just harder to
> use since its statements are lower level. You probably don't want to
> use it for higher math but neither would you want to use C. C has
> offloaded what used to be in compilers to "Included Libraries"
> resulting in massive software bloat.

No, actually, most processors in use today, do *not* emulate x86, they 
are now mostly ARM-based. Only Intel and AMD are using x86, everyone 
else is using ARM. Mind you that is a very large number of processors, 
but cellphones outnumber PC's these days.

	Yousuf Khan
Re: Assembly is avoided whenever possible, because it isn't portable.
#260805
Author: Johnny B Good
Date: Thu, 11 Aug 2016 12:45
27 lines
2499 bytes
On Wed, 10 Aug 2016 15:58:53 -0400, Yousuf Khan wrote:

> On 09/08/2016 3:21 AM, Michael J. Strickland wrote:
>> On Sun, 07 Aug 2016 07:11:23 -0700 (Seattle), Jeff-Relf.Me <@.> wrote:
>>
>>
>>> Assembly is avoided whenever possible, because it isn't portable.
>>
>> Its quite portable. Most processors in use today emulate x86
>> microprocessors assembly language. Assembly language is just harder to
>> use since its statements are lower level. You probably don't want to
>> use it for higher math but neither would you want to use C. C has
>> offloaded what used to be in compilers to "Included Libraries"
>> resulting in massive software bloat.
> 
> No, actually, most processors in use today, do *not* emulate x86, they
> are now mostly ARM-based. Only Intel and AMD are using x86, everyone
> else is using ARM. Mind you that is a very large number of processors,
> but cellphones outnumber PC's these days.
> 
 And, by quite a large factor! However, (and in the interest of 
maintaining perspective) I think it's only fair to point out that 
electric toasters (of which a sizeable fraction may also be blessed with 
an ARM processor) also outnumber PCs by a similar margin. :-)

-- 
Johnny B Good
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads