Tag

Machine Code

1 views collected around this technical thread.

Java Tech Enthusiast
Java Tech Enthusiast
Sep 15, 2024 · Fundamentals

How Source Code Is Transformed into Machine Instructions

A compiler transforms source code into executable machine instructions by first tokenizing the text into keywords, identifiers and literals, then parsing these tokens into an abstract syntax tree, generating and optimizing intermediate code, and finally assembling and linking the output for the target architecture or LLVM IR.

ASTLLVMMachine Code
0 likes · 4 min read
How Source Code Is Transformed into Machine Instructions
Weidian Tech Team
Weidian Tech Team
Jul 12, 2019 · Fundamentals

Why JavaScript Float Addition Is Inaccurate: Inside V8’s Machine Code

This article explains how the V8 JavaScript engine generates machine code for floating‑point addition on Intel x64, covering V8’s architecture, the IEEE‑754 representation that causes precision loss, and a step‑by‑step analysis of the relevant C++ source and the resulting addsd instruction.

JavaScriptMachine CodeV8
0 likes · 12 min read
Why JavaScript Float Addition Is Inaccurate: Inside V8’s Machine Code