使用Go编写iPhone应用程序的库

I'm considering using Go as a low-level, performant language alternative to C/Objective-C to implement a library for an iPhone App. Could either of the Go compilers generate a library that could be linked into a native iPhone app with the Go runtime, etc.? Is there an ARM port for Go or does gccgo/gcc support this? I imagine that since gccgo uses gcc as the back-end and Xcode uses gcc to compile iPhone apps that there is a strong chance that this is possible. If it's possible, how would I set that up in an Xcode project?

Has anyone tried this or seen it discussed before? (When I do a Google search like "compiling go code iphone" the "go" part is completely unused and I get only stuff about iPhone development.)

查看全部
dongpaocuan7498
dongpaocuan7498
2010/02/13 22:05
  • c
  • gcc
  • iphone
  • arm
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

4个回复