Help us understand the problem. What is going on with this article?

新しい PackageCompiler.jl で Makie.jl の呼び出しを速くする

本日は

旧 PackageCompilerX.jl がPackageCompiler.jlにアップデートされたので
Makie.jl できるかなを試しました.Makiejl のリポジトリ自体結構不安定なので今後できるかはわかりませんが・・・.

これでできるはず

$ julia -q
pkg> dev PackageCompiler # 最新のコードをチェックアウトする
julia> using PackageCompiler
julia> PackageCompiler.create_sysimage([:Makie, :AbstractPlotting],sysimage_path="makie.so")
julia> exit() # 一回終了
$ ls
makie.so # システムイメージが生成される
$ julia -J makie.so # -J でシステムイメージ makie.so を読み込む
julia> using Makie; display(AbstractPlotting.PlotDisplay(),plot([1,2,3]))

PackageCompiler.jl でMakie.jl を固めると 

juli> plot([1,2,3])

のようにすると長い文字列しか出ず,実際にグラフが表示されません.ですので

display(AbstractPlotting.PlotDisplay(),plot([1,2,3])) という方法で出力させています.これは Makie.jl のリポジトリのREADME.md に書いてある通りです.

以上

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした