๐พ Archived View for bbs.geminispace.org โบ u โบ norayr โบ 4045 captured on 2023-11-04 at 16:46:02. Gemini links have been rewritten to link to archived content
โฌ ๏ธ Previous capture (2023-09-28)
โก๏ธ Next capture (2023-11-14)
-=-=-=-=-=-=-
Re: "Python... F**K Python. Whenever something goes wrong on my..."
since childhood i disliked interpreters. basic was slow and stupid. programs written or compiled to machine code were fast. i don't see why we need interpreters. well, maybe for lisp to have eval()?
i also don't understand why some languages are not strongly typed. whenever i wrote python, it was so hard because compiler was not helping me to catch errors earlier, then the program would explode, and then i would need to search why.
today i believe best mainstream language for programming is go - it is simple (inspired of oberon), it is compiled, it is strongly typed, it has modules.
from not really mainstream, but still a bit mainstream - pascal/freepascal/lazarus.
maybe ada is on the same line? much more consistent, and i don't know which is bigger in size - ada or modern object pascal. i think i like ada more for consistency (though i have not much experience with it), but i dislike the compiler - gnat, and dislike that it depends on gcc. i like that fpc compiler is a separate project, independent of any llvms or gccs. and i like the code it generates for some reasons. for example the code does not depend (usually) of systems glibc. they link statically their own library which calls kernel functions directly.
not not really mainstream - modula-3.
and the best of all, my favourite oberon. (:
2023-08-10 ยท 3 months ago
dependency hell is a completely different topic. not always you can feel safe by just downloading number of deps from the internet and building those.
afaik go has the option to mention exact commit or tag of the dependency you need.
the safest way is to stick with your operating system package manager. that code supposedly passed audit.
i also would like to mention this post i recently saw https://friend.camp/@aparrish/110816062043431740
I generate poetry from a markov chain on a microcontroller using a solar panel harvester chip and some big capacitors. i originally wrote the generator with CircuitPython, which gave me 2โ3 lines of poetry per discharge from the harvester.
well I just finished reimplementing the generator in C++ and now I get... ~200 lines of poetry per discharge (!)
Python... F**K Python. Whenever something goes wrong on my machine, it some stupid Python application. Just wasted a whole bunch of time trying to get a markdown viewer. Even when a Python app works, a couple of years later it's guaranteed to suddenly stop working...