Show HN: Rhubarb – C89 Libraries in Latin
1–10 of 15 posts
Re: Show HN: Rhubarb – C89 Libraries in Latin
#2I definitely didn't expect to see such a project, but this is a refreshingly (positively) crazy thing in the age of AI slop...
Re: Show HN: Rhubarb – C89 Libraries in Latin
#3So the Vatican no longer prescribes Latin as first official language ( https://thecatholicherald.com/article/vatican-ends-routine-u... ) but now we get Latin C libraries? I definitely didn't expect to see such a project, but this is a refreshingly (positively) crazy thing in the age of AI slop...
I wouldn't necessarily recommend the latin part to everyone but I think writing your own standard libraries in C is a lot more accessible these days and owning your whole stack is very powerful.
Kind of inspired by Eskil Steenberg, he has a lot of good talks on writing your own C89 libraries.
Re: Show HN: Rhubarb – C89 Libraries in Latin
#4Re: Show HN: Rhubarb – C89 Libraries in Latin
#5In include/latina.h, they use the C preprocessor to redefine the C keywords in Latin. Also, many numeric constants -- instead of 4096 you write MMMMXCVI.
The other files in docs explain each library routine in English, but the code samples are in Latin. The source files - a lot of them! - are in include and lib. The code is all in Latin, including the error messages and comments.
Re: Show HN: Rhubarb – C89 Libraries in Latin
#6What's going on in RELAX.md?
Re: Show HN: Rhubarb – C89 Libraries in Latin
#7Back in the '80s, before AI could quickly produce such things, I had created a "Greek" version of the C language -- obviously named "Γ".
A lot of preprocessor definitions were involved for keyword translation, as one can imagine. Translating the C standard library was a much more difficult process: it involved patching the compiler/linker on a BSD system, since you could not have non-ASCII symbols (function entry points).
Re: Show HN: Rhubarb – C89 Libraries in Latin
#8Re: Show HN: Rhubarb – C89 Libraries in Latin
#9Re: Show HN: Rhubarb – C89 Libraries in Latin
#10What's going on in RELAX.md?
Working with its alignment training is sometimes like talking to someone who is very polite and you both know what they are not supposed to talk about.
I am kind of a troll so it is sometimes very entertaining for me to play with acknowleding its person, etc.