[Pharo-project] Popularity of Smalltalk in Software Industry
siguctua at gmail.com
Fri May 6 15:49:57 CEST 2011
On 6 May 2011 15:42, Denis Kudriashov <dionisiydk at gmail.com> wrote:
> 2011/5/6 Igor Stasenko <siguctua at gmail.com>
>> But just don't fall into delusion, that you can start using external
>> library (either written in C or C# or in Java),
>> without knowing at all the foreign language in which library are
>> written, and just after few mouse clicks in Pharo image.
> In last week I implement java binding with some C library (it containes
> callbacks). Before I never doing this kind of work in java.
> And It will not simple task. I use JNA - analogous FFI libraries in
> So I done it. And It work from my tests. But when I deploy It to apatch
> server as servlet it cant work. Java craches in arbitrarily places of dll
> calling.Solutions will be simplest C dll wrapper which provides two
> functions without callbacks.
> Similar problems will be when we doing java connect to com-object. Solutions
> will be C# socket server :))
> So Java connection to foreign world is not easy. Although there is good
That's what i trying to say.
Someone have to get his hands dirty and do it. Fail, fix & repeat
until its done.
There is no magic. And it always will be hard and error prone.
Igor Stasenko AKA sig.
More information about the Pharo-project