Cover von Google TechTalks

Google TechTalks

ZuriHac 2015 - Better Faster Binary Serialization

Sa., 28. Nov. 2026, 1 h 13 min

Wer in dieser Folge vorkommt

Duncan CouttsGast

Warum PodAppear „Gast“ sagt

“Google Tech Talk May 29, 2015 ("show more" for more information) Presented by Duncan Coutts ABSTRACT This talk is a case study in low level optimization in Haskell.”
Folgen

Beschreibung der Folge

Google Tech Talk

May 29, 2015

("show more" for more information)

Presented by Duncan Coutts

https://wiki.haskell.org/ZuriHac2015#Duncan_Coutts

ABSTRACT

This talk is a case study in low level optimization in Haskell.

Uploaded 27-07-15

We have existing libraries for binary serialization but the mainstream ones use bad formats, and could always be faster. We will look at new work to improve on the existing libraries, to use a new better format, and to dramatically improve performance.

We will go into the details of a number of standard and new techniques for getting a good combination of performance with features and flexibility.

- High+low level approach to eliminating unnecessary allocations in deserialization

- Surprising use of deep embeddings and interpreters

- Moving work from compiled code to an interpreter

- Rewrite rules to improve interpreted code

Ganze Beschreibung zeigen

- Deep embedding of composition to give statically allocated descriptions of branching programs

- Types to safely use unsafe low level data structures

- Looking at STG code to see allocations and other problems

- Fast path / slow path tricks

- Explicit control stacks

- ABIs / calling conventions for unknown functions

There'll be plenty of code, types and benchmarks.

Slides for this talk are available here:

https://github.com/meiersi/HaskellerZ/blob/master/meetups/20150529-ZuriHac2015_Duncan_Coutts-Better_Faster_Binary_Serialization/binary.pdf