Author Topic: Real APPS real fast with MASM  (Read 1501 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 6391
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Real APPS real fast with MASM
« Reply #15 on: February 19, 2019, 09:13:53 PM »
I remember long ago an application called QMODEM that was a reasonable app written in C then after a couple of years they released a pure ASM version that was a lot smaller, a lot faster and had a better feature set. I do see the wisdom of show casing high quality assembler applications but it is not without its problems. As I explained to Rudi, make it an open forum and it will end up full of chyte, make it a closed forum and anyone who cannot post their latest whatever will be nose out of joint.

Also long ago in the 1990s, I went out of my way to rub the noses of the then "superior" C brigade in their own garbage with what was then the 6k text editor called "TheGun" and at the time it did the job. To realise a similar task means producing application of a similar ratio of size to conventional apps that have the power, speed and size that has advantages in all of the categories.

I have no doubt that such apps can be done but I don't know of a non problematic way of showcasing such examples and to showcase them, they would have to be very good.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

Raistlin

  • Member
  • ***
  • Posts: 481
Re: Real APPS real fast with MASM
« Reply #16 on: February 20, 2019, 05:50:13 AM »
Oh lordy lord, I really did think that prod/joke was old by now AW27. My own opinion about REAL not so tm... was actual thinking processes applied, plus modularity and repeat-ability for the next project in code generation. ASM to my own fract-up opinion (copyright BattleStar series) might need some of it for the new upcoming generation OR there won't be any. Your ideas appreciated dude.
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

TimoVJL

  • Member
  • ***
  • Posts: 324
Re: Real APPS real fast with MASM
« Reply #17 on: February 20, 2019, 07:12:14 AM »
And if only line counts are important, a not so real programmer can make a program to generate useless code lines.
And then only a harddisk is a limit for that.
Even M$ made a some wizards to generate a not so important code :P
Also using some static libraries and useless bitmaps can help to make application bigger, as many C++ users already knows :P
As we know, bigger is better just in p.. films :P
May the source be with you

AW

  • Member
  • *****
  • Posts: 2099
  • Let's Make ASM Great Again!
Re: Real APPS real fast with MASM
« Reply #18 on: February 20, 2019, 08:09:26 AM »
The 21 Foolproof Ways To Look Busy At Work and telling everyone that is doing another 10000 lines of ASM code when he just copied it from the MASM32 forum always guarantees a promotion.

LiaoMi

  • Member
  • ****
  • Posts: 509
Re: Real APPS real fast with MASM
« Reply #19 on: February 20, 2019, 10:23:38 AM »
The 21 Foolproof Ways To Look Busy At Work and telling everyone that is doing another 10000 lines of ASM code when he just copied it from the MASM32 forum always guarantees a promotion.

18. Always poop at work.  :bgrin:

Raistlin

  • Member
  • ***
  • Posts: 481
Re: Real APPS real fast with MASM
« Reply #20 on: February 20, 2019, 04:07:04 PM »
@hutch--:
Code: [Select]
As I explained to Rudi, make it an open forum and it will end up full of chyteI should have listened  :icon_redface: A number of idioms come to mind.....
All the best laid plans of mice and men. Don't count your chickens before they hatch.
All intentions but the devil's intentions are good. Listen to your elders, betters and all that.
And then finally: There comes a time to choose to turn the page or close the book.
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 6391
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Real APPS real fast with MASM
« Reply #21 on: February 20, 2019, 05:47:17 PM »
 :biggrin:

Damn, and I just posted my entry into the hall of infamy.  :P
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

K_F

  • Member
  • *****
  • Posts: 1483
  • Anybody out there?
Re: Real APPS real fast with MASM
« Reply #22 on: February 22, 2019, 06:08:51 AM »
Just for curiosity: Are there people out there who have major sources (>10,000 lines) written entirely in assembly?
Yup... I'm around 15K and counting. I'm only about halfway... I think ;)
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

jj2007

  • Member
  • *****
  • Posts: 9514
  • Assembler is fun ;-)
    • MasmBasic
Re: Real APPS real fast with MASM
« Reply #23 on: February 22, 2019, 06:14:39 AM »
15k is quite big, what kind of program is that?

nidud

  • Member
  • *****
  • Posts: 1697
    • https://github.com/nidud/asmc
Re: Real APPS real fast with MASM
« Reply #24 on: February 22, 2019, 06:40:34 AM »
 :biggrin:

strtok -r \Asmc\*.asm
Code: [Select]
File(s):   *.asm
Directory: D:\Asmc

Total 5292 file(s), 563227 line(s)

 58326 mov
 18807 db
 18077 equ
 11770 .if
 11290 add
 11269 .endif
  8920 proto
  8541 movaps
  7623 typedef
  7379 ret
  6845 call
  6690 include
  5923 lea
  5496 dd
  5261 xor
  5138 proc
  5036 movdqa
  4814 and
  4693 endp
  4554 or
  4222 push
  3879 sub
  3666 .code
  3634 .case
  3572 cmp
  3493 label
  3344 end
  3337 invoke
  3273 dq
  3222 inc
  3213 jmp
  3169 nop
  3154 pop
  3139 local
  2939 dw
  2767 .break
  2663 test
  2086 dec
  2049 .endc
  1991 .else
  1826 jz
  1758 .data
  1663 not
  1628 endif
  1512 .repeat
  1459 je
  1458 option
  1371 jnz
  1347 shl
  1339 .while
  1333 .endw
  1326 movzx
  1286 in
  1218 if
  1147 shr
  1063 extern
  1053 public
  1048 .until
   980 adc
   936 ends
   935 ifdef
   864 for
   788 jne
   726 imul
   726 .elseif
   723 externdef
   698 .endsw
   681 jb
   677 movss
   659 .switch
   654 macro
   646 endm
   ...

strtok \Asmc\include\*.inc
Code: [Select]
File(s):   *.inc
Directory: D:\Asmc\include

Total 326 file(s), 234071 line(s)

 51820 equ
 16332 proc
 12280 proto
  8438 endif
  7998 typedef
  5361 dd
  4055 ifndef
  3964 macro
  3963 endm
  2818 externdef
  1988 if
  1957 else
  1926 ifdef
  1382 .ends
  1367 .comdef
  1108 dw
   818 include
   792 db
   402 .pragma
   364 or
   340 mov
   225 and
   192 for
   148 shl
   145 name
   137 not
   133 dq
   116 ends
   101 in
    98 int
    94 .err
    59 union
    56 option
    55 shr
    50 struct
    48 assume
    47 undef
    45 add
    44 push
    42 pop
    41 xor
    37 .if
    35 includelib
    35 .endif
    32 ifnb
    31 exitm
    30 lock
    29 movq
    26 inc
    23 page
    22 ifdif
    22 movaps
    21 elseif
    19 elseifidn
    18 local
    18 movd
    16 label
    15 .else
    14 sub
    14 struc
    14 lea
    13 elseifdef
    13 .classdef
    13 .case
    13 movzx
    12 ucomiss
    12 cmp
    11 cvtpi2ps
    10 align
    10 movapd
    10 dec
     9 .code
     9 pxor
     8 .data
     8 ucomisd
     8 ifidn
     8 movss
   ...

Raistlin

  • Member
  • ***
  • Posts: 481
Re: Real APPS real fast with MASM
« Reply #25 on: February 23, 2019, 06:10:07 AM »
This mouse is checking out per uber (great) advise.
Don't count your chickens before they hutch.
I really had good intentions about this topic,
but the devil in the detail got to me. Perhaps
this chapter of the thought is better served by
tearing the proverbial page from memory ?
Thanks for your input all,
Raistlin 
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

K_F

  • Member
  • *****
  • Posts: 1483
  • Anybody out there?
Re: Real APPS real fast with MASM
« Reply #26 on: February 23, 2019, 06:24:39 AM »
15k is quite big, what kind of program is that?
Top secret you know  :icon_mrgreen:
It's the Mother of all Number Crunchers where you cook up your own functions..etc - whatever 'tickles your fancy'.
So far it works only on the FPU, but will be extended to the other numerical processes as well as GPU, once I have everything in place.
 ;)

The funny thing about the code.. is that it's 'blitz-vinnig'.. lightning fast, even with the data file loads, saves..etc.
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

daydreamer

  • Member
  • ****
  • Posts: 831
  • watch Chebyshev on the backside of the Moon
Re: Real APPS real fast with MASM
« Reply #27 on: February 23, 2019, 11:53:48 PM »
15k is quite big, what kind of program is that?
Top secret you know  :icon_mrgreen:
It's the Mother of all Number Crunchers where you cook up your own functions..etc - whatever 'tickles your fancy'.
So far it works only on the FPU, but will be extended to the other numerical processes as well as GPU, once I have everything in place.
 ;)

The funny thing about the code.. is that it's 'blitz-vinnig'.. lightning fast, even with the data file loads, saves..etc.
aha the program that solves the question of life,everything =42 like in Hitchhikers Guide to galaxy :greenclp:
Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*

K_F

  • Member
  • *****
  • Posts: 1483
  • Anybody out there?
Re: Real APPS real fast with MASM
« Reply #28 on: February 24, 2019, 05:34:01 AM »
aha the program that solves the question of life,everything =42 like in Hitchhikers Guide to galaxy :greenclp:
Silly me, Forgot to add that.. :icon_mrgreen:
Actually... Yes, it does solve the question of life  :badgrin:
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

jj2007

  • Member
  • *****
  • Posts: 9514
  • Assembler is fun ;-)
    • MasmBasic
Re: Real APPS real fast with MASM
« Reply #29 on: February 24, 2019, 09:30:29 AM »
It's the Mother of all Number Crunchers where you cook up your own functions..etc - whatever 'tickles your fancy'.
:t