Re: [Pharo-users] Comment on: Pharo performance issues

2019-04-03 Thread Marcus Denker
> > I spent quite some time with Alexandre Bergel's NeuralNetwork implementation > and stumbled across many implementations that cause general performance > issues. > > While, I "fixed/altered" only those parts affecting my code, I would offer to > search trough the image an alter the parts s

Re: [Pharo-users] What's wrong with latest Pharo?

2019-04-03 Thread Ben Coman
On Wed, 3 Apr 2019 at 05:09, Richard O'Keefe wrote: > I just did a complete reinstall of Ubuntu 18.4 on this > laptop yesterday, > > and it did not come with any version of curl. > What do you mean? Under WSL I have installed Ubuntu 18.4 and for... $ apt-cache search libcurl | less I see

[Pharo-users] Slots and Metalink

2019-04-03 Thread Vitor Medina Cruz
Hello, Is it possible to intercept a slot store? I tried with a before metalink into #write:to selector, but it don't seems to work. Should I use another selector? I would like to experiment with ivar change notification, but I don't know what is the better approach. I know I could install a Meta

Re: [Pharo-users] Slots and Metalink

2019-04-03 Thread Steven Costiou
Hi, if you are using Pharo7, you could do either on a class (affects all instances) or on an object (affects only the target instance): > classOrObject link: yourMetaLink toSlotNamed: #slotName option: #write It will install the metalink on all write accesses to the slot. Note that if you tar

Re: [Pharo-users] Slots and Metalink

2019-04-03 Thread Steven Costiou
Also, I do not think metalinks could work on #write:to: method from slots, because that method is not used at runtime (I do not remember exactly but maybe somebody knows the details...). Le 2019-04-03 16:20, Steven Costiou a écrit : > Hi, > > if you are using Pharo7, you could do either on a c

[Pharo-users] FFI and when to convert the stack pointer (an Alien) into an ExternalAddress

2019-04-03 Thread Holger Freyther
I am toying with Ben's bindings to clang-c (C interface to the Clang C-indexer API). One of the main features of the C API is a way to visit the translation unit. This is implemented as a callback into Smalltalk with with "cursors" providing indirect access and simplified access to the node of t