-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>Lately I wuz thinking of picking up an extra language to add 
> to my long list
> >of the ones I currently know ;) As most people know you can 
> develop custom
> >COM, CORBA, CFX & other types of add-ons using alot of 
> different languages
> >like C++, VB, Java etc. etc.
> >
> >What I am wondering is if anyone out there knows if I can 
> create COM or CFX
> >extensions through assembly/assembler language. I know its a 
> pretty old
> >language but its also pretty efficient. If anyone has 
> anything to comment
> >about this, please do ;) I will be one extremely greatful person.

I wouldn't call assembly an old language...  When you think about it,
it's THE language.  Everything else you write in comes down to
assembly in the end (or at least one step below -- the processor's
machine code).

As for writing COM (or windows apps in general) in assembly...  It is
most definitely possible.  Having two or three consecutive root
canals would be a WHOLE lot more fun in my opinion, but it's
doable...  You'd need to become intimately familiar with the various
data structures and calling methods of COM and of the Windows PE EXE
format.  The folks at Bleem! did it for their Sony PlayStation
emulator -- it's an entire Windows application stored in a single
800KB EXE file written in assembler.  It's just very difficult.

Chance are for your applications, writing your COM in assembly would
be a waste of time.  The overhead of the COM conventions would still
be there.  Whether it's written in assembler or VB, you still need to
go through all of the motions to support COM.  And given that you'll
presumably be accessing your nice assembly COM from ColdFusion.... 
Let's say that CF isn't the most optimized piece of software out
there, so you'd really be wasting your time.  Any little bit of speed
you might gain from assembler would be overshaddowed from the various
lags introduced by an HTTP application server.

Best regards,
Zac Bedell

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBOi0i2KvhLS1aWPxeEQIVdgCcDzS5wOXvyLmXO0WS4bqpBilRKMcAnRVB
9X1StCD+vLZxrvo58tSbD8Fk
=sTdY
-----END PGP SIGNATURE-----

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to