The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: asmman on April 22, 2007, 10:39:39 PM

Title: Am I crazy?
Post by: asmman on April 22, 2007, 10:39:39 PM
Hi All,

I am contemplating writing a Generic Grid control to display data either from a file or the output from a Database query.  I would like to start with a framework of something that I know works so that I don't have to spend a whole lot of time writing code from scratch.  I found a demo for a control called BabyGrid which is written in C at Pelles website.  In skimming the code it looks pretty clean and has much of the functionality I am looking for.  I have found the Brilliant Grid demo from Manos but it does not include the source for the control as best as I can tell and it does not seem to have all the functionality that I would like to have.

I am thinking of spending some time translating the C for BabyGrid code into ASM with the thought that translating from C into ASM should not take too long and would also give me a control that is fairly fast and efficient.  Is this a worthwhile way of spending my time?  Am I crazy to think that translating C into ASM  will yield me any worthwhile performance/memory benefits?    I suspect the answer is that it depends on how well the ASM is optimized/coded but I want to at least get some thoughts on this before I jump into deep waters.   :wink

Thanks in advance for your comments!
Title: Re: Am I crazy?
Post by: Jimg on April 22, 2007, 11:29:38 PM
I've been thinking of writing a grid myself.  It's hard to justify, but I have several things I want that aren't in any of the available grids.  You can get the source code for RaGrid from the RadAsm site.  The link is http://www.radasm.com/projects/Grid.zip
It's a nice grid, but I want to do one for myself eventually, and yes, we're both probably crazy.
Title: Re: Am I crazy?
Post by: hutch-- on April 22, 2007, 11:40:15 PM
asmman,

>  Am I crazy?

Probably but you may also end up with a very good component if you do it right so I would not be discouraged in the effort. Jim's suggestion is a good one as even if you don't use the asm project version it may be well worth the effort to have a good look at it.
Title: Re: Am I crazy?
Post by: ic2 on April 23, 2007, 12:35:41 AM
Here are two examples i founded on my machine.  It seems with source but i did not explore it fully or know if it has any relations to what your speaking of.  9 out of 10 you may all ready have them. Anyway here what i founded.

[attachment deleted by admin]