What are AOT compiler and W3C?

By | September 30, 2021

What is an AOT compiler?

The Ahead-of-Time compiler, or AOT for short, does the job of complete compilation before the code reaches the functional level responsible for execution. The functional principle of the AOT.Compiler is thus in direct competition with the JIT compiler.

Compiling – a form of implementation

When compiling (assembling, collating) is a form of software implementation . Basically, it is about transforming created source texts into machine commands.

If the source text is created in a high-level programming language, the compiler takes on the task of converting it into instruction structures that can be executed by the processor. Formulated instructions of the source text are translated into adequate sequences of machine commands. Following the compilation, the corresponding program is generated, which is presented as executable code.

Compiled programs have an optimized flow behavior. The increased speed of the processes is a great advantage, especially for programs with long processes. The introduction of a new processor or another operating system is accompanied by a recompilation of the source code, always depending on the compatibility mode.

AOT compiler: ahead of the runtime

When describing “Ahead-of-Time”, it is essential to distinguish it from the process principle of “Just-in-Time” (JIT). The abbreviations AOT and JIT refer specifically to the time of compilation. Ahead-of-Time is to be understood in the literal sense of the word.

With AOT compilation, the code generated by the programmer is translated into the machine language of the processor used before an application is executed. AOT compilers for compiling high-level languages such as C and C ++, as well as intermediate representations CIL code and Java – bytecode designed.

Advantage and procedural compromise of the AOT compiler

The AOZ compilation enables speed advantages at runtime thanks to the shortened initialization time. While the JIT compiler would start its compilation run at the beginning of a processing process, if an AOT compiler is used, the compilation is already completed at this point in time.

The process compromise when using the AOT compiler is obvious. In the course of compilation via the AOT compiler, code is generated that has lost its platform independence.

JAOTC – Ahead-of-Time Compiler for Java 9

The Java 9 release has had an AOT compiler since autumn 2016 . This is significant because up until this point Java only supported JIT compilation. The aim of integrating the AOT option was to optimize the start times of Java programs. The corresponding tool within the Java world is called “JAOTC”.

Summary

The term “Ahead-of-Time” used in the AOT compiler refers to the time of compilation. The name already gives an indication of the goal of this procedure: It is about improving the start times of programs on the client. On the other hand, this advantage causes the compiled code to lose its platform independence.

What is the W3C?

Through its work, the W3C wants to ensure that as many people and organizations as possible can participate in communication, trading and the exchange of knowledge via the Internet, regardless of their hardware, software and infrastructure.

According to USVSUKENGLISH, the W3C was founded in 1994 by Tim Berners-Lee, who is considered the founder of the World Wide Web and who among other things developed the hypertext markup language HTML and the hypertext transmission protocol HTTP. It is currently managed by Tim Berners-Lee as Director and Jeffrey Jaffe as CEO and has around 70 full-time employees.

Its headquarters are at the Massachusetts Institute of Technology (MIT) in the United States; There are main branches in France, Japan and China. The W3C also has regional offices in numerous countries. The W3C is financed through membership fees, public funds, research contracts and private donations.

Main tasks

The W3C operates the standardization in the World Wide Web and the further development of standards that have already been won. Universality, compatibility and decentralization are essential concerns. For this purpose, the W3C develops and issues so-called recommendations, according to which the people and companies involved in application development and provision worldwide should orient themselves. On a technical level, this includes the following areas:

  • Hypertext Markup Language (HTML)
  • Extensible Markup Language (XML)
  • Cascading Style Sheets (CSS)
  • Document Object Model (DOM)
  • Portable Network Graphics (PNG)
  • Scalable Vector Graphics (SVG)

The work of the W3C is particularly aimed at creating a general basis of trust and largely removing potential barriers for people with disabilities. The latter is defined and standardized among other things in the guideline for the accessibility of web content, better known as WCAG (Web Content Accessibility Guidelines).

Membership

The W3C has about 425 members; Entire organizations as well as individuals can join. An application requires the approval of the W3C. There are full and associate memberships. The amount of the contribution depends on the country of origin and the respective economic strength.

Members have the right to participate in the six-monthly meetings of the advisory committee and to submit their own suggestions. On the one hand, you have the opportunity to influence developments and, on the other hand, you have the advantage of being fully informed about everything that is coming up at an early stage and being able to adjust accordingly.

There are also extensive networking opportunities. For example, Amazon, Apple, Facebook, Google, Intel, Microsoft, Mozilla, Oracle, Siemens and Wikimedia are prominently represented in the W3C.

What is the W3C