Giter VIP home page Giter VIP logo

libki's Introduction

libki

A library that implements multiple KingsIsle systems such as KINP, DML, and various serialization systems written in C++.

Build Status Build Status Coverage Status

libki's People

Contributors

joshsora avatar pythonology avatar azure-pipelines[bot] avatar

Stargazers

Liam Dempsey avatar Miguel Villa Floran avatar Gavin Kelsey avatar Fuwn avatar  avatar Dorian Kostecki avatar Riku avatar Ethan Lindley avatar Jacob124 avatar Alexander Ubieta avatar Aubrey avatar Arman avatar 11 avatar R avatar Isaac Blake avatar Alec avatar Benjamin Frisby avatar Mark avatar  avatar

Watchers

Alec avatar James Cloos avatar  avatar Mark avatar  avatar Riku avatar Alexander Ubieta avatar  avatar

libki's Issues

Enhancement: Clean up the code-base for DML and KINP

A list of things I want to come back to after finishing the ObjectProperty system.

  • Switch from tabs to 4 spaces.
  • Combine ki::dml::runtime_error and ki::protocol::runtime_error.
  • Create more descriptive exception types and determine when each of them is appropriate.
  • Use ki::BitStream instead of std::stream in ki::dml and ki::protocol.
  • Modularize ki::protocol::net::Session.
  • Remove the triangle inheritance in ki::protocol::net.
  • Use instance-owned receive/send buffers instead of allocating buffers for every message.
  • Choose a C++ documentation generator and document everything.
  • Write in-depth tests. Strive for 80%+ coverage.
  • Make ki::protocol::net and ki::protocol::control non-dependant on ki::dml.
  • Pass strings by constant reference.
  • Make parameters constant if possible.
  • Consider thread-safety.
  • Look into using C++ smart pointers.
  • Use C++ style casting.

Session Offer structure change

Hey, I'm not sure if this project is still being maintained. The protocol docs have been very useful to me, so thank you for making them.

The Session Offer packet appears to have changed structure since the page documenting it was written. The packet is now about 300 bytes and from what I can tell, there is a new field (length-prefixed string) tacked on to the end. It is about 277 bytes.

I suspect that the new string has a role to play in the protocol encryption, but I'm not sure how yet. It's possibly used to derive a symmetric key.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.