在as3之前,代码编译后所有类型信息都会被剥除。
Prior to AS3, all type information was stripped out of the code when compiled.
如果您是从源代码编译,请获得以下应用程序。
你也可以使用平台定义来控制与平台相关的代码编译。
You can also use platform defines to control platform dependent code compilation.
在其他情况下,造型只有在代码编译时才显出重要性。
In other situations, a cast may be essential just to get the code to compile.
我们可以注意到,代码生成其实一直都是存在的!那什么是代码编译呢?
One can note that, code generation has always existed ! what is a code compiler?
在这次,你必须先用scalac来把代码编译成jvm可认的。class文件。
This time, you must first compile the code to a JVM.class file using scalac.
那么如何将静态编译的代码链接到生成的类呢?
So how can I link the statically compiled code to the generated class?
现在代码将会编译。
因此,编写足够的代码来使测试进行编译、运行但结果失败。
So, write just enough code to get the test to compile, run, and fail.
这可能会导致代码示例不能按原样编译。
现在,您已经为编译此代码做好了准备。
下载部分的样例代码包含样例编译作业。
The sample code in the Download section contains a sample compile job.
接着,模型会编译转换为代码。
它甚至不信任其自身编译过的代码。
最后,你需要加载原生代码最终编译到的库。
Finally, you need to load the library that the native code will ultimately compile to.
编译该文件,生成该代码的目标文件。
Compilation: Compile the file to produce an object file for the code.
编译新代码并将其集成入系统中。
虽然如此,通常aot编译的代码的速度要慢于JIT编译的代码。
Nonetheless, the common case is that AOT-compiled code is slower than JIT-compiled code.
编译代码。
您需要创建一个makefile来编译代码。
您将需要用Ant来编译代码并为示例应用程序创建.war文件。
You'll need Ant to compile your code and create the.war file for the example application.
运行%build节,编译代码。
第 6步:编译原生代码
对此代码进行编译之后,应该就准备好运行示例测试了。
After compiling this code, you should be ready to run a sample test.
我不相信这段代码能够编译,但是它确实可以。
I did not believe this code could possibly compile, and yet it did.
编译应用程序的源代码。
手工编译代码绝无可能,所以他们一定要用到编译器。
It is not possible to compile code by hand, so they always use compilers.
事实上,要成功编译这段代码,您需要大部分JAR文件。
In fact, you need most of the JAR files to successfully compile the code.
编译所有的源代码。
在这种情况下,您仅需修改抽象类,代码将完成编译。
In this case, you can modify just the abstract class and the code will compile.
应用推荐