Login
You're viewing the ruby.social public feed.
  • Nov 22, 2026, 12:48 AM

    In terms of general-purpose computing, there's only four CPU architectures left: x86, ARM, RISC-V, and 6502.

    Now if you'll excuse me for a moment, I will be getting myself a drink and some snacks for the comments this is going to generate

    💬 8🔄 2⭐ 0

Replies

  • 💬 1🔄 0⭐ 0
  • Nov 22, 2026, 12:56 AM

    @atax1a That's a microcontroller architecture. Anything that uses a Harvard architecture is NOT useful for general-purpose computing! You need a normal-ass data and address bus and the ability to execute code from user-writable memory. Microcontrollers are still valid for specific-purpose computing, e.g. stuff that is supposed to do one thing and do it without fail, like pacemakers and traffic signals, but not for an end user loading and running bare-metal code

    💬 3🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 22, 2026, 3:50 AM

    @techokami @atax1a I have a bias where I tend to look at stack behaviors: can the stack store data, can you easily build recursive and reentrant code, can you have multiple stacks to swap between multiple tasks? 8008 fails at this, 8080 succeeds, 6502 is somewhat in between.

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 22, 2026, 12:57 AM

    @linear I used the generics for the architecture families

    Also, 8051 is a microcontroller architecture. Anything that uses a Harvard architecture is NOT useful for general-purpose computing! You need a normal-ass data and address bus and the ability to execute code from user-writable memory. Microcontrollers are still valid for specific-purpose computing, e.g. stuff that is supposed to do one thing and do it without fail, like pacemakers and traffic signals, but not for an end user loading and running bare-metal code

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 22, 2026, 1:03 AM
    @techokami@woof.tech the very first thing any modern x86 operating system does is set up the separate code and data addres spaces of the x86 so that both of them point to the same region containing all unified physical memory so that programmers can pretend they're programming a von neumann machine
    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 2🔄 0⭐ 0
  • Nov 22, 2026, 1:06 AM

    @linear probably also should have mentioned that I really don't like the 4 architectures I listed for various reasons (x86-based stuff is just... cursed)

    💬 0🔄 0⭐ 0
  • Nov 22, 2026, 1:11 AM
    @techokami@woof.tech risc-v gets a lot of flak for things it does not deserve, and downright misinformation (like that supposedly risc-v has no facility for feature detection, which is entirely untrue but spreads like wildfire among users of rust, which at least as of last year could not detect features at runtime on risc-v for entirely rust-related reasons)

    meanwhile it gets much less flak for things it does deserve, like its core group being a clique of academia that is actively hostile to people trying to use the architecture and who want the architecture to be successful
    💬 2🔄 0⭐ 0
  • Nov 22, 2026, 1:15 AM

    @linear YES, THIS. Every time I try to give RISC-V a chance, either something about the ISA makes me go :wlfWhat: or the userbase being weirdly hostile... once, when I was asking for some good information on RISC-V assembly programming, I was told that it should only be treated as a compiler target and that I was an idiot for trying to avoid learning C

    💬 0🔄 0⭐ 1
  • Nov 22, 2026, 1:32 AM
    @techokami@woof.tech yeah. there's a lot of technical decisions that seem odd until you've considered the problem from enough angles to see why it has to be the way that it is. RISC-V is as weird and backed into the corner it is in as as any other architecture, but it carefully considered the available corners before settling into one, at least.

    but getting the necessary help to understand why it is the way it is can be daunting because nobody wants to talk with anyone who doesn't already know everything they know
    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 22, 2026, 9:05 PM
    @izzy@social.shadowkat.net @techokami@woof.tech it basically is, yeah. more advanced, as well, because you can have arbitrarily many independently defined address spaces, which can be the same or different, and you can include the information about which address space you intended to use as part of an extended pointer

    (at least before they made it vestigial in long mode)
    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 9:08 PM
    @izzy@social.shadowkat.net @techokami@woof.tech by giving yourself extended pointers in 32-bit (or 16-bit) mode you can have things like a demand paged virtual memory system without having to use paging, and data execution prevention without needing an NX bit, and hardware-enforced bounds checking of data structures, on a 386 (or 286)
    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 22, 2026, 1:01 AM

    @RedTechEngineer loongarch does not practically exist outside of China; it's being developed as a domestic replacement for all other CPU architectures and thus getting access to materials and chips outside of that country is... not feasible from what I've seen. Even then, isn't it basically MIPS in a trench coat?

    💬 0🔄 0⭐ 0
  • Nov 22, 2026, 1:11 AM
    thus getting access to materials and chips outside of that country is... not feasible from what I've seen.
    you just have to find an importer. i got mine through aliexpress. theres also vendors like valor that sell em.
    Even then, isn't it basically MIPS in a trench coat?
    no, i'm not entirely sure why people keep claiming that. i guess its because loongson used to do MIPS until 2021 and loongarch has lbt_mips to hardware translate mips binaries? (though they also have the same for x86 and arm). it is it's own thing.
    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 1
  • 💬 1🔄 0⭐ 0
  • Nov 22, 2026, 1:09 AM

    @Kroc also, not understanding the concept of being in production, or global availability

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 22, 2026, 2:03 AM

    @freya
    SPARC is an architecture that I find really interesting and enjoyable! But there's been no real movement from SPARC International in years now, and it has effectively been killed off by x86 (for Oracle) and ARM (for Fujitsu). OpenSPARC is GPL and still exists, but iirc the memory system requires some weirdass version of bizzaro DDR2? So unless someone were to take the Verilog, redo the memory system to use something sane, and get actual chips taped out... :wlfCry:

    POWER9 is unfortunately a dead iteration of the POWER architecture. And the newer versions of POWER went very closed source and I genuinely don't think IBM is going to continue after Power11, as they're now working with ARM, and ARM has a knife

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 22, 2026, 4:12 AM

    @techokami

    believe it or not, the mighty Z80A in its full 40 pins of glory is still running floors of manufacturing plants today. Reliable as the sun rising every morning and may outlast all of us.

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 3:27 PM

    @dianea Unfortunately the Z80 was recently killed by the people that own what's left of Zilog :wlfCry: They wanted to exit out of the microprocessor market so they ended production of even the eZ80 line. If they were still making it, I would have listed it. It COULD come back, however, if they decide to give the rights and the masks to someone else to restart production. There is also a Z80-compatible CPU being made by someone independently that, iirc, goes to 40MHz and was part of the Tiny Tapeout project, but that hasn't hit mass production yet.

    💬 0🔄 0⭐ 0