Re: [Pharo-users] [ANN] CPPBridge: One Ring to rule them ALL

2016-11-25 Thread Dimitris Chloupis
Great news for windows users , CPP is ported to Windows. Again like linux and macos it has its own class called "CPPBridgeWin" where all Windows methods are located and comes with two examples with reading and writing to the shared memory. In your github-cache of your pharo folder inside the CPP

Re: [Pharo-users] [ANN] CPPBridge: One Ring to rule them ALL

2016-11-10 Thread Igor Stasenko
On 10 November 2016 at 11:36, Dimitris Chloupis wrote: > > >> Well, a while before that, i wrote own lobotomized smalltalk >> implementation in C and started generating bindings to Ogre3D engine. I >> even had certain success with it, but then i started grand-rewriting of VM >> and abandoned it.

Re: [Pharo-users] [ANN] CPPBridge: One Ring to rule them ALL

2016-11-10 Thread Dimitris Chloupis
> > Well, a while before that, i wrote own lobotomized smalltalk > implementation in C and started generating bindings to Ogre3D engine. I > even had certain success with it, but then i started grand-rewriting of VM > and abandoned it. > That was before i switched to Squeak, then Pharo. So, your in

Re: [Pharo-users] [ANN] CPPBridge: One Ring to rule them ALL

2016-11-09 Thread Igor Stasenko
On 9 November 2016 at 08:41, Dimitris Chloupis wrote: > I am the only potential customer of CPPBridge because > > a) I am the only C++ coder AFAIK > b) Using DLLs (dynamically linked shared libraries) is still by far the > best solution because using the UFFI you can do everything from Pharo. > C

Re: [Pharo-users] [ANN] CPPBridge: One Ring to rule them ALL

2016-11-09 Thread Dimitris Chloupis
Ok documentation has improved a lot , it should be more obvious now https://kilon.github.io/CPPBridge/ Any comment , critic more than welcomed :) On Wed, Nov 9, 2016 at 1:10 PM Dimitris Chloupis wrote: > I would not call you lazy, its normal to want to see documentation before > installing som

Re: [Pharo-users] [ANN] CPPBridge: One Ring to rule them ALL

2016-11-09 Thread Dimitris Chloupis
I would not call you lazy, its normal to want to see documentation before installing something and at least an example. Actually thats a good idea, I will add a few more comments in the example and use it on repo's front page. On Wed, Nov 9, 2016 at 12:56 PM Denis Kudriashov wrote: > > 2016-11-0

Re: [Pharo-users] [ANN] CPPBridge: One Ring to rule them ALL

2016-11-09 Thread Denis Kudriashov
2016-11-09 11:41 GMT+01:00 Dimitris Chloupis : > "Hi. > > It would be nice to see simple code (not in video) how to create memory > and read/write data to it." > > If you get the Project it comes with an example how to use in the class > side of the CPPBridge Class and its in methods retrieveShare

Re: [Pharo-users] [ANN] CPPBridge: One Ring to rule them ALL

2016-11-09 Thread Dimitris Chloupis
"Hi. It would be nice to see simple code (not in video) how to create memory and read/write data to it." If you get the Project it comes with an example how to use in the class side of the CPPBridge Class and its in methods retrieveSharedValueStep1 and retrieveSharedValueStep2, first one open the

Re: [Pharo-users] [ANN] CPPBridge: One Ring to rule them ALL

2016-11-09 Thread Denis Kudriashov
Hi. It would be nice to see simple code (not in video) how to create memory and read/write data to it. As I understand you create bindings to OS shared memory functions. What else CPPBridge provides? Why not separate bindings to another project? because it could be useful without any C++ relation.

Re: [Pharo-users] [ANN] CPPBridge: One Ring to rule them ALL

2016-11-08 Thread Dimitris Chloupis
I am the only potential customer of CPPBridge because a) I am the only C++ coder AFAIK b) Using DLLs (dynamically linked shared libraries) is still by far the best solution because using the UFFI you can do everything from Pharo. Compared to CPPBridge which you will need to code in C++. So as you

Re: [Pharo-users] [ANN] CPPBridge: One Ring to rule them ALL

2016-11-08 Thread Igor Stasenko
On 9 November 2016 at 02:09, Dimitris Chloupis wrote: > I have only played with c structs and it looks like they do the job fine . > If json parsing is slow especially in Pharo then it's out of the question. > Parsing must be kept close to zero because I will be running some very > tight loops of

Re: [Pharo-users] [ANN] CPPBridge: One Ring to rule them ALL

2016-11-08 Thread Dimitris Chloupis
I have only played with c structs and it looks like they do the job fine . If json parsing is slow especially in Pharo then it's out of the question. Parsing must be kept close to zero because I will be running some very tight loops of 100 frames per second and there is no way that I will let Pharo

Re: [Pharo-users] [ANN] CPPBridge: One Ring to rule them ALL

2016-11-08 Thread Igor Stasenko
JSON? -- But you were talking about speed. Once you put JSON as a base for IPC, then say goodbye to speed. Because JSON parsing/writing will eat like 90% of time even if you would use sockets. So, why not using some kind of binary protocol? Unless you wanna use JSON for initial handshaking exchang

[Pharo-users] [ANN] CPPBridge: One Ring to rule them ALL

2016-11-08 Thread Dimitris Chloupis
*https://youtu.be/pI4PR3XaX6Q * *What is it ?* CPPBridge is a library that allows Pharo to share memory with any C/C++ application. Opening the door not only to IPC and data sharing but also even complete control of C++ code from Pharo and vice versa. *How to instal