Interlaced C source files:
Instead of 80 column lines, each line is only 40 characters and contains every other letter. The next line is also 40 letters and contains the other letters.

This would solve no problems and make a significant number of things worse

It's specialized for source for 16bit computers where the firmware is split across two eeproms, where high/low bytes are on different chips

oooh: specialized editor that types on two lines as you type. So you type "Hello world!" and get:

Hlowrd
el ol!

it's only 80 characters in north america and japan. in europe they use PAL, which is 70 characters

interlaced C is defined to be 7-bit, so 8-bit computers save interlaced C files with the high bit set for the second line. This makes them tricky to edit, but you get used to it.
"hello" is "Φσ∞∞∩", for example

this is for interoperability. see, which line goes first depends on the endianness of your PC.
odd-first is for big endian PCs, even-first for little.

and if you are on a 7bit machine and don't know if the source is from a BE or LE machine?

just compile it both ways! whichever one produces fewer errors is probably correct.

also I can't really use the term "BE" anymore now that I've been hanging out with a bunch of TF fetishists on tumblr. that's... not what it means over there.

anyway, homework assignment: develop an interlaced C program that compiles in both big endian and little endian mode.

Follow

@foone Easy. Just fill every second line with blanks.

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Awoo Space

Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.

While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.

Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!