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.
-
24:30
DeVory Darkins
13 hours agoMarjorie Taylor Greene RESIGNS as Minnesota dealt MAJOR BLOW after fraud scheme exposed
66.5K111 -
2:19:48
Badlands Media
1 day agoDevolution Power Hour Ep. 409: Panic in the Narrative — Epstein, Israel, and the Manufactured Meltdowns
152K40 -
1:52:38
Man in America
10 hours agoCommunists VS Zionists & the Collapse of the American Empire w/ Michael Yon
65.3K26 -
4:09:34
Akademiks
5 hours agoSheck Wes exposes Fake Industry. Future Not supportin his mans? D4VD had help w disposing his ex?
35.9K3 -
6:43:43
SpartakusLIVE
9 hours agoTeam BUNGULATORS || From HUGE WZ DUBS to TOXIC ARC BETRAYALS
113K3 -
2:44:56
BlackDiamondGunsandGear
5 hours agoAre You that guy? / Carrying a Pocket Pistol /After Hours Armory
25.6K -
DVR
Camhigby
5 hours agoLIVE - Riot Watch Portland, DC, NC
23.7K20 -
2:54:58
CAMELOT331
8 hours agoYouTube Just Told Me I OWE THOUSANDS $ TO THEM... update
30.9K5 -
2:00:53
Tundra Tactical
15 hours ago $3.91 earned🛑LIVE AT 9PM CST!! Your Government Hates Your Guns : DOJ Holds Firm On National FIREARMS ACT
24K -
2:44:56
DLDAfterDark
5 hours ago $4.10 earnedAre YOU The Guy That Ruins Thanksgiving?? - God Guns & Gear
24.9K