达米问题:是否已编译语言? [英] Dummie question: compiled language or not?

查看:107
本文介绍了达米问题:是否已编译语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很抱歉让您从我这里得到愚蠢的听起来有些奇怪的东西.

在我第一次尝试使用VB 2008 Express的过程中,我正在创建一个应用程序,该应用程序调用用于图像处理的命令行工具(循环中) ).从他们的支持中,我得到了这样的提示:如果可以使用诸如PerlMagick,RMagick,TclMagick之类的脚本语言或诸如C/C ++之类的编译语言,那么要处理的图像如此之多,性能将得到显着改善."

我以为VB 2008 Express是一种编译语言.那是错的吗?来自VBA和VB脚本,我对VB语法等有一定的了解,这就是为什么我选择将其增强到VB 2008而不是出于简单(私有)目的而从C开始的原因.

感谢您为我的黑暗带来一些曙光[suss]

Sorry for bothering you with stupid sounding stuff from me newbie...

During my first tries with VB 2008 Express I''m creating an application which calls a command line tool for image processing (in loops). From their support I received the hint "With so many images to process, performance will be dramatically improved if you can use a scripting language like PerlMagick, RMagick, TclMagick, or a compiled language like C/C++."

I had thought that VB 2008 Express IS a compiled language. Is that wrong? Coming from VBA and VB Script I have some background with the VB syntax etc, that''s why I chose to enhance that to VB 2008 rather than beginning with C for my simple (private) purposes.

Thanks for bringing some light to my darkness [suss]

推荐答案

这里有一个很好的链接.希望它能解释编译器的实际作用.

http://channel8.msdn.com/Posts/MSIL-the-language-of-the-CLR-Part-1/ [
Here''s one quite good link. Hopefully it explain what the compiler actually does.

http://channel8.msdn.com/Posts/MSIL-the-language-of-the-CLR-Part-1/[^]


VB.Net编译为MSIL(Microsoft中间语言),然后将该文件(.exe)部署到客户端.您的客户端必须具有包含JIT(及时)编译器的.NET Framework.然后,JIT解释您的MSIL并执行命令.

简而言之,它可以编译,但不能编译为C ++/C之类的本机代码.它可以编译为MSIL.这有缺点,也有好处.显然,更大的优势之一是使用托管语言时不再需要进行垃圾回收,而且触手可及的巨大框架就可以让您以极快的​​速度(<希望>轻松)快速开发应用程序.难度大声笑.

希望有帮助.
VB.Net compiles to MSIL (Microsoft Intermediate Language), and then you deploy that file (.exe) to your clients. Your clients must have the .NET Framework which includes the JIT (Just In Time) Compiler. The JIT then interprets your MSIL and executes the commands.

In short, it compiles, but not to native code such as C++/C. It compiles to MSIL. There are downsides to this, and upsides to this. Obviously, one of the bigger advantages is the fear of garbage collecting is gone when using a managed language, also the gigantic framework at your fingertips allowing you to develop applications at a great speed with (hopefully) little ease difficulty lol.

Hope that helps.


这篇关于达米问题:是否已编译语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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