this post was submitted on 21 Jan 2024
778 points (93.3% liked)

Programmer Humor

33125 readers
445 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 1 year ago (3 children)

Ease of access to the underlying hardware in your programming language is only ever needed for embedded programming in the current year. Change my mind.

[–] [email protected] 9 points 1 year ago (2 children)

There are actual use cases where direct memory access and pointer magic can be very efficient or almost necessary. We work a lot with large images and basically always the first steps are some pointer operations.

[–] [email protected] 2 points 1 year ago

What kind of pointer operations?

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago)

Sounds like you just need a bigger graphics card to me. 😂

[–] [email protected] 8 points 1 year ago (1 children)

It's required for drivers too.

[–] [email protected] 1 points 1 year ago

That's basically embedded programming, or pretty similar.

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago)

Every operating system running on bare metal needs access to the hardware. And if not on bare metal, it needs access to the virtual hardware.