Create Lib - ASM vs PureBasic+Talibite

Everything else that doesn't fall into one of the other PB categories.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Create Lib - ASM vs PureBasic+Talibite

Post by va!n »

Just a general question about lib coding/creating...

For example someone want to code an own lib and want to use API calls only (maybe some structures too)... Is there any different in speed (because of POP/PUSH) or size differenz when writting the lib in pure ASM and when writing it with PureBasic using Talibite?

Would it be hard (for newbie in x86 asm) to write such procedures in pure ASM for an own lib? Thanks in advance
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

Writing them directly in ASM allows optimizing it to the maximum for size and speed. If you know how, obviously. If you don't, PureBasic's generated ASM can defeat your ASM code easyly.
El_Choni
Post Reply