🔄

Interpreters & VMs

Language interpreters, virtual machines, and runtime systems

Repositories

(8)

bytecodealliance/wasmtime

1 paper

dotnet/runtime

10 papers

erlang/otp

4 papers

nodejs/node

0 papers

openjdk/jdk

16 papers

python/cpython

11 papers

ruby/ruby

9 papers

v8/v8

2 papers

Papers

(53)
Showing 20 of 53 papers

Accurate Sum and Dot Product

Takeshi Ogita, Siegfried M. Rump, Shin’ichi Oishi
2005
1 reference

Algorithms for summation and dot product of floating-point numbers are presented which are fast in terms of measured computing time. We show that the computed results are as accurate as if computed in twice or K-fold working precision, $K\ge 3$. For ...

A monotonic superclass linearization for Dylan

Kim Barrett, Bob Cassels, Paul Haahr, David A. Moon, Keith Playford, P. Tucker Withington
1996
1 reference

Object-oriented languages with multiple inheritance and automatic conflict resolution typically use a linearization of superclasses to determine which version of a property to inherit when several superclasses provide definitions. Recent work has def...

An Improved Algorithm for hypot(a,b)

Aluisio Cardoso Silva, Carlos Cristiano Hasenclever Borges
2019
2 references

We develop a fast and accurate algorithm for evaluating $\sqrt{a^2+b^2}$ for two floating point numbers $a$ and $b$. Library functions that perform this computation are generally named {\tt hypot(a,b)}. We will compare four approaches that we will de...

Applications of Finite Automata Representing Large Vocabularies.

Cláudio L. Lucchesi, Tomasz Kowaltowski
1993
1 reference

Abstract The construction of minimal acyclic deterministic partial finite automata to represent large natural language vocabularies is described. Applications of such automata include spelling checkers and advisers, multilanguage dictionaries, thesau...

AS imple, Fast Dominance Algorithm

Irwin S. Bernstein, Matthew A. Cooper
1999
5 references

Copy-and-patch compilation: a fast compilation algorithm for high-level languages and bytecode

2021
2 references

Fast compilation is important when compilation occurs at runtime, such as query compilers in modern database systems and WebAssembly virtual machines in modern browsers. We present copy-and-patch, an extremely fast compilation technique that also pro...

Dynamic storage allocation: A survey and critical review

Paul R. Wilson, Mark S. Johnstone, Michael J. Neely, David B. Boles
1995
3 references

Euclidean Affine Functions and Applications to Calendar Algorithms

Cassio Neri, Lorenz Schneider
2021
5 references

We study properties of Euclidean affine functions (EAFs), namely those of the form $f(r) = (α\cdot r + β)/δ$, and their closely related expression $\mathring{f}(r) = (α\cdot r + β)\%δ$, where $r$, $α$, $β$ and $δ$ are integers, and where $/$ and $\%$...

Fast and Robust Vectorized In-Place Sorting of Primitive Types.

Mark Blacher, Joachim Giesen, Lars Kühne
2021
1 reference

Modern CPUs provide single instruction-multiple data (SIMD) instructions. SIMD instructions process several elements of a primitive data type simultaneously in fixed-size vectors. Classical sorting algorithms are not directly expressible in SIMD inst...

Fast Multiplication of Large Integers: Implementation and Analysis of the DKSS Algorithm

Christoph Lüders
2015
1 reference

The Sch\"onhage-Strassen algorithm (SSA) is the de-facto standard for multiplication of large integers. For $N$-bit numbers it has a time bound of $O(N \cdot \log N \cdot \log \log N)$. De, Kurur, Saha and Saptharishi (DKSS) presented an asymptotical...

Fast Random Integer Generation in an Interval

Daniel Lemire
2018
4 references

In simulations, probabilistic algorithms and statistical tests, we often generate random integers in an interval (e.g., [0,s)). For example, random integers in an interval are essential to the Fisher-Yates random shuffle. Consequently, popular langua...

Fast recursive division

1998
1 reference

We present a new recursive method for division with remainder of integers. Its running time is $2K(n)+O(n \\log n)$ for division of a $2n$-digit number by an $n$-digit number where $K(n)$ is the Karatsuba multiplication time. It pays in p ractice for...

How to read floating point numbers accurately

William Clinger
1990
2 references

Consider the problem of converting decimal scientific notation for a number into the best binary floating point approximation to that number, for some fixed precision. This problem cannot be solved using arithmetic of any fixed precision. Hence the I...

Left Recursion in Parsing Expression Grammars

Sérgio Queiróz de Medeiros, Fabio Mascarenhas, Roberto Ierusalimschy
2012
1 reference

Parsing Expression Grammars (PEGs) are a formalism that can describe all deterministic context-free languages through a set of rules that specify a top-down parser for some language. PEGs are easy to use, and there are efficient implementations of PE...

Number Parsing at a Gigabyte per Second

Daniel Lemire
2021
10 references

With disks and networks providing gigabytes per second, parsing decimal numbers from strings becomes a bottleneck. We consider the problem of parsing decimal numbers to the nearest binary floating-point value. The general problem requires variable-pr...

Packrat parsers can support left recursion.

Alessandro Warth, J. R. Douglass, Todd Millstein
2008
1 reference

Packrat parsing offers several advantages over other parsing techniques, such as the guarantee of linear parse times while supporting backtracking and unlimited look-ahead. Unfortunately, the limited support for left recursion in packrat parser imple...

Rundungsfehleranalyse einiger Verfahren zur Summation endlicher Summen

Arnold Neumaier
1974
1 reference

Abstract Der bei einer Summation auftretende Rundungsfehler kann als Maß für die Güte des verwendeten Verfahrens gelten. Im folgenden werden für mehrere Summierungsverfahren, unter anderem für das übliche und das Kahan‐Babuška‐Verfahren, a‐priori‐Sch...

Two-way string-matching

Maxime Crochemore, Dominique Perrin
1991
1 reference

article Free Access Share on Two-way string-matching Authors: Maxime Crochemore Univ. Paris, Paris, France Univ. Paris, Paris, FranceView Profile , Dominique Perrin Univ. Paris, Paris, France Univ. Paris, Paris, FranceView Profile Authors Info & Clai...