Git Product home page Git Product logo

starling's Introduction

Additional Info

There is are a couple of projects to implement ICU as a NIF in Erlang. You can find them at:
https://github.com/beerriot/icu4e
https://github.com/freeakk/i18n

Release Notes V 2.0

Starling which was previously hosted at http://code.google.com/p/starling/ has been brought into the Hypernumbers repositories at GitHub at http://github.com/hypernumbers/starling

In this release multiple instances of the port driver can be loaded to provide to provided additional throughput.

The number of instances is determined by the environment variables in the starling.app file.

The environment variable 'poolsize' determines how many ports will be loaded and the environment variable 'group' determines the name of the pg2 group that the starling_server processes will be part of.

The pg2 group is a global group and starling can now be deployed as a multiserver capability.

********************************************************
Starling is a Unicode text processing library for Erlang.
It's based on ICU (http://icu-project.org/), which you need to have installed to use Starling.

`port install icu` with MacPorts on OSX
`apt-get install libicu38 libicu-dev` on Ubuntu

You also need to have Ruby and Rake installed (the build script uses Rake).

To compile, just run `rake` from Starling's root directory.

Once you've compiled Starling, start the Erlang shell with:
`erl -pa ~/path/to/starling/ebin`

You can then use Starling like this:

  1> application:start(starling_app).
  ok
  2> S = ustring:new("hello").
  <<0,104,0,101,0,108,0,108,0,111>>
  3> S2 = ustring:upcase(S).
  <<0,72,0,69,0,76,0,76,0,79>>
  4> ustring:pr(S2).
  "HELLO"

There's a couple of simple demos under demos/. You may also want to take a look at tests/.

Project's homepage: http://12monkeys.co.uk/starling
Google Code page:   http://code.google.com/p/starling/

Hasan Veldstra <[email protected]>

starling's People

Contributors

hypernumbers avatar metajack avatar

Watchers

James Cloos 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.