Hacker GitHub

← All repos

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

Mentions per year 7 mentions · busiest year 2018 (3)
20082026
  1. …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
  2. 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
  3. …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
  4. Here is a C++ wrapper for SFML that I made, you can use it as an example: https://github.com/dom96/nim-in-action-code/tree/master/Chap... You can also try using `c2nim`'s cpp mode.
    comment by dom96 · 2018-09-27 · in Nim 0.19
  5. …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
  6. …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
  7. …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…