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.
-
12:37
itsSeanDaniel
1 day agoFake Republican REFUSES to Stand Up for Charlie Kirk
12.1K21 -
1:01:55
MTNTOUGH Podcast w/ Dustin Diefenderfer
21 hours agoJason Khalipa: American Men: Get Off the Couch and Rise Up Now | MTNPOD #133
14.6K43 -
5:17
Blackstone Griddles
12 hours agoEasy Weeknight Meals: Creamy Parmesan Beef Pasta
11.7K3 -
7:08
Rena Malik, M.D.
22 hours ago $1.02 earnedFour totally surprising causes of Back Pain
10.7K1 -
6:27
DropItLikeItsScott
14 hours ago $0.77 earnedIs This the Coolest Gun Accessory Ever? The Gun Guardian
12.2K -
19:05
Michael Feyrer Jr
23 hours agoCan you even fit this much FAIL in one video? $10K Challenge Week 1
9.87K -
19:53
Professor Nez
16 hours agoYou WON’T BELIEVE What I Found on Charlie Kirk’s Shooter!
12.3K22 -
1:35:53
The China Show
17 hours ago $1.40 earnedBrutal Mayhem in China as Dark Coverups are Exposed - #280
17.5K7 -
12:30:34
Times Now World
1 day agoLIVE | Russia-Belarus Zapad-2025 LIVE | Missiles Target NATO in Arctic & Baltic
28.2K3 -
32:14
daniellesmithab
18 hours agoNew Feature for Driver’s Licence and ID Cards
31.2K6