LoginSignup
2
4

More than 5 years have passed since last update.

Julia のインストールと Hello World の実行

Posted at

Julia とは

Julia はテクニカルコンピューティング(高度な科学技術計算などの計算処理)のためのプログラミング言語。

The Julia Language http://julialang.org/

Julia is a high-level, high-performance dynamic programming language for technical computing, with syntax that is familiar to users of other technical computing environments.

Julia (プログラミング言語) - Wikipedia https://ja.wikipedia.org/wiki/Julia_(%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0%E8%A8%80%E8%AA%9E)

Julia(ジュリア)は、 一般的なプログラミングから高水準の科学計算処理まで対処するよう設計された高水準言語及び動的プログラミング言語である。

今回の動作確認環境

macOS Sierra + Java 1.8 + Homebrew

Homebrew で Julia をインストール

brew コマンドで Julia をインストールする。

$ brew install Caskroom/cask/julia

Julia のバージョンを確認する。

$ julia --version
julia version 0.5.0

Julia で Hello World してみる

以下の内容を hello.jl というファイル名で保存する。

# Hello World してみる
println("Hello World")

julia コマンドでファイル名 hello.jl を指定して実行すると Hello World が出力される。

$ julia hello.jl 
Hello World

参考資料

2
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
4