1259
you are viewing a single comment's thread
view the rest of the comments
[-] dejected_warp_core@lemmy.world 46 points 1 day ago

Especially these days. Current-gen x86 architecture has all kinds of insane optimizations and special instruction sets that the Pentium I never had (e.g. SSE). You really do need a higher-level compiler at your back to make the most of it these days. And even then, there are cases where you have to resort to inline ASM or processor-specific intrinsics to optimize to the level that Roller Coaster Tycoon is/was. (original system specs)

[-] kuberoot@discuss.tchncs.de 2 points 19 hours ago

I might be wrong, but doesn't SSE require you to explicitly use it in C/C++? Laying out your data as arrays and specifically calling the SIMD operations on them?

[-] acockworkorange@mander.xyz 4 points 19 hours ago

There’s absolutely nothing you can do in C that you can’t also do in assembly. Because assembly is just the bunch of bits that the compiler generates.

That said, you’d have to be insane to write a game featuring SIMD instructions these days in assembly.

[-] Wilzax@lemmy.world 3 points 11 hours ago

Technically assembly is a human-readable, paper-thin abstraction of the machine code. It really only implements one additional feature over raw machine code and that's labels, which prevents you from having to rewrite jump and goto instructions EVERY TIME you refactor upstream code to have a different number of instructions.

So not strictly the bunch of bits. But very close to it.

[-] acockworkorange@mander.xyz 1 points 10 hours ago

Technically correct. The best kind of correct.

load more comments (3 replies)
load more comments (4 replies)
load more comments (4 replies)
this post was submitted on 17 Oct 2024
1259 points (99.0% liked)

RetroGaming

19343 readers
954 users here now

Vintage gaming community.

Rules:

  1. Be kind.
  2. No spam or soliciting for money.
  3. No racism or other bigotry allowed.
  4. Obviously nothing illegal.

If you see these please report them.

founded 1 year ago
MODERATORS