C++ BaseX Client
Saturday, 31 January 2015 · 6 messages · last reply 3 Feb 2015
JM
jean-marc Mercier31 Jan 2015 16:10 #
Hi all,
Just to report that I updated a C++ client for BaseX 8.0, according to the new digest protocol (http://docs.basex.org/wiki/Clients)
Cheers
CG
Christian Grün31 Jan 2015 16:31 #
Hi Jean-Marc,
Good to hear! Where can I find the client code?
Christian
Quoted text · jean-marc Mercier · 8 lines
On Sat, Jan 31, 2015 at 4:10 PM, jean-marc Mercier <jeanmarc.mercier at gmail.com> wrote: > Hi all, > > Just to report that I updated a C++ client for BaseX 8.0, according to the > new digest protocol (http://docs.basex.org/wiki/Clients) > > Cheers
JM
jean-marc Mercier31 Jan 2015 17:55 #
Hi christian,
I should probably update this old repository :
https://github.com/JohnLeM/BasexCPPAPI/
However you already made a remark concerning this code : I should update this C++ client to your standard client architecture. I'll try to update the client before commiting, let me some days left.
For information, I am toying with this client to switch from XQUERY to C++, due to performance issues related to BaseX map and array computations. I will try to report this problem, it might be a quite instructive and interesting one.
2015-01-31 16:31 GMT+01:00 Christian Grün <christian.gruen at gmail.com>:
Quoted text · Christian Grün · 17 lines
> Hi Jean-Marc, > > Good to hear! Where can I find the client code? > > Christian > > > On Sat, Jan 31, 2015 at 4:10 PM, jean-marc Mercier > <jeanmarc.mercier at gmail.com> wrote: > > Hi all, > > > > Just to report that I updated a C++ client for BaseX 8.0, according to > the > > new digest protocol (http://docs.basex.org/wiki/Clients) > > > > Cheers >
JM
jean-marc Mercier2 Feb 2015 12:51 #
Christian,
Hello. I just commited changes to https://github.com/JohnLeM/BasexCPPAPI/ Major changes :
- C++ client for BaseX 8.0, according to the new digest protocol ( http://docs.basex.org/wiki/Clients) but it should also works for ancient version (I tested a 7.8).
- simplified C++ interface to BaseX
I started also to standardize the client to your client architecture : execute(),
info(), close()
I will slowly implement other commands.
Note :
- I compiled it under VS2015, boost 1_57, Platform 64 (important for addressing memory larger than 1,5 Gb) and 32. Seems to work finely.
- I guess than the makefile is outdated now. I did not install gcc on my comp (always a pain to Mingw / gcc a windows installation ...), maybe Dirk could have a look at it ?
Cheers, Jean-Marc
2015-01-31 17:55 GMT+01:00 jean-marc Mercier <jeanmarc.mercier at gmail.com>:
Quoted text · jean-marc Mercier · 36 lines
> Hi christian, > > I should probably update this old repository : > https://github.com/JohnLeM/BasexCPPAPI/ > > However you already made a remark concerning this code : I should update > this C++ client to your standard client architecture. I'll try to update > the client before commiting, let me some days left. > > For information, I am toying with this client to switch from XQUERY to > C++, due to performance issues related to BaseX map and array computations. > I will try to report this problem, it might be a quite instructive and > interesting one. > > > 2015-01-31 16:31 GMT+01:00 Christian Grün <christian.gruen at gmail.com>: > >> Hi Jean-Marc, >> >> Good to hear! Where can I find the client code? >> >> Christian >> >> >> On Sat, Jan 31, 2015 at 4:10 PM, jean-marc Mercier >> <jeanmarc.mercier at gmail.com> wrote: >> > Hi all, >> > >> > Just to report that I updated a C++ client for BaseX 8.0, according to >> the >> > new digest protocol (http://docs.basex.org/wiki/Clients) >> > >> > Cheers >> > >
CG
Christian Grün2 Feb 2015 13:34 #
Jean-Marc,
Thanks for the new client! I have added your link to our list of bindings [1].
All the best,
Christian
[1] http://docs.basex.org/wiki/Clients
Quoted text · jean-marc Mercier · 64 lines
On Mon, Feb 2, 2015 at 12:51 PM, jean-marc Mercier <jeanmarc.mercier at gmail.com> wrote: > Christian, > > Hello. I just commited changes to https://github.com/JohnLeM/BasexCPPAPI/ > Major changes : > - C++ client for BaseX 8.0, according to the new digest protocol > (http://docs.basex.org/wiki/Clients) but it should also works for ancient > version (I tested a 7.8). > - simplified C++ interface to BaseX > > I started also to standardize the client to your client architecture : > execute(), info(), close() > I will slowly implement other commands. > > Note : > - I compiled it under VS2015, boost 1_57, Platform 64 (important for > addressing memory larger than 1,5 Gb) and 32. Seems to work finely. > - I guess than the makefile is outdated now. I did not install gcc on my > comp (always a pain to Mingw / gcc a windows installation ...), maybe Dirk > could have a look at it ? > > Cheers, Jean-Marc > > > > 2015-01-31 17:55 GMT+01:00 jean-marc Mercier <jeanmarc.mercier at gmail.com>: >> >> Hi christian, >> >> I should probably update this old repository : >> https://github.com/JohnLeM/BasexCPPAPI/ >> >> However you already made a remark concerning this code : I should update >> this C++ client to your standard client architecture. I'll try to update the >> client before commiting, let me some days left. >> >> For information, I am toying with this client to switch from XQUERY to >> C++, due to performance issues related to BaseX map and array computations. >> I will try to report this problem, it might be a quite instructive and >> interesting one. >> >> >> 2015-01-31 16:31 GMT+01:00 Christian Grün <christian.gruen at gmail.com>: >>> >>> Hi Jean-Marc, >>> >>> Good to hear! Where can I find the client code? >>> >>> Christian >>> >>> >>> On Sat, Jan 31, 2015 at 4:10 PM, jean-marc Mercier >>> <jeanmarc.mercier at gmail.com> wrote: >>> > Hi all, >>> > >>> > Just to report that I updated a C++ client for BaseX 8.0, according to >>> > the >>> > new digest protocol (http://docs.basex.org/wiki/Clients) >>> > >>> > Cheers >> >> >
JM
jean-marc Mercier3 Feb 2015 08:36 #
Christian,
Nice, thanks. Take care however, this C++ client has not been tested by anyone except me ! I will add a readme.txt for reporting issues to BaseX list.
2015-02-02 13:34 GMT+01:00 Christian Grün <christian.gruen at gmail.com>:
Quoted text · Christian Grün · 82 lines
> Jean-Marc, > > Thanks for the new client! I have added your link to our list of bindings > [1]. > > All the best, > Christian > > [1] http://docs.basex.org/wiki/Clients > > On Mon, Feb 2, 2015 at 12:51 PM, jean-marc Mercier > <jeanmarc.mercier at gmail.com> wrote: > > Christian, > > > > Hello. I just commited changes to > https://github.com/JohnLeM/BasexCPPAPI/ > > Major changes : > > - C++ client for BaseX 8.0, according to the new digest protocol > > (http://docs.basex.org/wiki/Clients) but it should also works for > ancient > > version (I tested a 7.8). > > - simplified C++ interface to BaseX > > > > I started also to standardize the client to your client architecture : > > execute(), info(), close() > > I will slowly implement other commands. > > > > Note : > > - I compiled it under VS2015, boost 1_57, Platform 64 (important for > > addressing memory larger than 1,5 Gb) and 32. Seems to work finely. > > - I guess than the makefile is outdated now. I did not install gcc on my > > comp (always a pain to Mingw / gcc a windows installation ...), maybe > Dirk > > could have a look at it ? > > > > Cheers, Jean-Marc > > > > > > > > 2015-01-31 17:55 GMT+01:00 jean-marc Mercier <jeanmarc.mercier at gmail.com > >: > >> > >> Hi christian, > >> > >> I should probably update this old repository : > >> https://github.com/JohnLeM/BasexCPPAPI/ > >> > >> However you already made a remark concerning this code : I should update > >> this C++ client to your standard client architecture. I'll try to > update the > >> client before commiting, let me some days left. > >> > >> For information, I am toying with this client to switch from XQUERY to > >> C++, due to performance issues related to BaseX map and array > computations. > >> I will try to report this problem, it might be a quite instructive and > >> interesting one. > >> > >> > >> 2015-01-31 16:31 GMT+01:00 Christian Grün <christian.gruen at gmail.com>: > >>> > >>> Hi Jean-Marc, > >>> > >>> Good to hear! Where can I find the client code? > >>> > >>> Christian > >>> > >>> > >>> On Sat, Jan 31, 2015 at 4:10 PM, jean-marc Mercier > >>> <jeanmarc.mercier at gmail.com> wrote: > >>> > Hi all, > >>> > > >>> > Just to report that I updated a C++ client for BaseX 8.0, according > to > >>> > the > >>> > new digest protocol (http://docs.basex.org/wiki/Clients) > >>> > > >>> > Cheers > >> > >> > > >
Written for BaseX 7.9. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery