๐พ Archived View for bbs.geminispace.org โบ s โบ permacomputing โบ 21828 captured on 2024-12-17 at 15:09:50. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
there was a famous research, and they repeated it once
pareto optimal sets for different combinations of objectives
assessing the energy efficiency of programming languages
Nov 16 ยท 4 weeks ago
๐ norayr [OP] ยท Nov 16 at 15:26:
well as a have been written
i don't see c++ as permacomputing.
c++ is a very big language which is formed by corporations that hijackd the iso comitee and part of them doesnt allow to remove anything, and part of them is eager to add more 'features'.
nobody can write a c++ compiler. even embarcadero (former borland) gave up supporting their c++ compiler, they simply don't have resources for that. just like microsoft gave up funding edge as separate engine.
now embarcadero, instead of having own version of c++ compiler, just maintains patches to llvm's c++ compiler.
๐ norayr [OP] ยท Nov 16 at 15:28:
i recommended go in the other thread because it is easy to compile. and even without google, it's not that hard to write a go compiler - syntax is not big.
as i said the compiler itself builds in 2 minutes.
rust is also not perma for me. as i mentioned in that thread, i cannot build it on my pinebook with 4gb memory and zram enabled, but yes, i can build it on 11th generation intel, and i have to wait i think more than a day for that. don't remember, but certainly a lot.
by my assessment it's not perma at all.
and plain c, without extensions, yes that's perma. we can implement a compiler. just we won't be able to compile linux kernel with iso compliant compiler. (:
๐ drh3xx ยท Nov 17 at 17:40:
can any modern language like rust, go, nodejs, python etc... that rely on git or some native module infrastructure to be in place be considered permacomputing compatible? I mean with go and in some other cases I guess you could potentially host a local module repo but then you're adding the management and hardware overhead.
What about the vast and varied toolchains depending on which projects/environment s you want perma-available? make (BSD/gnu?), ninja, meson, git, all the shit you need for Android?
I reckon C and Assembly or perhaps something like Forth targeting a CLI environment on limited hardware are probably the best options.
๐ norayr [OP] ยท Nov 18 at 11:43:
i just want to say, as always, sorry i have one lp i always play, and that's:
also, c in gcc contains lots of crap, not just iso c.