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.
-
58:40
Donald Trump Jr.
3 hours agoCan California be Golden Again? Interview with Gubernatorial Candidate Steve Hilton | TRIGGERED Ep.293
71.5K56 -
LIVE
AirCondaTv Gaming
5 hours ago $0.14 earnedBattlefield 6: Burn Baby Burn. Like a Raging Inferno
67 watching -
1:06:20
BonginoReport
3 hours agoTrump, Vance “SNUBBED” by Never-Trumper Cheneys - Nightly Scroll w/ Hayley Caronia (Ep.182)
40.7K16 -
3:35:57
SlantRock
3 hours agoBATTLEFIELD REDSEC/ MAYBE ARC RAIDERS AFTER
600 -
LIVE
Astral Doge Plays!
1 hour agoHyrule Warriors: Age of Imprisonment ~LIVE!~ Ganondorf Is a Jerk
73 watching -
1:25:13
Kim Iversen
3 hours agoMKUltra Victims Are SUING — The CIA's Darkest Secret EXPOSED
88.9K44 -
LIVE
GritsGG
5 hours ago#1 Most Warzone Wins 4015+!
83 watching -
16:30
Stephen Gardner
3 hours ago🚨OVAL OFFICE EXPOSES TRUMP TAKEOVER – FILIBUSTER NUKED!
17.5K24 -
LIVE
The Rabble Wrangler
16 hours agoThe Best in the West Dominates Battlefield
29 watching -
LIVE
cosmicvandenim
4 hours agoCOSMIC VAN DENIM
55 watching