项目作者: venediktov

项目描述 :
multi platform cross language multi index cache
高级语言: C++
项目地址: git://github.com/venediktov/multi_index_cache.git
创建时间: 2015-03-05T05:56:28Z
项目社区:https://github.com/venediktov/multi_index_cache

开源协议:GNU General Public License v2.0

下载


multi_index_cache

multi platform cross language multi index cache ( a.k.a MPCLMI CACHE )

Motivation :
In my previouse work experiance a set of application written in C++ and Java needed
to share data .
I decided to write a generator program for those who develope in both languages and require non distributed
version of shared data faster then filesystem.
In stead of standard IDL Java annotations and java reflexion has been chosen as
a main driver for this code generator.

Structure ( work in progress ) :

The Make or other build system will generate cpp and java code based on input from IDL .
The IDL in the form of annotated Java classes is used as an input to Generator.java , under generator/ directory
reside classes ( design in progress with some thoughts on visitor , delegate , etc ) ,
whose role is to process IDL ( annotated Java classes ) and produce intermediate result .
This intermediate result can be fed into CodePrinter which produces Java, C++ or both.

Phase-I
generate C++ code only

Phase-II
Generate Java code using JNI interface to C++ system library interfacing via provided by MPCLMI classes in
system/ directory

Phase-III
To research and implement pure Java solution for Java developers without a need to compile code with C++ compiler.