chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New egg: mdh


From: siiky
Subject: Re: New egg: mdh
Date: Tue, 25 May 2021 18:53:38 +0100

On 5/18/21 11:29, felix.winkelmann@bevuta.com wrote:
Hi!

This is to announce the "mdh" egg, an interface to the C++ API of O'Kane's
MUMPS database. The concepts behind it were presented by Luke at the
CHICKEN Coding Jam and produced quite some interest. MDH is a very
easy to use multidimensional key-value store. The code is included in
the egg, the only external dependency is libpcre.

Documentation can be found here: http://wiki.call-cc.org/eggref/5/mdh
(or of course at api.call-cc.org).

Note that this is a first release. It seems to work fine, but has not been
heavily tested with regards to scalability and performance. There are a few
parameters than can be tweaked once there exists more experience with
using this database.

Many thanks to Luke K. for inspiration and fruitful discussions regarding
a suitable Scheme API.


felix



Hey Felix,

Thanks for this, the talk got me interested too!

Building, testing, and installing all worked out of the box, but I got these two warnings while compiling (in red even though they're warnings):

/home/siiky/.local/bin/csc -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /home/siiky/.cache/chicken-install/mdh -C -I/home/siiky/.cache/chicken-install/mdh -C -w -C -DNATIVE_SHARED -C -I. -C -D_FILE_OFFSET_BITS=64 -C -D_LARGEFILE_SOURCE -c++ -C -D_MDH_ -L -lpcre mdh.scm /home/siiky/.cache/chicken-install/mdh/arith.o /home/siiky/.cache/chicken-install/mdh/bifs.o /home/siiky/.cache/chicken-install/mdh/bstring.o /home/siiky/.cache/chicken-install/mdh/btree.o /home/siiky/.cache/chicken-install/mdh/globalb.o /home/siiky/.cache/chicken-install/mdh/interp.o /home/siiky/.cache/chicken-install/mdh/libmpscpp.o /home/siiky/.cache/chicken-install/mdh/lock.o /home/siiky/.cache/chicken-install/mdh/pm.o /home/siiky/.cache/chicken-install/mdh/stem.o /home/siiky/.cache/chicken-install/mdh/strmanip.o /home/siiky/.cache/chicken-install/mdh/sym.o /home/siiky/.cache/chicken-install/mdh/sysfunc.o /home/siiky/.cache/chicken-install/mdh/bmgsubs.o -o /home/siiky/.cache/chicken-install/mdh/mdh.so
/home/siiky/.cache/chicken-install/mdh/globalb.cpp: In function ‘Mglobal’:
/home/siiky/.cache/chicken-install/mdh/globalb.cpp:163:24: warning: ‘strncmp’ specified bound [18446744073709551614, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 163 | if (strncmp(( const char * ) hold,( const char * ) bd,j)!=0 ||
      |                        ^
/home/siiky/.cache/chicken-install/mdh/bifs.cpp: In function ‘zfcn’:
/home/siiky/.cache/chicken-install/mdh/bifs.cpp:119:12: warning: ‘strncpy’ specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
  119 |     strncpy( (char *) fcnName, (const char *) &v1d[2],i-2);
      |            ^

(also available here[0])

My C-fu isn't what it used to be, and my C++-fu is worse yet, but I'm wondering if this couldn't be a hint for a source of problems to someone. I think I got all the relevant output, but if you want more just let me know.

Got no warnings on my RBPi4.

[0]: https://paste.rs/KaU

Thanks,
André Sá





reply via email to

[Prev in Thread] Current Thread [Next in Thread]