Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beaver-lodge/charms
https://github.com/beaver-lodge/charms
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/beaver-lodge/charms
- Owner: beaver-lodge
- Created: 2024-05-17T11:59:37.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-23T07:30:47.000Z (7 months ago)
- Last Synced: 2024-05-23T07:34:15.797Z (7 months ago)
- Language: Elixir
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Run in Livebook](https://livebook.dev/badge/v1/pink.svg)](https://livebook.dev/run?url=https%3A%2F%2Fhexdocs.pm%2Fcharms%2F0.1.1%2Fprogramming-with-charms.livemd)
# Charms
[![Package](https://img.shields.io/badge/-Package-important)](https://hex.pm/packages/charms) [![Documentation](https://img.shields.io/badge/-Documentation-blueviolet)](https://hexdocs.pm/charms)Elixir compiler to compile a subset of Elixir to native targets
- [x] `defm` to define native functions, some examples
- [quick sort](/bench/enif_quick_sort.ex)
- [vector add](/bench/vec_add_int_list.ex)- [ ] SIMD support
- [ ] SIMT support
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `charms` to your list of dependencies in `mix.exs`:```elixir
def deps do
[
{:charms, "~> 0.1.0"}
]
end
```## Development
To run the benchmarks:
```sh
mix run bench/sort_benchmark.exs
mix run bench/list_add_benchmark.exs
```