-
Book Overview & Buying
-
Table Of Contents
Practical Systems Programming in Go
By :
Constructing an interpreter in the previous two chapters illustrated how software parses and evaluates abstract linguistic structures. This chapter shifts focus from language design to data analysis, specifically addressing the temporal dimension of information processing. Time series data — sequences of data points put in time order — is ubiquitous in financial markets, IoT sensor networks and system metrics. We will begin by exploring the mathematical foundations of measuring similarity between temporal sequences, implementing algorithms such as Euclidean distance and Dynamic Time Warping (DTW) to quantify how close two series are. By the end of this chapter, we will have transformed these theoretical concepts into a reusable Go toolkit, applying it directly to real data to solve practical problems such as finding the nearest neighbor within a large dataset.
Finally, the chapter concludes by working with TigerBeetle, a high-performance distributed...