0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

CargryはCraneliftにします

0
Posted at

Copyright (c) 2026 compalog (devtolog)

The article (from here on, "This Article") is licensed under Apache License 2.0. This Article is written by human. AI is not used.

This license is joke, Apache License 2.0 exists; You can ignore the license in This Article. BUT IT'S TRUE TO BE COMPLETELY WRITTEN BY HUMAN.

純粋関数型システム言語Cargryを開発しています(ついに冒頭でボケ始めた)


突然ですが、CargryはLLVMを捨てます!

これまで

CargryはCraneliftを中心として、LLVMにも対応させようと考えていました

やっぱり、システム言語としてLLVMは外せないなと思ったからです

でも、改めてCargryをどうしていきたいかを考えたときに、LLVM対応はやめようと思いました

理由は2つあります

純Rustでいたい

LLVMはC++です。Rustから利用するには、FFIが必須です

私はCargryを全てRustで実装したいのですが、LLVMが介入してくるのは負担が大きいですし、安全性を守ったまま実装したいです

Craneliftは純Rust製で、Rustから使うには適しています

これが1つめの理由です

LLVMっている?

Cargryのターゲット層を考えた時

  • 事務や、金融などの裏方のシステム
  • 安全な並列処理が求められるシステム

などが挙げられました

よく考えると「これらって、強力な最適化っている?」と、私は疑問に思いました

LLVMは最適化が得意です。しかし、これらに重い最適化はいるのでしょうか。十分な性能を発揮できれば、それで良い気がします。それなら、Craneliftだけでも良いでしょう

これが2つめの理由です

終わりに

少し短い記事となりました

これからは、CargryはCraneliftのみを用いることにします

今後とも、Cargryをよろしくお願いします

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?