A Conversation for The H2G2 Programmers' Corner
I'm making an online community from scratch. Anyone want to help me?
26199 Posted Dec 26, 2002
Hmm, I don't think learning assembler would help...
If a graphics algorithm is bog-standard, rather than being highly efficient, there could be a hundred or a thousand times difference in performance.
I find it hard to imagine switching from C++ to assembler could gain you more than a factor of, say, four or five... and it seems more likely you'd gain one-two.
The way to get good graphics algorithms is to either:
1. Spend ages working out how to make them efficient; maths degree useful
2. Look up well-known efficient versions
3. Use hardware to do it for you
Assembler is certainly not the last word in fast computing...
I'm making an online community from scratch. Anyone want to help me?
The Guy With The Brown Hat Posted Dec 26, 2002
Was playing that Habbo Hotel thing the other day. It looked promising but unfortunately seems to be full of rowdy teenagers with nothing better to do than swear at each other and be rude. So I left.
I'm making an online community from scratch. Anyone want to help me?
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Dec 26, 2002
Always the case,
Agreed that normaly you need to have a brain to do usefull things in assembler, but how many assembler programmers do you know that do 'mov eax,0'
You could always do inline assembler for the loopable stuf, very usefull when it comes to loops. if you know what your doing.
Then again, if you just want to see IF you can do it, then why bother learning a new lanuage, it won't get to an end user, so no loss realy.
-- DoctorMO --
I'm making an online community from scratch. Anyone want to help me?
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Dec 26, 2002
Always the case,
Agreed that normaly you need to have a brain to do usefull things in assembler, but how many assembler programmers do you know that do 'mov eax,0'
You could always do inline assembler for the loopable stuf, very usefull when it comes to loops. if you know what your doing.
Then again, if you just want to see IF you can do it, then why bother learning a new lanuage, it won't get to an end user, so no loss realy.
-- DoctorMO --
I'm making an online community from scratch. Anyone want to help me?
Calculator Nerd 256 Posted Dec 26, 2002
my thoughts exactly... well, sorta
anyway, that's really sad about those stupid humans with their swear words. the isometric style looked promising, too
what does 'mov eax,0' do?
so e a and x are registers and there is a command called mov that prolly stands for move
but what is the other parameter for? the 0?
i made a cool 2-d version of a sphereflake and it was the first program i ever wrote that ran too fast
YAY!
i also had a really cool gravity sim that had 256 particles that start in a circle with velocities pointing outward and because of some mistakes i made, such as updating one before checking the next, it isn't totally boring
they could even leav trails!
>8^B
I'm making an online community from scratch. Anyone want to help me?
The Guy With The Brown Hat Posted Dec 26, 2002
'mov eax, 0' sets the register eax to the value 0, but it takes less bytes worth of instructions to do 'sub eax, eax' or 'xor eax, eax'
I'm making an online community from scratch. Anyone want to help me?
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Dec 26, 2002
I'm making an online community from scratch. Anyone want to help me?
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Dec 26, 2002
I belive 'xor eax, eax' is the fastist, taken the minium number of cycles.
I'm making an online community from scratch. Anyone want to help me?
The Guy With The Brown Hat Posted Dec 30, 2002
Btw, you may find this of interest too, specifically the bit on partial stalls:
http://x86.ddj.com/ftp/manuals/686/p6tips.pdf
I'm making an online community from scratch. Anyone want to help me?
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Dec 30, 2002
Stupid PDFs, what a pain to load in linux (or windows for me because I never install Acrobat) *mad*
-- DoctorMO --
I'm making an online community from scratch. Anyone want to help me?
Calculator Nerd 256 Posted Jan 21, 2003
I finally got Linux(Red Hat 8.0, of course)!
I'm even online!
Now I just have to get used to the differences between DOS and the Terminal and the differences between programming for Windows and Linux
>8^B
I'm making an online community from scratch. Anyone want to help me?
26199 Posted Jan 21, 2003
Cool ...
RedHat 8.0 is quite nice, I have that running on a box at home...
Once you find out how powerful the Unix terminal is, you'll never want to go back to DOS...
(few quick hints: tab for completion is immensely useful... ctrl-r to search for something you've typed recently, just type the first few letters... ls -rt will list recently files, and ls -al will list everything with details... and be very careful if using root!...)
Hmm, PDFs a problem?... but you can get acrobat, or xpdf, and both of those read 'em perfectly well...
I'm making an online community from scratch. Anyone want to help me?
Dogster Posted Jan 21, 2003
You might want to install a more recent version of gcc if you've got RedHat 8.0, the version they included is a slightly weird release (earlier and later versions are fine, but the one they put on is a bit odd). At least, I've had problems with it.
I recently found out that the command window in WinXP has tab completion, which is nice.
I'm making an online community from scratch. Anyone want to help me?
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Jan 21, 2003
Ooo, tab compleation, I like that, almost a year with linuc, and I didn't know any of those things
I'm going to have to get RetHat, SuSE is pigging me off, dumb installs and wierd X11 config, never works right.
-- DoctorMO --
I'm making an online community from scratch. Anyone want to help me?
Calculator Nerd 256 Posted Jan 28, 2003
I'm making an online community from scratch. Anyone want to help me?
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Jan 28, 2003
Well I got rid of SuSE, now I'm holding my breath waiting for Somthing else, I need my Apatche Back! Wah!
-- DoctorMO --
I'm making an online community from scratch. Anyone want to help me?
ex Brigadeer, now Tealady Werekitty aka Tobru De'ran; ex sith extraordinaire, well poked veggie fascist and Goo Goose Posted Feb 7, 2003
*A great flying ship approaches. Not a spaceship but a genuine old rigging & sails ship.... just as you're thinking thoughts along the lines of 'how quaint', a zapping noise exactly like the noise of a photon torpedo being fired is heard and a huge explosion flowers nearby. The Ragnorak Pirates of the Bad ship Falconer have arrived!*
I'm making an online community from scratch. Anyone want to help me?
ex Brigadeer, now Tealady Werekitty aka Tobru De'ran; ex sith extraordinaire, well poked veggie fascist and Goo Goose Posted Feb 7, 2003
AAaaaarrr!!!! Hand over *looks momentarily confused by all the computer jargon* whatever you've got!!!
I'm making an online community from scratch. Anyone want to help me?
The Guy With The Brown Hat Posted Feb 7, 2003
WTF?
I'm making an online community from scratch. Anyone want to help me?
Ace Rimmer [pretending] Posted Feb 7, 2003
Key: Complain about this post
I'm making an online community from scratch. Anyone want to help me?
- 201: 26199 (Dec 26, 2002)
- 202: The Guy With The Brown Hat (Dec 26, 2002)
- 203: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Dec 26, 2002)
- 204: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Dec 26, 2002)
- 205: Calculator Nerd 256 (Dec 26, 2002)
- 206: The Guy With The Brown Hat (Dec 26, 2002)
- 207: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Dec 26, 2002)
- 208: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Dec 26, 2002)
- 209: The Guy With The Brown Hat (Dec 30, 2002)
- 210: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Dec 30, 2002)
- 211: Calculator Nerd 256 (Jan 21, 2003)
- 212: 26199 (Jan 21, 2003)
- 213: Dogster (Jan 21, 2003)
- 214: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Jan 21, 2003)
- 215: Calculator Nerd 256 (Jan 28, 2003)
- 216: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Jan 28, 2003)
- 217: ex Brigadeer, now Tealady Werekitty aka Tobru De'ran; ex sith extraordinaire, well poked veggie fascist and Goo Goose (Feb 7, 2003)
- 218: ex Brigadeer, now Tealady Werekitty aka Tobru De'ran; ex sith extraordinaire, well poked veggie fascist and Goo Goose (Feb 7, 2003)
- 219: The Guy With The Brown Hat (Feb 7, 2003)
- 220: Ace Rimmer [pretending] (Feb 7, 2003)
More Conversations for The H2G2 Programmers' Corner
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."