Today ends the last day of the slow weeks. The last couple of weeks have been slow, with not a lot to get done, as I had to take care of business needs of the project. I still did manage to code quite a bit, everything except the project stuff. Case in point, Zig. That has been slow too, especially after getting so comfortable with Go. Although, Go will still be my main programming language when it comes to projects that make money. But I'm hoping somewhere down the line, I'd like to build something with Zig, something quite large, like a browser. The advent of code questions, are really helping. At the same time, I'm trying to not fall into the trap of doing something once, and the repeating it mindlessly for the next problems. Example, for writing a file, turns out I was doing way too much unnecessary stuff. Like reading the file. I was opening the file, reading it into a buffered reader, then turning it into a stream and then reading the stream. That was my very first attempt, so for the next one I tried to read from the file reader directly. Ziggit answers have been hugely helpful. Did some allocations for the first time in Zig too. Currently I am on part one of the second question, which seems easier than the first question. Might finish it, right after I finish this post.
As much as I have appreciated the last couple of weeks, I'm glad to get started on the project again. This also means my Zig time is constrained, which is good thanks to Parkinson's law. So, I'll be spending couple of hours in the morning, and I'll try to squeeze an hour in before bed. I really want to get good at Zig. It will help me have a good grasp of programming languages at all level except assembly. Which I intend to learn too, at some point.
High level language: JavaScript
Mid level language: Go
Lowish level language: Zig, Basic C
Low level language: Tbd years from now
Google says AI is writing 25+% of it's code
Just before writing this, I came across this post saying that more than a quarter of the new code was written by AI. I'm quite skeptical about this. As a programmer this is useless information. This sounds more like a sales pitch, that would make the shareholders less worried about spending gazillions into AI, maybe. If you are a programmer, I'd say focus on being the best programmer you can be, aspire to be better than the average, there is and will always will be value in being way above the average. My intuition says so, and it has never been wrong. Also, I went through the comments of that post on Hacker news, and I choose to believe the Engineers at Google over the executives.
Enjoy your programming, it's one of the few permissionless leverages, like Content creation.