Title: Hey HN, I didn&#x27;t want my Gateway 4DX2-66 from 1993 to be left out of the AI revolution, so I built an AI Assistant for Windows 3.1, based on the OpenAI API.<p>The most interesting parts of building this were:<p>- Getting TLS 1.2 and 1.3 working on Windows 3.1 so that WinGPT could directly connect to OpenAI&#x27;s server without relying on a modern machine for TLS termination.<p>- Learning about the memory segmentation architecture on 16-bit Windows, including the difference between <i>far</i> and <i>near</i> pointers.<p>- Building the UI in plain C code with the Windows API and limited selection of controls in Windows 3.1.<p>You can check it out here and learn more about what it was like to build it: <a href="https:&#x2F;&#x2F;www.dialup.net&#x2F;wingpt&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.dialup.net&#x2F;wingpt&#x2F;</a>
Upvote: