2014-04-08 16:04 GMT-03:00 Pharo4Stef :
> In VW there is the concept of object bodies and head now we will eventually
> have that with Spur. Maybe clement explained it somewhere in his blog (I
> understood the point once and of course I forgot).
>
> Now I wonder what changed so much between 1.2 a
Hi everbody,
I have published an update of JNIPort 3.0 alpha at SmalltalkHub.
Changes from the previous version:
- The Java classes needed for calling back from Java into Smalltalk and for
executing the regression tests have been updated. I have shortened the Java
package name from org.metagno
In VW there is the concept of object bodies and head now we will eventually
have that with Spur. Maybe clement explained it somewhere in his blog (I
understood the point once and of course I forgot).
Now I wonder what changed so much between 1.2 and 3.0
>
>> Yes, #become: is *very* slow in Pha
On 05 Apr 2014, at 23:35, Joachim Geidel wrote:
> Yes, #become: is *very* slow in Pharo. No problem at all in VisualWorks or
> Dolphin Smalltalk or Pharo 1.2, though!
>
> Time millisecondsToRun: [1000 timesRepeat: [String new become: String new ]]
>
> Pharo 3.0 (and also in 2.0 and 1.4):
>
BTW, I have published an updated version of JNIPort which partly resolves the
performance issue caused by using #become:.
Joachim
--
My OpenPGP Key: 29F88108 available from hkp://wwwkeys.de.pgp.net
Hi Joachim,
Thanks for the explanations. It looks complicated but I am very happy it is
possible!
I will give a try next week and get back to you.
Cheers,
Doru
On Sat, Apr 5, 2014 at 2:32 PM, Joachim Geidel wrote:
> Am 31.03.2014 um 21:25 schrieb Tudor Girba :
> > Now, the next question. I s
On 05 Apr 2014, at 23:35, Joachim Geidel wrote:
> Hi Igor,
>
> thanks a lot, your analysis is correct, and it helped.
>
> Am 05.04.2014 um 17:05 schrieb Igor Stasenko:
>> so, without going deep into implementation details, just by reading comment
>> i can already see potential bottleneck - us
Hi Igor,
thanks a lot, your analysis is correct, and it helped.
Am 05.04.2014 um 17:05 schrieb Igor Stasenko:
> so, without going deep into implementation details, just by reading comment
> i can already see potential bottleneck - using #become: operation which is
> veery slow.
Yes, #become: i
Joachim
would you be interested to write a little Chpater for the Pharo for the
entreprise book?
I can help.
Ste
On 05 Apr 2014, at 14:32, Joachim Geidel wrote:
> Am 31.03.2014 um 21:25 schrieb Tudor Girba :
>> Now, the next question. I saw that it is possible to enable callbacks, but I
>>
On 25 March 2014 19:59, Joachim Geidel wrote:
> Hi everybody,
>
> JNIPort for Pharo 3.0 alpha is now available at SmalltalkHub.
>
> JNIPort is a Smalltalk library which allows Java code to be invoked from
> Smalltalk. It acts as a bridge between the world of Smalltalk objects and a
> Java Virtual
Am 31.03.2014 um 21:25 schrieb Tudor Girba :
> Now, the next question. I saw that it is possible to enable callbacks, but I
> could not find an example of how it works.
>
> For example, could we model this:
>
> - in a JavaClassOriginator class we have a method like
> execute(JavaClassTargetInter
Hi Joachim,
Thanks for the answer. I suspected that it goes in this direction :).
Now, the next question. I saw that it is possible to enable callbacks, but
I could not find an example of how it works.
For example, could we model this:
- in a JavaClassOriginator class we have a method like
exec
Hi Doru,
Am 27.03.2014 um 13:07 schrieb Tudor Girba:
> Just a question: is there a way to communicate with an already running VM
> that was started independently from Pharo?
JNIPort uses the Java VM as a DLL / shared library, using the Java Invocation
Interface which is part of the Java Native
EXCELLENT
Thanks for this important contribution.
Stef
On 25 Mar 2014, at 19:59, Joachim Geidel wrote:
> Hi everybody,
>
> JNIPort for Pharo 3.0 alpha is now available at SmalltalkHub.
>
> JNIPort is a Smalltalk library which allows Java code to be invoked from
> Smalltalk. It acts as a
tings: jvmSettings].
>
> "
>
>
>
> Then the fun starts:
>
>
>
> "
>
> zfClass := JVM current findClass: #'java.util.zip.ZipFile'.
>
> zipfile := zfClass new_String: 'JNIPort.jar'.
>
> zipfile size. "--> answe
Thanks a lot for this contribution!
I will give it a try soon.
Doru
On Tue, Mar 25, 2014 at 7:59 PM, Joachim Geidel <
joachim.gei...@onlinehome.de> wrote:
> Hi everybody,
>
> JNIPort for Pharo 3.0 alpha is now available at SmalltalkHub.
>
> JNIPort is a Smalltalk library which allows Java code
Hi everybody,
JNIPort for Pharo 3.0 alpha is now available at SmalltalkHub.
JNIPort is a Smalltalk library which allows Java code to be invoked from
Smalltalk. It acts as a bridge between the world of Smalltalk objects and a
Java Virtual Machine (JVM) where Java code is executing.
When I first
17 matches
Mail list logo