flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > Creating a object-oriented programming language...

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
edfed



Joined: 20 Feb 2006
Posts: 4333
Location: Now
edfed 26 Jun 2007, 14:45
you'll see
Post 26 Jun 2007, 14:45
View user's profile Send private message Visit poster's website Reply with quote
Maverick



Joined: 07 Aug 2006
Posts: 251
Location: Citizen of the Universe
Maverick 27 Jun 2007, 06:24
what
Post 27 Jun 2007, 06:24
View user's profile Send private message Visit poster's website Reply with quote
m



Joined: 28 Dec 2006
Posts: 304
Location: in
m 01 Jul 2007, 08:22
As you all know, powerful fasm macros are used to emulate structures.
Can we not extend them somehow to also include functions and other
basic functionality relating to OOP ?

_________________
Attitude!
Post 01 Jul 2007, 08:22
View user's profile Send private message Reply with quote
Furby



Joined: 01 May 2007
Posts: 74
Location: Kraków, Poland
Furby 08 Jul 2007, 11:02
vid wrote:
RedGhost: If you know assembly, then there is no reason not to use C++. You will understand it, it is as low as OO language can be etc.

.NET has disadvantage of ~25 MB runtime, and of shitty stack-machine MSIL (which just can't be compiled to good x86 code)


try Ngen.exe

_________________
[AGH] Where is the Polish section ?
Ludu czemu asm jest taki trudny ;/ ?
Post 08 Jul 2007, 11:02
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4333
Location: Now
edfed 25 Sep 2007, 12:16
for oop in pure asm , use the equ directive

elemnt=offset

struct is c,c++ function
and macro is conditionnal assembly

to code a really robust structure for oop, you'll need to use the equ directive
and create objects with linear headers
statically determined

with this technique it's harder to code but it is very robust
Post 25 Sep 2007, 12:16
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 25 Sep 2007, 13:55
Quote:
try Ngen.exe

sorry, i quess i am too busy with other things right now to start learning completely new language... could you describe it a little?
Post 25 Sep 2007, 13:55
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4333
Location: Now
edfed 02 Oct 2007, 09:39
i think oop is possible in asm
but in asm you must manage other programming method in the same code
oop is in my opinion only for graphics and the panels
the bacjground is always in pure sequential asm
and the object engine is launched by the background code
if you only code in object you will lose all the asm optimisation
Post 02 Oct 2007, 09:39
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.