Windows开箱即用支持的语言 [英] Languages that Windows supports out of the box

查看:104
本文介绍了Windows开箱即用支持的语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我被要求为一套Windows计算机(我认为是XP)编写一个(非常)简单的程序-如此简单以至于语言选择并不是真正的问题。但是,我希望能够分发将直接在Windows计算机上运行的二进制文件/脚本,而无需预先安装任何解释器或虚拟机。我在Linux机器上进行开发,不知道Windows支持开箱即用的语言。有人可以建议吗?

I have been asked to write a (very) simple program for a set of Windows machines (XP I think) - so simple that the choice of language isn't really an issue. However, I want to be able to distribute a binary/script that will run straight away on the Windows machine, without the need to pre-install any interpretor or virtual machine. I'm developing on a Linux machine and I have no idea what languages Windows supports 'out of the box'. Can anyone advise?

例如


  • Perl很棒,但我不知道相信Windows机器预装了Perl吗?要求用户安装Perl以使用我的脚本是不可接受的。

  • 我相信Python也有同样的问题吗? (尽管也许我可以使用PyInstaller?-如本问题所述

  • 像Java?大多数Windows发行版中是否已预安装虚拟机? (我了解与Sun Microsystems发生纠纷后将其删除了吗?)

到目前为止,我唯一想到的就是

The only option I can think of so far is


  • c / c ++,具有MinGW交叉编译器。

虽然我很高兴用c ++编写代码,但我想先检查一下我的语言选项。

While I'm happy to write the code in c++, I wanted to check my language options first.

推荐答案

开箱即用的唯一脚本语言是批处理解释器,vbscript和jscript。除此之外,您还可以使用编译语言。一个不错的选择可能是C#,但请确保您定位到XP附带的.net版本。

The only scripting languages supported out of the box are the batch interpreter, vbscript and jscript. Other than that you are into compiled languages. A good option could be C# but make sure you target the .net version that shipped with XP.

这篇关于Windows开箱即用支持的语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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