Page 16 of 30

Posted: Wed Feb 09, 2011 11:18 am
by Brainsaw
Uuhh ... haven't touched Assembler for years (last time during the second semester in Univerity ... long time ago ;) ).

Posted: Wed Feb 09, 2011 2:14 pm
by Radikalizm
Brainsaw wrote:Uuhh ... haven't touched Assembler for years (last time during the second semester in Univerity ... long time ago ;) ).
I have a love-hate relationship with assembler, back in my OS-development days I of course couldn't avoid using assembler (both 16-bit realmode and 32-bit protected mode, never got into long mode) and wanted to switch to C as fast as possible, although I was intrigued by the raw power assembler gave you

I should dig up one of my old projects to mess around with it..

Posted: Wed Feb 09, 2011 7:59 pm
by Luben
kazymjir wrote:Let's do more optimization!

Code: Select all

...
Why not take the obvious next step? ;p

Code: Select all

int main() {
   printf("Hello world\n"); //Or whatever is actually written
} 
By the way, how is that code-expansion-feature comming along?

Posted: Fri Feb 11, 2011 12:31 pm
by Mel
It would be cool that some of the core features of Irrlicht were programmed in assembler, indeed, Less portability, but maybe it improved.

Posted: Fri Feb 11, 2011 1:35 pm
by Radikalizm
Mel wrote:It would be cool that some of the core features of Irrlicht were programmed in assembler, indeed, Less portability, but maybe it improved.
I'm not sure about this, but I think that at a high level like this it won't really matter that much, since the compiler will already do a lot of optimizations for you, so you won't get that much benefit from writing raw assembler

Also, inline assembler varies from compiler to compiler, there is no one global standard for writing x86 or x86_64 assembler, and we're not even talking about support for other types of CPU architectures
Using assembler would destroy support for non x86 mobile devices for example, unless you write a different implementation for every single platform and compiler you want to support

This small benefit you get out of it (if it even exists) just isn't worth the hassle

Posted: Sat Feb 12, 2011 5:16 pm
by kazymjir

Posted: Sun Feb 13, 2011 12:35 am
by ChaiRuiPeng
kazymjir wrote:http://www.youtube.com/watch?v=Eq3CuMDXaPs

And so you code... song :)
i remember that sing-song

Posted: Sat Feb 19, 2011 4:05 am
by cobra

Posted: Sat Feb 19, 2011 12:54 pm
by stefbuet

Posted: Tue Feb 22, 2011 8:40 am
by REDDemon
Lowery's Law:
If it jams, force it. If it breaks, it needed replacing anyway.

Lubarsky's Law of Cybernetic Entomology:
There's always one more bug.

Posted: Tue Mar 01, 2011 6:48 pm
by Eigen
Image

Posted: Tue Mar 01, 2011 6:57 pm
by serengeor
Good one Eigen :D

Posted: Wed Mar 02, 2011 8:56 pm
by ent1ty
I've given the guys on the #irrlicht irc really a big amount of personal space :D

Image

Posted: Fri Mar 11, 2011 4:44 pm
by Go|iath
Once a programmer drowned in the sea. Many Marines where at that time on the beach...

...but the programmer was shouting "F1 F1" and nobody understood it.

Posted: Fri Mar 11, 2011 7:45 pm
by Acki
Go|iath wrote:Once a programmer drowned in the sea. Many Marines where at that time on the beach...

...but the programmer was shouting "F1 F1" and nobody understood it.
http://irrlicht.sourceforge.net/phpBB2/ ... =30#225036 ;)