Premium Only Content

Learning: Nim
Streamed on 2025-01-02 (https://www.twitch.tv/thediscouragerofhesitancy)
Today we took a look at the Nim programming language. It has some Python-like syntax while being strongly typed like C. It transpiles to C, then compiles that with a C compiler. This lead to the first issue we had.
We started as usual by looking through the documentation. Then we installed the compiler (simple download, unzip, add to PATH procedure). It almost worked out of the box. But instead it was picking up the wrong C compiler. With a bit of digging we found a way to point it at the right one and we were off to the horseraces. To try it out there was no need to install. There is a website to test drive your nim code, so that is a nice touch.
I picked the Advent of Code for 2021 to try out Nim. It feels more Python-like than I thought it would. There are a few complaints I have, but mostly it is workable. It wasn't too difficult to grind through 4 days of AOC puzzles. Then we took a brief look at the C output of Nim. It does not bear much of a resemblance to the input code. It was an interesting exercise.
-
LIVE
BEK TV
23 hours agoTrent Loos in the Morning - 10/14/2025
90 watching -
10:12
Ken LaCorte: Elephants in Rooms
17 hours ago $0.39 earnedIt's not just about intelligence
10.5K3 -
1:43
NAG Daily
15 hours agoNEWS HEADLINES FOR DUMMIES W/GREENMAN REPORTS
8.64K -
26:48
Anthony Rogers
14 hours agoCandlebox Interview — Daytona Speedway
2.29K1 -
8:19
MattMorseTV
17 hours ago $10.48 earnedSchumer’s SECRET PLAN just got LEAKED.
23.6K48 -
2:50:34
Side Scrollers Podcast
21 hours agoTony Blair SHILLS For Digital ID + UK BLOCKS 4Chan + Hasan DogGate ESCALATES + More | Side Scrollers
82.5K19 -
2:00:45
The Michelle Moore Show
21 hours ago'President Trump on Heaven, Vaccines, and Pam Bondi' Guest, Lt. Mark Taylor: The Michelle Moore Show (Oct 13, 2025)
28K121 -
8:13
GritsGG
17 hours agoMy Thoughts on BF6 & Warzone! Rank 1 Player Discusses!
26.3K -
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
187 watching -
1:47:20
Badlands Media
18 hours agoBaseless Conspiracies Ep. 154: The Death of Kurt Cobain – Murder, Media, and the Cover-Up
59.5K47