this post was submitted on 07 Sep 2023
14 points (100.0% liked)

C Programming Language

998 readers
1 users here now

Welcome to the C community!

C is quirky, flawed, and an enormous success.
... When I read commentary about suggestions for where C should go, I often think back and give thanks that it wasn't developed under the advice of a worldwide crowd.
... The only way to learn a new programming language is by writing programs in it.

ยฉ Dennis Ritchie

๐ŸŒ https://en.cppreference.com/w/c

founded 1 year ago
MODERATORS
 

Not new, but a rabbit hole nonetheless.

top 4 comments
sorted by: hot top controversial new old
[โ€“] mrkite 4 points 1 year ago (1 children)

Clever. I've always said the most portable architecture ever is the NES. You can get emulators to run NES software on pretty much everything with a CPU in it.

[โ€“] [email protected] 3 points 1 year ago

I have the same opinion about MS-DOS. If you need more controls than A B Start Select then DOS gives you a full keyboard and mouse support, plus reasonably useful resolution like 640x480.

You can emulate DOS on any computer platform, including the web so people can use software in-browser with no effort. There are even DOS emulations on 100MHz+ microcontrollers like ESP32.

There are pre-made DOS cross-compilers for C so you don't need to learn assembly like you might with NES: https://github.com/andrewwutw/build-djgpp

[โ€“] ICastFist 1 points 1 year ago (1 children)

Damn, now I want to experiment doing that header change in a portable windows program while running linux, just to see if it's as easy as she makes it sound

Also, is the x86_64 architecture already patent free now? Since the post is from 2020 and she mentioned that the patent would expire "next year"

[โ€“] 0x0 2 points 1 year ago

I see a lot of noise about them expiring sometime this year, but no official sources.