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


Groups > comp.os.linux.advocacy > #364701

Re: OS written in ASSEMBLY is like MIDI encoded music

From 7 <7@enemygadgets.com>
Newsgroups comp.os.linux.advocacy
Subject Re: OS written in ASSEMBLY is like MIDI encoded music
Date 2016-08-07 17:54 +0000
Organization enemygadgets.com
Message-ID <e0p7emF5i4eU1@mid.individual.net> (permalink)
References <5de9aacb-e6e8-4e82-8801-41fbc9dd80ff@googlegroups.com> <e0ob8eFt7g8U1@mid.individual.net> <no778h12lna@news6.newsguy.com>

Show all headers | View raw


Adlbifhr Mjduhgfks wrote:

> On Sun, 07 Aug 2016 08:53:34 +0000, 7 wrote:
> 
>> 
>> main objection{
>>  If only trolls like you could code in assembly as fast as say
>> PHP or C then you would have a point.
>>
> 
> Ha, ha, ha, ha, ha, ha, ha, ha, ha!
> 
> That allusion to deadlines only applies to some sordid commercial
> enterprise sweatshop where junk code must be produced en masse
> to insure a quick and easy profit. 

No.

I don't have profit motive for many a code I write.
I learned coding through assembler.
So assembler is not something far away from any opportunity
to use it.

With assembler and C running on all 4 cylinders
and through all veins
I do believe some great episode in computing
has been missed by assembler writers not using C like
constructs to make their assembler easier to use.

Pseudo  code such as while (a<b) { i++; if (i>10) break }
is easy to do up in assembler equivalents with very simple
headers such #define a R1, (i.e. variable "a" is Register R1),
and then the whole thing would be readable.

But this readable pseudo code would be
very limited to the register sets and machine operations
available to that CPU. You would not be able
to do sin(a) for example, because it would mean too much
work to make the pseudo assembler.

Instead you got assembler and then straight jump into C
with nothing in between. Hence a great episode in
computing is missing where you could write code in
pseudo assembler and get fast results and produce
equal good quality code to machine code, and do
it faster than machine coding or C coding for
simple embedded stuff.
C code would still be essential for higher operations
such as db, stats, maths, calibration etc because
they are not simple embedded stuff.

Back to comp.os.linux.advocacy | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

OS written in ASSEMBLY is like MIDI encoded music Takuya Saitoh <taka0038@gmail.com> - 2016-08-06 23:18 -0700
  Re: OS written in ASSEMBLY is like MIDI encoded music Melzzzzz <mel@zzzzz.com> - 2016-08-07 10:11 +0200
  Re: OS written in ASSEMBLY is like MIDI encoded music 7 <7@enemygadgets.com> - 2016-08-07 08:53 +0000
    Re: OS written in ASSEMBLY is like MIDI encoded music Chris Ahlstrom <OFeem1987@teleworm.us> - 2016-08-07 07:30 -0400
    Re: OS written in ASSEMBLY is like MIDI encoded music Adlbifhr Mjduhgfks <am@random.us> - 2016-08-07 11:49 +0000
      Re: OS written in ASSEMBLY is like MIDI encoded music 7 <7@enemygadgets.com> - 2016-08-07 17:54 +0000
  Re: OS written in ASSEMBLY is like MIDI encoded music Adlbifhr Mjduhgfks <am@random.us> - 2016-08-07 11:31 +0000
    Re: OS written in ASSEMBLY is like MIDI encoded music Takuya Saitoh <taka0038@gmail.com> - 2016-08-07 06:44 -0700
      Re: Assembly is avoided whenever possible, because it isn't portable. Adlbifhr Mjduhgfks <am@random.us> - 2016-08-07 15:22 +0000
        Re: Assembly is avoided whenever possible, because it isn't portable. Takuya Saitoh <taka0038@gmail.com> - 2016-08-07 08:51 -0700
          Re: Assembly is avoided whenever possible, because it isn't portable. Adlbifhr Mjduhgfks <am@random.us> - 2016-08-07 16:48 +0000
      Re: Assembly is avoided whenever possible, because it isn't portable. Michael J. Strickland <michael06582@comcast.net> - 2016-08-09 03:21 -0400
        Re: Assembly is avoided whenever possible, because it isn't portable. Adlbifhr Mjduhgfks <am@random.us> - 2016-08-10 10:53 +0000
        Re: Assembly is avoided whenever possible, because it isn't portable. Yousuf Khan <bbbl67@spammenot.yahoo.com> - 2016-08-10 15:58 -0400
    Re: OS written in ASSEMBLY is like MIDI encoded music DFS <nospam@dfs.com> - 2016-08-09 10:29 -0400

csiph-web