Git Product home page Git Product logo

simple-binary-encoding's People

Contributors

bjoto avatar leecampbell avatar mikeb01 avatar mjpt777 avatar nitsanw avatar ogreenz avatar tmontgomery avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simple-binary-encoding's Issues

[C#] Update to upstream

It appears that real-logic have deleted the c# code base that adaptive (?) contributed as it was not kept up to date (real-logic#310)

Are there any plans to bring the c# code up to the latest RC3 implamentation that is supported in the real-logic repo?

Related to this, I think I have found an issue with the CURRENT c# code generation, and its unclear if this should be reported in this repository or in real-logic's one (I'm pretty sure its here...)

Can you elaborate on how you see this going forward?

Encapsulate pointer logic in DirectBuffer

The code generation is currently generating expressions with pointer logic which will be hard to test and DirectBuffer leaks a byte pointer... which forces consumer of SBE to compile their code with unsafe flag (which is clearly not acceptable).

Tasks:

  • create methods on DirectBuffer to read and write to the underlying buffer
  • update the code generation to use those new methods
  • write unit tests covering new DirectBuffer methods

Groups API is not idiomatic .NET

I ported the java API which uses iterators to access groups. This makes the C# groups API very weird to use. We should review that but we should not introduce memory allocation..

Review current generated code

Current generated code is very close to Java API, which is not very idiomatic for a C# developer. We need to go through the generated code and decide how the different SBE constructs (fields, composites, bitsets, etc..) should be implemented and exposed in .NET.

Output of this task should be a list of the changes to apply in the code generation.

Some initial ideas:

  • optional fields as Nullable<>
  • set to be implemented a C# enum with [Flag]
  • groups API is horrible, need to be looked at

Document .NET API

Once the API is stabilised we should add a wiki page to document the .NET API

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.