douji8549 2018-09-12 20:16
浏览 176

是否可以将Go程序编译为LLVM IR?

I found this project: https://github.com/go-llvm/llgo.
But the last commit was almost 4 years ago and they mention:

This project has moved to llvm.org. Any contributions or bug reports should be sent there. Please refer to the llgo readme for more information

So is it unusable for today's programs?

Another project is: https://go.googlesource.com/gollvm.
But according to their website, it is still in development. But is it stable enough to use it now and will it be developed further?

Gollvm is currently in development -- releases are not yet available for download. Instructions for building gollvm follow.

Are there any other projects or ways to compile Go to LLVM IR, or is it not possible yet?

  • 写回答

1条回答 默认 最新

  • douboshan1466 2018-09-12 20:29
    关注

    GOLLVM is still being maintained, It is stable and its latest commit was in August. Therefore the project is not dead.

    However, it only targets x64 Linux right now. So your application would not run on macOS or Windows.

    评论

报告相同问题?

悬赏问题

  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大
  • ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
  • ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
  • ¥15 如何在炒股软件中,爬到我想看的日k线
  • ¥15 seatunnel 怎么配置Elasticsearch
  • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
  • ¥15 (标签-MATLAB|关键词-多址)
  • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端
  • ¥15 基于PLC的三轴机械手程序