GithubHelp home page GithubHelp logo

aldrinmartoq / brayatan Goto Github PK

View Code? Open in Web Editor NEW
14.0 5.0 1.0 2.28 MB

The best runtime for building web services, ever

Home Page: http://brayatan.org/

License: Other

Objective-C 70.49% Ruby 0.61% C 27.45% C++ 0.17% Python 0.97% Shell 0.31%

brayatan's Introduction

Brayatan

Brayatan is a high performance, memory efficient and easy to program runtime for building services. It is part of «Brayatan Azikalao Pa las Nenas», a new platform for building the next generation of web applications.

Brayatan is based in core OS X technologies, like:

  • Objective-C 2.0
  • Blocks
  • Foundation framework
  • ARC Automatic Reference Counting
  • GCD Grand Central Dispatch

The project started using http_parser and libuv from nodejs project, the current status is:

  • libuv has been replaced by brayatan-core, a high performance libdispatch aware library that uses clang's blocks.
  • http_parser can't be replaced yet, but it works nicely with the current framework.

Building

Mac OS X

Download the latest Xcode from the App Store. Choose the scheme "sample01" and hit Run.

Linux

Prerequisites:

  • Ubuntu

      $ sudo apt-get install wget build-essential subversion
    
  • CentOS

      # yum install make gcc-c++ wget subversion
    

Add the following to your .bashrc, .profile or equivalent:

export BRAYATAN=$HOME/local/brayatan
export PATH=$BRAYATAN/bin:$PATH

Go to the linux/build folder and run make:

$ cd linux/build
$ time make -j 4

There is a makefile for the Raspberry Pi using the Raspbian image:

$ cd linux/build
$ time make -j 4 -f Makefile.raspbian

Go and get some coffe: everything will be downloaded, compiled and installed in your $HOME/local/brayatan folder. To build the sample01 source code, go to samples/sample01 and build it with brayatan-cc compiler:

$ cd samples/sample01
$ brayatan-cc main.m -o main
$ ./main

brayatan's People

Contributors

aldrinmartoq avatar

Stargazers

Moisés Cruz avatar Alice Atlas avatar Rick Gigger avatar Shintaro Abe avatar Diego Rodriguez avatar Eduardo Díaz avatar Luis Ramírez Queupul avatar Rocco Georgi avatar  avatar Rodrigo Amaro avatar  avatar J. Pablo Pérez Trabucco avatar Leo Soto avatar Ricardo Fuentes avatar

Watchers

Gwendal Roué avatar  avatar James Cloos avatar Moisés Cruz avatar caisd avatar

Forkers

jsj2008

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.