douchou8935 2014-08-07 17:33
浏览 28
已采纳

可以将Go与其他语言混合以创建桌面应用程序吗? [关闭]

I know it's possible to mix C with Go, but I was wondering if it was possible to mix with other languages too. Specifically, I was wondering if it was possible to write a backend in Go and then use Swift or C# to make a GUI for a desktop app.

Also, is it common to build apps like that? What are the performance costs like? The goal is to write a cross-platform backend, then use native platform tools to create the GUI. So, I would use Swift and Cocoa to make a GUI for OS X and C# and .NET to make a GUI for Windows. That way the applications behave and feel like native apps.

  • 写回答

1条回答 默认 最新

  • dongyaoxiu6244 2014-08-07 17:36
    关注

    Not in the same sense of using C/C++ with Go, no, however nothing is stopping you from writing the backend in Go and controlling it over http (or stdin/stdout).

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 lammps拉伸应力应变曲线分析
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
  • ¥30 python代码,帮调试,帮帮忙吧
  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建