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.
-
1:47:16
Tundra Tactical
16 hours ago $115.93 earnedGlock Interview From Beyond The Grave//Whats the Future of Home Training??
69.9K12 -
2:16:35
BlackDiamondGunsandGear
15 hours agoEBT Apocalypse? / Snap Down SHTF / After Hours Armory
41K14 -
14:05
Sideserf Cake Studio
1 day ago $20.34 earnedHYPERREALISTIC HAND CAKE GLOW-UP (Old vs. New) 💅
78.4K15 -
28:37
marcushouse
1 day ago $15.22 earnedSpaceX Just Dropped the Biggest Starship Lander Update in Years! 🤯
58K20 -
14:54
The Kevin Trudeau Show Limitless
4 days agoThe Hidden Force Running Your Life
139K28 -
2:16:35
DLDAfterDark
15 hours ago $17.88 earnedIs The "SnapPocalypse" A Real Concern? Are You Prepared For SHTF? What Are Some Considerations?
43.7K15 -
19:58
TampaAerialMedia
1 day ago $11.78 earnedKEY LARGO - Florida Keys Part 1 - Snorkeling, Restaurants,
56.9K24 -
1:23
Memology 101
2 days ago $11.75 earnedFar-left ghoul wants conservatives DEAD, warns Dems to get on board or THEY ARE NEXT
42.7K85 -
3:27:27
SavageJayGatsby
16 hours ago🔥🌶️ Spicy Saturday – BITE Edition! 🌶️🔥
65.9K7 -
26:09
Exploring With Nug
1 day ago $13.96 earned13 Cold Cases in New Orleans What We Discovered Beneath the Surface!
59.3K28