This cast inserts aruntime check that objis assigned a MountainBikeso that the compiler can safely assume that objis a MountainBike.
如果特定函数不是定义为从可执行输出中导出,则该编译器可以违反其调用约定以提高性能。
If a particular function isn'tdefined to be exported from the output executable, the compiler can violate its calling convention to improve its performance.
类型安全性:在严谨模式下,编译器可以识别数据类型错误。
Type safety: in strict mode the compiler can identify data type errors.
编译器可以在函数内部创建一个临时对象,然后将其移动到调用者的返回值中。
The compiler could create a temporary object inside the function, and then move it into the caller's return value.
例如,编译器可以用更快和更准确的内部功率函数代替它。
For instance, a compiler may replace it by an internal power function that is both faster and more accurate.
但在这种情况下,编译器可以使用逃逸分析确定Bar对象本身并没有逃逸example()的调用。
But in this case a compiler can determine, with escape analysis, that the Bar object itself does not escape the invocation of example().
编译器可以生成ARM和Thumb代码,但首选识别ARM代码。
The compiler is permitted to generate both ARM and Thumb code, but recognizes that ARM code is preferred.
Windows:有许多编译器可以自由编译C程序,如CodeBlocks和Dev-CPP。
Windows: There are many compilers available freely for compilation of C programs like Code Blocks and Dev-CPP.
编译器可以使用逃逸分析的结果作为优化的基础:将堆分配转化为栈分配。
A compiler can use the results of escape analysis as a basis for optimizations: Converting heap allocations to stack allocations.
动态编译器可以使用重载信息来执行逃逸分析,并且当相关方法被动态代码加载重写时,会重新执行分析。
Dynamic compilers can perform escape analysis using the available information on overloading, and re-do the analysis when relevant methods are overridden by dynamic code loading.
例如,即时编译器可以监控经常执行哪些代码并优化这些代码以提高速度。
For example, a justin-time compiler can monitor which code is executed frequently and optimize just that code for speed.
只要编译器可以推断此种类型,你不再需要专门声明一个局部变量的类型。
As long as the compiler can infer the type, you no longer need to state explicitly the type of a local-variable.
TypeScript编译器可以安装在任何操作系统上,比如Windows,MacOS和Linux。
The TypeScript compiler can be installed on any Operating System such as Windows, MacOS and Linux.
第二,编译器可以利用类型信息来侦测某些类型的错误,比如,试图把一个浮点值作为一个指针。
Second, compilers can use type information to detect certain kinds of errors, such as an attempt to use a floating-point value as a pointer.
HaxeHaxe是一门多范式的编程语言,其编译器可以生成其他语言的二进制代码和源代码。
Haxe is a multi-paradigm programming language, and its compiler can produce both binaries and source code in other languages.
English
Bahasa indonesia
日本語
عربى
Български
বাংলা
Český
Dansk
Deutsch
Ελληνικά
Español
Suomi
Français
עִברִית
हिंदी
Hrvatski
Magyar
Italiano
Қазақ
한국어
മലയാളം
मराठी
Bahasa malay
Nederlands
Norsk
Polski
Português
Română
Русский
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Tagalog
Turkce
Українська
اردو
Tiếng việt