Ekaitz Zarraga 👹

@ekaitz_zarraga
1.7K Followers
225 Following
156 Posts

Engineer. Creator.

en/es/eu

My bloghttps://ekaitz.elenq.tech
My workhttp://elenq.tech
Artodon, the mastodon art galleryhttps://ekaitz-zarraga.codeberg.page/artodon/
I think we should drop the GCD008 idea. The differences are mostly ideological and political. I think we should accept that (at this stage) we have opposing camps and a clearly divided but quiet community. Supporting one group over the other is a bad idea. We can afford to wait for the rest of the free software world to take position. No need to try to lead with a minor distro. We should be more humble.
i had this idea of a version control software. the draft of the internal structure is largely done and i'm gonna make a first version of it within the next month
@regehr Leave things implementation-defined. Let the x86s have their segmented memory models. Let the source code be machine and implementation specific. So what? We already know how to #ifdef for porting between different OSs and platforms, and the need for adaptation to different platforms will never go away. So wishing for perfect source portability on an ideal abstract machine is futile anyway. It's an invalid justification for these definedness rules.
@regehr The concept of definedness isn't even sensible. Saying the compiler is free to do anything it wants for undefined behavior is bogus. It can't take a division by zero sequence and decide to emit a completely unrelated code sequence instead. The result of that arithmetic is undefined, but it still has to issue the instruction. It may not know at compile time that the divisor will be zero, so it has to just emit the code as requested.

@regehr if it's eliding `if (foo == NULL)` checks that the programmer asked for, the compiler is broken. If it's making any aliasing assumptions, so that it can omit memory loads that the programmer asked for, it's broken.

What use is a standard that allows a compiler to ignore the source code it's given?

Does the spec assume a flat linear address space? Does it prohibit Near and Far pointers, that riddled x86 code bases, with multiple memory models?

@regehr phooey. I'll stick to C89 then, before they went overboard with the abstract machine. We don't have CPUs with 1s complement math any more, nor with 9 bit bytes. We don't have to worry about invisible bits in 36bit integers. The compiler's job is to turn C code into assembly code. If it's gratuitously setting tags into the low bits of pointers, that the programmer didn't ask for, it's a broken compiler.
I should host a software building-blocks jam for compilers, linkers, standard libraries, operating systems, editors, shells, debuggers and things like that.
with my 5 hours of sleep, maybe not stopped, but I'll be at least paused later.
I'm basically unstoppable right now LOL

I also used a bench power supply to make sure a few second-hand book-toys (those that have music and animal sounds) that we got for the kid worked properly.

I think that's a well used piece of equipment right there.

cc @regtur