←back to thread

The C23 edition of Modern C

(gustedt.wordpress.com)
515 points bwidlar | 4 comments | | HN request time: 0.671s | source
Show context
eqvinox ◴[] No.41858531[source]
> The storage order, the endianness, as given for my machine, is called little-endian. A system that has high-order representation digits first is called big-endian. Both orders are commonly used by modern processor types. Some processors are even able to switch between the two orders on the fly.

Calling big endian "commonly used by modern processor types" when s390x is really the only one left is a bit of a stretch ;D

(Comments about everyone's favorite niche/dead BE architecture in 3… 2… 1…)

replies(7): >>41858643 #>>41858658 #>>41858663 #>>41859666 #>>41860712 #>>41860854 #>>41866505 #
1. ondra ◴[] No.41858643[source]
MIPS is still quite alive in consumer networking hardware.
replies(2): >>41858768 #>>41860666 #
2. eqvinox ◴[] No.41858768[source]
True - but at the same time, about half¹ of it is mipsel, i.e. in little-endian mode :). It's also in decline, AFAICS there is very little new silicon development.

¹ on the OpenWRT table of hardware

3. tonetegeatinst ◴[] No.41860666[source]
Learning MIPS assembly currently using mars and QtSpim.

Any recommended hardware I should use for bare metal development messing around? Hopefully priced like a SBC like the raspberry pi.

Want to move from making basic programs like adding, messing with functions, etc and bring my MIPS assembly up to a real hardware environment.

replies(1): >>41863062 #
4. AntoniusBlock ◴[] No.41863062[source]
Many routers use the MIPS ISA and they can be rooted to get shell access. That's what I did with an old Netgear router, which was like a very low spec SBC. If you have a PS2 lying around, you could try that.