Alexander,

Wow. Thank you for the pointers.

On Oct 14, 3:06 pm, Alexander Higgins <[email protected]>
wrote:
> There a few ways to accomplish this. When using multiple computers to
> factor Mersenne Primes I simply sent the source code from the server
> to the client and dynamically compiled the code as needed.

I had thought that compiling would be unavailable in the same way that
java requires JDK, unless BeanShell or other silly stuff... Eval'ing
code is something I've been doing since the early Perl days, when we
had no other way to catch exceptions. I had no knowledge of VB being
able to compile source as a string and run it. I suppose it was
probably initially more of a syntax validator, but a very, very
interesting approach for small source files that can be transmitted in
the clear.

> If you want to stick with assemblies. You can do with something like
> this

This looks to be the most flexible. I can also have the DLL part of a
web service response if exposing it via a web server was inappropriate/
insecure.

> And finally a third and possibly most easiest.. but most hackish....

This one sure is, plus it might put burdens on the client, such as
running a web server for the code to run in.

#1 and #2 are very interesting, and I can see some cases where one
might be preferred over the other. For my architecture, #3 seems a bit
demanding.

I will test these first 2 approaches and get back to everyone with the
results.

Many thanks!

pat
:)

Reply via email to