Untitled attachment
https://media.iddqd.social/media/d729d47a6322bb085035a783b2d44cf61a55c5a65bf9d338d8b571da2fb2a5e6.png
I’m not ideologically opposed to C. I wrote a simple vector database in C so that I could make it crunch through OpenAI embeddings really fast. High level scripting languages like Python and Ruby just don’t cut it.
But then recently I also wrote this thing that takes CofD/WoD character sheets in a particular JSON schema and dumps out ANSI art sheets. I also wrote a script that goes through the process of chargen in this game by hitting the OpenAI API to make choices; the script prepares the legal range of options for the AI to choose from, and asks it to do so based on what the character sheet looks like so far. I wrote both of these scripts in Ruby, since what I’m doing isn’t number crunching, and is by and large really just string manipulation and hitting an API.
My point is not “use OOP, it is the best, cleave to the OOP.” My point is “don’t be an ideologue, choose the right tool for the job.”
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.