Click any tag below to further narrow down your results
Links
The article provides a detailed guide on how Go implements maps as hash tables, explaining their structure, collision handling, and dynamic growth. It covers fundamental concepts such as hashing, bucket indexing, and the memory management strategies used in Go's map implementation, particularly focusing on the older version prior to Go 1.24.
PocketBase is an open-source real-time backend written in Go that features an embedded SQLite database, user management, and a simple REST API. It allows developers to create custom applications with minimal setup, offering both a standalone app and a library for integration into other Go projects. The project is actively developed, and users are encouraged to contribute and report any security vulnerabilities.
The article discusses how memory maps (mmap) can significantly enhance file access performance in Go applications, achieving up to 25 times faster access compared to traditional methods. It explains the mechanics of memory mapping, the performance benefits it provides for read operations, and the limitations regarding write operations. The author also shares insights from implementing mmap in real-world applications, highlighting its effectiveness in improving performance.
The article introduces the reactive programming paradigm in Go, highlighting its advantages over traditional goroutines and channels for building event-driven applications. It emphasizes the use of the "ro" package for creating cleaner, more maintainable data processing pipelines, inspired by the mature RxJS library. The author critiques existing solutions like RxGo for their limitations and presents the benefits of using the new approach for handling complex event flows in Go applications.