<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/elibendersky/best-of/2024" -->

---
title: Best Eli Bendersky posts of 2024 | daily.dev
description: The most upvoted Eli Bendersky posts of 2024, curated by the daily.dev community.
canonical: https://daily.dev/sources/elibendersky/best-of/2024
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/elibendersky/best-of/2024
og:type: website
og:site_name: daily.dev
og:title: Best Eli Bendersky posts of 2024 | daily.dev
og:description: The most upvoted Eli Bendersky posts of 2024, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Eli Bendersky — 2024

1. 1  
[](/posts/gomlx-ml-in-go-without-python-bywm0vdtu "GoMLX: ML in Go without Python")  
[![elibendersky's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/ac2e84092d814b68aa34080a3232a3cd)](/sources/[source]/best-of/[year])  
8m read time • Nov 22, 2024  
### GoMLX: ML in Go without Python  
The post describes implementing machine learning models in Go without using Python, focusing on the GoMLX package. GoMLX leverages XLA and PJRT for core functionalities and provides a Go-friendly interface. The author showcases re-implementations of ML inference tasks, such as a CNN model for the CIFAR-10 dataset and a more complex model like Gemma2, highlighting similar results to Python-based implementations.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/219d95c44a1ff4cdaf42cae06d61aaab?_a=AQAEuj9)  
31
2. 2  
[](/posts/ranging-over-functions-in-go-1-23-ejwz1bh3x "Ranging over functions in Go 1.23")  
[![elibendersky's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/ac2e84092d814b68aa34080a3232a3cd)](/sources/[source]/best-of/[year])  
13m read time • Nov 02, 2024  
### Ranging over functions in Go 1.23  
Go 1.23 has introduced a major new feature: ranging over functions, which formally supports iteration over complex and custom data structures. This update simplifies the task of iterating through custom containers and provides a significant enhancement beyond the traditional for-range loop. Additionally, the new feature supports both finite and infinite iterators, and can handle complex iteration patterns, including recursion and backtracking. Key improvements also include efficient iteration stopping mechanisms via the yield function, which is vital for performance and control in real-world applications.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/0c37f0a6b75ad8fcb5672a516f0bcc0a?_a=AQAEuj9)  
18  
1
3. 3  
[](/posts/implementing-raft-part-5-rwa7x0ydx "Implementing Raft: Part 5")  
[![elibendersky's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/ac2e84092d814b68aa34080a3232a3cd)](/sources/[source]/best-of/[year])  
17m read time • Dec 18, 2024  
### Implementing Raft: Part 5  
Part 5 of the series explores the implementation of exactly-once delivery in a key-value database using the Raft consensus algorithm. It addresses the client retry issue and introduces a solution through command de-duplication. The steps for adding an APPEND operation and ensuring commands are uniquely identified and not duplicated are described. The system's consistency guarantees are revisited, confirming that the changes make the system strictly serializable again. The post also discusses the implications of exactly-once delivery in distributed systems.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/62a2ff03e591f8989754125e302bfc5c?_a=AQAEuj9)  
17  
1
4. 4  
[](/posts/building-static-binaries-with-go-on-linux-xiu3nwkoh "Building static binaries with Go on Linux")  
[![elibendersky's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/ac2e84092d814b68aa34080a3232a3cd)](/sources/[source]/best-of/[year])  
8m read time • Jul 30, 2024  
### Building static binaries with Go on Linux  
Building statically-linked binaries in Go on Linux requires some additional steps, especially when using cgo for integrating C code. Techniques include setting specific build tags, disabling cgo, and using alternative libc implementations like musl or Zig. These methods help avoid the dynamic linking that Go typically performs by default when certain standard library features are used.

+2  
13
5. 5  
[](/posts/linearizability-in-distributed-systems-fi2uinjgf "Linearizability in distributed systems")  
[![elibendersky's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/ac2e84092d814b68aa34080a3232a3cd)](/sources/[source]/best-of/[year])  
6m read time • Oct 08, 2024  
### Linearizability in distributed systems  
Linearizability is a strong consistency model in distributed systems, providing the illusion that operations take effect instantaneously between their invocation and response. This post explains the concept through examples involving register reads and writes, and compares it with serializability—another consistency model. Additional resources from Kyle Kingsbury offer practical insights and tools to understand and verify linearizability.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/8806432b460fc725d9bb085c98a502a6?_a=AQAEuiZ)  
11
6. 6  
[](/posts/sentencepiece-bpe-tokenizer-in-go-mpec119iu "SentencePiece BPE Tokenizer in Go")  
[![elibendersky's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/ac2e84092d814b68aa34080a3232a3cd)](/sources/[source]/best-of/[year])  
4m read time • Aug 23, 2024  
### SentencePiece BPE Tokenizer in Go  
This post discusses the development of go-sentencepiece, a pure Go implementation of the SentencePiece tokenizer, which is used in Google AI's models like Gemma and Gemini. Unlike the C++ and Python bindings, go-sentencepiece doesn't require a C compiler. It focuses on BPE tokenization and only supports encoding & decoding, not the training phase. The implementation leverages advanced algorithms, which significantly improve performance. A protobuf file configures the tokenizer, and an online demo is available for testing.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/587b2dc31bf847db4f31d7fa4b242699?_a=AQAEuiZ)  
10

[See all Eli Bendersky archives](/sources/elibendersky/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/elibendersky/best-of/2024#page","url":"https://daily.dev/sources/elibendersky/best-of/2024","name":"Best Eli Bendersky Posts of 2024","description":"The most upvoted Eli Bendersky posts of 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/elibendersky/best-of/2024#items","numberOfItems":6,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/gomlx-ml-in-go-without-python-bywm0vdtu","name":"GoMLX: ML in Go without Python"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/ranging-over-functions-in-go-1-23-ejwz1bh3x","name":"Ranging over functions in Go 1.23"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/implementing-raft-part-5-rwa7x0ydx","name":"Implementing Raft: Part 5"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/building-static-binaries-with-go-on-linux-xiu3nwkoh","name":"Building static binaries with Go on Linux"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/linearizability-in-distributed-systems-fi2uinjgf","name":"Linearizability in distributed systems"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/sentencepiece-bpe-tokenizer-in-go-mpec119iu","name":"SentencePiece BPE Tokenizer in Go"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"Eli Bendersky","item":"https://daily.dev/sources/elibendersky"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/elibendersky/best-of"},{"@type":"ListItem","position":5,"name":"2024"}]}]}
```

