Premium Only Content
Learning: Odin Programming Language
Streamed on 2024-12-27 (https://www.twitch.tv/thediscouragerofhesitancy)
OBS had some sort of malfunction at around hour 3:40 and there is no audio after that point. Sorry.
I've wanted to take the odin programming language for a test drive and today is the day. I scanned through some of the odin information on the webpage. Compared to the zig webpage documentation from yesterday, the odin documentation was much better.
I tried to install odin, and while at first it seemed to be going well it all kind of fell apart once we tried to compile an odin program. It turns out that odin requires Visual Studio on Windows. I followed the instructions on the webpage but couldn't get it to work. In the end I followed a secondary set of instructions from the webpage. I had to add more things to the PATH variable and remove/change other things from the first attempt, but eventually we were able to build odin from the source and get it to run correctly. The caveat is that when I create a shell I still have to run everything from the Windows command line (not bash like I normally do) and there is a step to initialize the environment. I'm not a big fan. One point to zig for not requiring Visual Studio and just working after unzipping.
With the odin compiler working it was time to move on to Advent of Code for 2019. I worked my way through Day 1 without too much trouble. Some nice-to-haves weren't working for me in odin (atoi for example), but nothing major. I realized after completeing Day 1 that OBS had semi-frozen and the stream wasn't working, so you can't see the complete solution in this video. Sorry about that.
-
1:52:38
Man in America
9 hours agoCommunists VS Zionists & the Collapse of the American Empire w/ Michael Yon
59K21 -
4:09:34
Akademiks
4 hours agoSheck Wes exposes Fake Industry. Future Not supportin his mans? D4VD had help w disposing his ex?
35.9K3 -
6:43:43
SpartakusLIVE
8 hours agoTeam BUNGULATORS || From HUGE WZ DUBS to TOXIC ARC BETRAYALS
108K3 -
2:44:56
BlackDiamondGunsandGear
4 hours agoAre You that guy? / Carrying a Pocket Pistol /After Hours Armory
22.3K -
LIVE
Camhigby
5 hours agoLIVE - Riot Watch Portland, DC, NC
330 watching -
2:54:58
CAMELOT331
7 hours agoYouTube Just Told Me I OWE THOUSANDS $ TO THEM... update
30.9K5 -
2:00:53
Tundra Tactical
14 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 -
2:58:31
NewsTreason
6 hours agoDECLAS w/ Rambo & Dave: Nuremberg 2.0 | MTG Exits Stage Left | Mamdani Psyop Confirmed, 8pm EST
73.4K72 -
LIVE
meleegames
6 hours agoSONG REQUESTS CLOSED - Melee Music - Beat Hazard 3 - Devil Inside
118 watching