Skip to content

A mini test framework to play with the nasty stuff in __cplusplus

Notifications You must be signed in to change notification settings

daniel-zhang/CppTestframework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CppTestframework

A mini test framework to play with hard(nasty?) stuff using __cplusplus. Now a GUI demo is included for graph search algorithms.

Here's my brief plan:

###Reflection

  • Customized RTTI support, jsut get rid of the standard "typeid" stuff
  • Manual reflection (reflection code is added by hand)
  • Parser based reflection (reflection code is generated by hpp parser & generator)

###Serialization

  • Based on the reflection data(rather than hand-added code for each class)
  • So it is none-intrusive (since the reflection is already intrusive)
  • Pointer/reference graph walker: tree graph
  • Maybe I can find time for directional cycled or even general graph
  • Still I can look into Ogre for reference

###Garbage Collection & Smart Pointers

  • GC can be easily built upon the serialization's pointer graph walker(to mark and sweep)
  • GC need a custom memory pool that provides a set of memory allocators for different purpose(Like havok)
  • Reference counter, weak pointer, pointer graph walking

###Language Binding

  • LuaPlus
  • Extend Lua using C++
  • Extend C++ using Lua
  • (Optional):wxLua for wxWidget
  • (Optional):Script engine prototype using LuaBind

###Multi Threading

  • Look into boost and Ogre and Havok for inspiration
  • Implement a custom(OO?) wrapper for the standard C APIs

###Sort, Search, and Container A summary of my preparations for recent interviews

  • Quick/Merge/Heap/Select/Bubble sorting, with profilers to give an intuitive understanding
  • Graph search algorithms
  • Implement a GUI demo for common graph search algorithms (Prim, Dijkstra, and A*)

About

A mini test framework to play with the nasty stuff in __cplusplus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published