Git Product home page Git Product logo

simple-binary-encoding's Introduction

Simple Binary Encoding (SBE)

SBE is an OSI layer 6 presentation for encoding and decoding binary application messages for low-latency financial applications. This repository contains the reference implementations in Java and C++.

Further details on the background and usage of SBE can be found on the Wiki.

An XSD for SBE specs can be found here

For the latest version information and changes see the Change Log.

This SBE implementation is designed with work very efficiently with the Aeron messaging system for low-latency and high-throughput communications. The generated codec stubs can wrap the Aeron buffers directly for zero copy semantics.

License (See LICENSE file for full license)

Copyright 2014 - 2016 Real Logic Limited

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Binaries

Binaries and dependency information for Maven, Ivy, Gradle, and others can be found at http://search.maven.org.

Example for Maven:

<dependency>
    <groupId>uk.co.real-logic</groupId>
    <artifactId>sbe-all</artifactId>
    <version>1.3.2-RC3</version>
</dependency>

Directory Layout

Main source code

sbe-tool/src/main

Unit tests

sbe-tool/src/test

Examples of usage

sbe-samples/src/main

Build

Full clean build:

$ ./gradlew

Run the Java examples

$ ./gradlew runJavaExamples

Distribution

Jars for the executable, source, and javadoc for the various modules can be found in

<module>/build/libs

C++ Build using CMake

NOTE: Linux, Mac OS, and Windows only for the moment. See FAQ. Windows builds have been tested with Visual Studio Express 12.

First build using gradle to generate the SBE jar.

$ ./gradlew

For convenience, a script is provided that does a full clean, build, and test of all targets as a Release build.

$ ./cppbuild/cppbuild

If you are comfortable with using CMake, then a full clean, build, and test looks like:

$ mkdir -p cppbuild/Debug
$ cd cppbuild/Debug
$ cmake ../..
$ cmake --build . --clean-first
$ ctest

simple-binary-encoding's People

Contributors

mjpt777 avatar tmontgomery avatar richardwarburton avatar csoroiu avatar qed- avatar mikeb01 avatar yaitskov avatar tfgm-bud avatar slovefatpot avatar zeeshanasghar avatar guillaume-alvarez avatar mmcilroy avatar benalexau avatar bjoto avatar leecampbell avatar warrenfalk avatar lcs777 avatar nitsanw avatar pavlobaron avatar

Watchers

James Cloos avatar david guimard avatar

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.