Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

redmoss

1
Posts
4
Following
A member registered Dec 27, 2019

Recent community posts

(3 edits)

Hey Karl, the book is fantastic, I have learned so much about this language even in the space of a few days. One observation I wanted to ask, in section 10.2.5 you illustrate an application for maps by building a set, and say that Odin doesn't have any special support for sets, but I thought bit sets were exactly that?

https://odin-lang.org/docs/overview/#bit-sets

It even supports "overloading" of operators so you can do unions and such. Is there a fundamental difference here? Thanks again for such a great book!

EDIT: D'oh, my bad, your set example using a map allows sets of arbitrary type whereas bitsets are more limited. Never mind!