T,
We presently implement some very proprietary algorithms on our web site that
implements case management for trial lawyers. I am anticipating that some of
our customers will find a remote web site to be a security problem -- even
with SSL. (I think SSL will be two slow for us).

I anticipate that some customers will want to run the software inside their
firewall in their private intranet server. Since we have used perl, that
would require that we give away the source code.

Since we are talking about 20K-50K lines of perl source code, I think the
best approach would be to code some key sections up in C/C++ and call those
from perl. C/C++ is better than java and C#/VB.NET because those languages
can be decompiled easily.

Any other ideas?

Siegfried

-----Original Message-----
From: toolscripts [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 22, 2005 3:26 PM
To: beginners@perl.org
Subject: Re: Starting Template for calling C from Perl

I don't think there are any such examples besides the manual. There are
generally clear warnings as to why not to try to do the c code from scratch.
Either work with the xs system directly, or try http://www.swig.org which
has good and bad sides to it. If you described the problem you're having I
can probably help.

--t

----- Original Message ----- 
From: "Siegfried Heintze" <[EMAIL PROTECTED]>
To: "'Perl Beginners List'" <beginners@perl.org>
Sent: Friday, April 22, 2005 9:37 AM
Subject: Starting Template for calling C from Perl


> I was looking at "Programming Perl" trying to understand how to write OS
> vendor neutral C functions to be called by perl and felt a little
> overwhelmed (as usual when reading that book).
>
> Can someone recommend a template that works with windows/MSVC/nmake or
> Cygwin/GCC/make (unix clone for windows platform) that does something
> trivial in C like print "hello" or adds two numbers or concatenates two
> strings that will run out of the box and I can just modify.
>
> Thanks,
> Siegfried
>
>
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
>
>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to