compileIt for revolution?
Jon
jbondy at sover.net
Wed Jun 29 14:28:52 EDT 2005
Derek:
Let's put it differently. My real interest is in seeing how to optimize
Rev code to access arrays in general, and image data in specific, as
rapidly as possible.
If I wanted to code a DLL to do the processing, I know how to do that
(theoretically). I was looking at Rev as a way to write portable code
(in Rev).
So, if you want to port my Rev code to C, please feel free to do so, but
it would not be solving the original problem I wanted to solve
(optimizing Rev code).
Thanks again!
:)
Jon
Derek Bump wrote:
> Jon wrote:
>
>> First off, thanks for your help.
>
>
> Not a problem.
>
>> Secondly, why convert it to C? I have already written it in
>> Delphi/Pascal. The whole point was to make something that was
>> cross-platform. If you create an external on your platform (Window?
>> Mac), would it automatically work on the other platforms?
>
>
> The external I make would be for Windows, but I hope releasing the
> source will allow someone on another platform to port the code.
>
> As far C, it's the only way I know how to make image commands and
> functions for Revolution that are fast enough to consider using in
> commercial applications.
>
>> Thirdly, the code I wrote is not at ALL how I wrote it in Delphi: the
>> extra loops to transfer the image data to the R/G/B arrays were not
>> necessary in Delphi (and perhaps not in Rev!).
>
>
> If it's possible to convert Delphi to a Rev External then that would
> be a solution, but I know nothing about Delphi.
>
>> Speaking of which, would a new feature for Rev, like
>>
>> "repeat for each pixel in imagedata..." be one way to speed image
>> processing up?
>>
>> be helpful for anyone else?
>
>
> I think it would be helpful, but still rather slow. Submit it as an
> enhancement on RevZilla. If people want it they will vote for it.
>
>
> Derek Bump
> Dreamscape Software
> _______________________________________________
> Compress Photos for the Web with JPEGCompress
> http://www.dreamscapesoftware.com/
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
More information about the use-livecode
mailing list