Premium Only Content
![Learning: Nim](https://1a-1791.com/video/fwe2/d4/s8/1/y/W/x/k/yWxkw.qR4e-small-Learning-Nim.jpg)
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.
-
2:27
BIG NEM
11 hours agoBalkan Trauma Explained to Africans: The Hidden Truth About Identity & History
24.3K3 -
12:06
John Crump News
21 hours ago $0.73 earnedTwo Cases That Should Be Examined Under President Trump's Executive Order
19.5K3 -
1:00:33
Trumpet Daily
20 hours ago $4.44 earnedThe Final Coup Attempt - Trumpet Daily | Feb. 11, 2025
16.9K24 -
2:56:59
TimcastIRL
12 hours agoTrump Border Czar Hints He'll ARREST Leftists Aiding Illegal Immigrants w/Mark Dubowitz | Timcast IRL
249K263 -
41:14
The White House
10 hours agoPresident Trump Greets and Welcomes Marc Fogel Back to The United States
123K72 -
6:48:41
Akademiks
12 hours agoKendrick Lamar performs at the Superbowl. Does NOT LIKE US. Now projected to sell 230K! Drake done?
161K16 -
5:12:34
MyronGainesX
14 hours ago $34.06 earnedChat With Pearl, Tucker vs Piers, Shopify Cancels Ye, FBI leaks ICE Raids, Trump On Jordan & Gaza!
109K32 -
1:33:07
Man in America
21 hours ago🚨 Chlorine Dioxide: Banned, Censored & Feared by Big Pharma w/ Jonathan Otto
66K95 -
9:21
Colion Noir
11 hours agoMan Robbed Carrying Gun In Back Pocket, Then Shot Trying To Get It Back
50.4K25 -
2:00:39
DLDAfterDark
10 hours ago $11.97 earnedAnderson American Big Bore pistol Contest!
100K4