dom96/nim-in-action-code
View on GitHub ↗ ★ 202 Nim
Nim in Action code samples
7 mentions on Hacker News by 2 people: 0 stories, 7 comments · first 2017-08-21 · latest 2019-11-21
20082026
-
…It's a very good way to learn as a basic Twitter clone is relatively simple to implement. 1 - https://github.com/dom96/nim-in-action-code/tree/master/Chap... 2 - https://book.picheta.me
comment by dom96 · 2019-11-21 · in Simple-twitter: A bare-bones Twitter clone implemented in a single file -
https://github.com/dom96/nim-in-action-code/blob/master/Chap... Does the linked line imply that a slow client will block the rest of the clients from receiving new messages?
comment by eptcyka · 2019-06-07 · in Nim 0.20.0 (1.0 RC1) released -
…using Nim's async/await. The code for this is freely available[2]. 1 - https://book.picheta.me/ 2 - https://github.com/dom96/nim-in-action-code
comment by dom96 · 2019-06-06 · in Nim 0.20.0 (1.0 RC1) released -
…achieved via async await. Parallelism via `spawn`. Here is an example from my book that uses both: https://github.com/dom96/nim-in-action-code/blob/master/Chap...
comment by dom96 · 2018-09-22 · in A Programming Language Underdog -
…advantage of this to make wrapping easy, here is a (very) barebones wrapper for sfml as an example: https://github.com/dom96/nim-in-action-code/blob/master/Chap...
comment by dom96 · 2018-08-08 · in Nim partners with Status.im -
…for closures is also implemented as a macro[2]. 1 - Example chat app client using async await: https://github.com/dom96/nim-in-action-code/blob/master/Chap... 2 - Implementation of `=>`: https://github.com/nim-lang/Nim/blob/devel/lib/pure/f…
comment by dom96 · 2017-08-21 · in How to parse text for a DSL at compile time? (C++)