Skip to content

A platform independent memory allocator in Crystal

License

Notifications You must be signed in to change notification settings

marysaka/cryloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cryloc

A platform independent memory allocator in Crystal.

For now, the implementation is based on a free list but more implementations will come in the future.

Demo

An implementation is provided for x86_64-*-linux-gnu. It's design as a malloc(3) replacement and provide a static and dynamic shared library.

See here for the implementation.

To build it, uses:

make

Installation

Add this to your application's shard.yml:

dependencies:
  cryloc:
    github: Thog/cryloc

Usage

require "cryloc"

TODO: Write usage instructions here

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/Thog/cryloc/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • Thog Thog - creator, maintainer

Releases

No releases published

Packages

No packages published