pouët.net

Go to bottom

First3D.EXE. Help please!!!

category: general [glöplog]
ASM WORLD DOMINATION!!!
added on the 2004-02-25 19:28:42 by Optimus Optimus
Everything is smaller and faster in well-written Assembly, including calling API functions. A clever human can always outsmart the compiler and find better ways to do things.

Tyler's code, on the other hand, is not well-written. I'm not talking about his style (no line breaks or indentaion), I'm talking about the instructions themselves. Any C complier could beat this code hands-down.

I see two reasonable courses of action here:
a.) Learn to program real assembly language.
b.) Write your "First3D.exe" in C.

I personally think assembly language rocks and use it exclusively in my 4K intros. With patience and practice, choice "a" is vastly superior to choice b. ASSEMBLY LANGUAGE FOR EVER!
added on the 2004-02-25 20:15:35 by s_tec s_tec
I'm not even going to try and argue..

Try to push this retarded state of mind through in a professional environment. I'm telling you, you'll change or it's flat on your face in a week.

Duh :)
added on the 2004-02-25 20:23:58 by superplek superplek
And hell yeah, I've applied some lighting fast assembly here and there in our projects. It's just that I know where to use it without losing efficiency.

You're just a blindfolded retard. AS IF you could only halfway consistently beat a compiler (and even IF you could, 99% of the time you'd be wasting resources).

Dumb fool :)
added on the 2004-02-25 20:26:10 by superplek superplek
BALFASZ
added on the 2004-02-25 20:34:47 by Gargaj Gargaj
Hey ! This is my first win32/opengl program so I tried not to mess up with optimizations...
About "no-tabs-style" ? I think, tabs are killin' "assembler-style" at all... can you understand it , you crapy C-programmers :))))
Anyway, i'm already solve my problems (except perspective, some stuff with it :( )
added on the 2004-02-25 23:26:40 by Someone Someone
Real men code in machine language...

...on punch cards!
Yep :)
By the way. Does anybody know any demos written with Fasm ? :)
added on the 2004-02-25 23:33:26 by Someone Someone
by the way, why is it interesting to know if a demo was written using fasm or nasm or tasm or masm? what is important that it's asm or c or pascal...
:)
added on the 2004-02-25 23:44:29 by blala blala
If it's Fasm, so I can ask demo "how to ?" and not to bother all of you... :)
added on the 2004-02-25 23:58:12 by Someone Someone
Superplek:
Please allow me to clarify. When I work on a 4K or other size-critical production, writing in Assembly Language pays big dividends. I can usually tweak code in favor of the compressor, yielding anywhere from 10% to 40% improvement over MSVC. It may take about twice as long to write the code, but I am willing to spend that time as a coder if it means pushing the limits of what can be placed in 4K.

For regular productions, however, I work in standard C++. There is no reason to use assembly language if size or ultimate speed is not a concern. Most of the programs I make are done in C++. Even when I work on a 4K prod, I always prototype the routines in C first to debug and test them. Once I am satisfied that the basic routine works, I take the time to re-write in Assembly.

So, I am not a "blindfolded retard" as you claim. I select the appropriate tool for the given situation and use it. For size-critical code, Assembly language is that tool. For other work, C or C++ is the appropriate tool to use.

Tyler:
You can never have too many tools. It is in your best interests to learn as much as possible about as many different types of programming as possible. When the time comes to write a program, select the best one. If you know how to code proper assembly language, that is just another ace up your sleeve when writing small/fast programs. On the other hand, you should be familiar with C++ as a way to quickly develop code that is easy to debug and maintain.

In this particular case, writing your First3D.exe in C is an excellent choice. From your past productions, however, I see that you like to write small programs such as 256b. This is why I strongly recommend improving your assembly-language skills as well. The proper choice is not a or b, but both a and b.

Darn. Now I'm starting to sound like Optimus.
added on the 2004-02-26 00:10:09 by s_tec s_tec
s_tec: Word up, I'm taking my words back.
added on the 2004-02-26 00:40:30 by superplek superplek
Superplek: Cool! Sorry for being so ambiguous at first about my choice of platforms.

On a side note, I've looked into Dempaja some more, and realize that it's actually more of an editor than an engine. I orignially thought that it was a way to make a production without coders, not a way for coders to let artists interactively edit effects. I'm cool with that.
/me retracts my stupid Demopaja bashing.
added on the 2004-02-26 00:57:45 by s_tec s_tec
Superplek: Cool!

plek taking his words back happens so seldom that people actually go "what? wow! cool! i don't believe it!" :)
added on the 2004-02-26 01:44:35 by reed reed
s_tec: Common sense seems to be on your side, I'm happy to recognize that within this community :) And we're all a little ambiguous some times..

As for Demopaja, I think it can be a big productivity boost. Which is probably good.

Reed: I told you I'm not *that* evil :)
added on the 2004-02-26 10:13:28 by superplek superplek
// you crapy C-programmers

my first language was Assembler and i used that
exclusive for 7 years.
added on the 2004-02-26 12:28:45 by pantaloon pantaloon
But.... i never wrote my source in such a crappy way, hell, i'm sure you will have a hard time trying to understand what you have been doing when you look back at your sourcecode.
added on the 2004-02-26 12:29:49 by pantaloon pantaloon
Yeah same here.. I've been looking angrily at C-compilers even until 4 years ago. Assembler only before that, but hell, I don't regret the transition :)
added on the 2004-02-26 14:55:48 by superplek superplek
Plek did take back his words but he didn't apologise for the use of the term "dumb fool". APOLOGISE!
added on the 2004-02-26 20:28:24 by Pete Pete
Hey there pete, chill out. Taking back words is about the same as apologising. After all, if the words are taken back, there is no longer anything to apologise about, is there? Besides, I don't really care. :)
added on the 2004-02-26 21:05:29 by s_tec s_tec
hey there s_tec, get a sense of humour.
added on the 2004-02-26 22:16:34 by reed reed
I'll hereby pass on all potential insults to Pete :)
added on the 2004-02-26 23:38:15 by superplek superplek
s'plek is megaevilwordbacktaker!
added on the 2004-03-04 01:03:31 by eye eye
i never wrote my source in such a crappy way

ultimate reason for not to opensource our projects :))
added on the 2004-03-04 08:04:28 by FooLman FooLman
excuse me, but what does this have to do with opensource ?
added on the 2004-03-04 12:32:13 by pantaloon pantaloon

login

Go to top