crystal-lang_tensors-app

A small "app" (script) made for the Crystal programming language. This app uses the num.cr core shard to make arrays. Closest to Ruby in syntax, with C lang speeds

crystal-lang_tensors-app

This is the first app I've made with the Crystal programming language (https://crystal-lang.org/) using the Crystal compiler (https://crystal-lang.org/reference/1.3/using_the_compiler/index.html) This specific app also uses the num.cr core shard to make arrays.

Also explained in my Dev.to tutorial

Installation

git clone https://github.com/andrewrgarcia/crystal-lang_tensors-app.git

cd crystal-lang_tensors-app

shards install

Usage

Designed as a template to develop tensor (higher-order arrays) calculations.

Development

cd crystal-firstapp

`crystal build src/crystal-firstapp.cr -o myapp` 		#Fast compilation
'''OR'''
`crystal build src/crystal-firstapp.cr -o myapp --release` 	#Compile in release mode (optimized app)

Deployment

./myapp

Contributing

  1. Fork it (https://github.com/your-github-user/crystal-lang_tensors-app/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

Repository

crystal-lang_tensors-app

Owner
Statistic
  • 1
  • 0
  • 0
  • 0
  • 1
  • about 2 years ago
  • November 5, 2020
License

MIT License

Links
Synced at

Sat, 18 May 2024 19:08:40 GMT

Languages