什么是最跨平台友好的编码语言? [英] What's the most cross-platform friendly coding language?

查看:83
本文介绍了什么是最跨平台友好的编码语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我想创建FPS游戏,比如说克隆孤岛危机(Crysis),这样每个人都可以了解什么类型的图形和视频.我追求的表现.编写此游戏的最佳代码是什么,因此尽可能轻松地将其移植到所有常见平台上?当然,我希望应用程序能感觉到平台的本机性.这也意味着应该很容易利用Snow Leopard的新功能,例如OpenCL和Windows 7的新功能.我意识到GUI已经针对不同的平台分别编写了文件,这不是问题.

Let's say I want to create FPS game, let's say clone Crysis so everybody understand what type of graphics & performance I'm after. What's the best code to write this game with so it's as easy as possible to port it to all the common platforms? Of course I want the application to feel and be native to the platform. This also means that it should be easy to take advantage of Snow Leopard's new features like OpenCL and Windows 7's new features. I realize that GUI has the written separately for different platforms and that's not a problem.

所以我的问题是,什么是工作的最佳语言.我不是在寻找一应俱全的解决方案,而是更像是核心语言.我想一种表达方式是,如果您需要将同一程序移植到Windows,OS X和Windows XP,最好的语言是什么. Linux的? Java没问题.

So my question is that what's the best language for the job. I'm not looking for one-for-all solution but more like language for the core. I guess one way to put it is to say that what's the best language if you need to port the same program to Windows, OS X & Linux? Java is out of the question.

推荐答案

C(现在一些填充达到15个字符)

C (and now for some padding to reach 15 chars)

这篇关于什么是最跨平台友好的编码语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆