Pas2js optimizations

From Lazarus wiki
Revision as of 11:01, 30 December 2018 by Mattias2 (talk | contribs) (Created page with "= Overview = This page describes existing optimizations for the pas2js transpiler as well as feature requests. = Compiler itself = The compiler was deliberately written *...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Overview

This page describes existing optimizations for the pas2js transpiler as well as feature requests.

Compiler itself

The compiler was deliberately written

  • in a modular fashion. Each part has its own test suite and is used by other projects.
  • can be used in a library, i.e. no restart required to compile another program.
  • can be used without a filesystem, i.e. in a browser
  • threadsafe, i.e. the compilation can run in a thread. Compiling a program with multiple threads is planned.
  • easy maintenance has higher priority than high speed and low memory