Posts

Showing posts from 2026

Trying SDL2 in C with help from AI Programming

Image
So I wanted to try out how much AI technology has advanced since ChatGPT 3. I had it write a C program using SDL2. Surprisingly it did quite well. I used ChatGPT before to create an OpenGL app, so this time I tried CoPilot.  Actually, it started as a PyGame created by CoPilot AI. It was converted by AI from Python to C using SDL2. It's been through about eight iterations, and it's a nice casual game. The Python version played without issue on Windows 11, MacOS, and Linux. Thus far the SDL2 version has been successfully compiled and tested on MacOS and Linux. One thing that really surprised me with the C version is that the code provided by AI compiled without issue! I had the same surprise back with ChatGPT v3 when I had it create an OpenGL program in C of three triangles bouncing around the screen--it created the code and the code compiled successfully! I even asked ChatGPT how to configure Visual Studio to compile the OpenGL code, and it provided the correct steps to do so. I...

HaikuOS Beta 5 Try Out - Browsers!

It's been a while since I've reviewed and talked about Haiku. I have been working with Haiku Beta 5 since around October 2025 soon after it was released. However, it wasn't until a few days ago that I picked it up again and searched through the available software--and found some new treasures.  I had a 2TB 7200RPM hard disk that I had found laying around, so to speak, so I connected it, erased Linux Mint, and installed HaikuOS beta 5 onto it. At first I had trouble getting it to boot after installing the OS, but then realized that I had forgotten to Initialize the volume before partitioning and formatting it. Once I initialized the drive, then created the partition, and then formatted the partition and installed the OS, Haiku booted fine.  I've been experimenting with Haiku for a long time. Since the BeOS days, really. BeOS was a great Operating System, and I was sad to see the Company fail. BeOS was a great invention and competition is good--I think.  After installing ...