this post was submitted on 21 Jan 2024
786 points (93.4% liked)

Programmer Humor

32494 readers
568 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 10 months 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 10 months 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 10 months ago

What kind of pointer operations?

[–] [email protected] 0 points 10 months ago* (last edited 10 months ago)

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

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

It's required for drivers too.

[–] [email protected] 1 points 10 months ago

That's basically embedded programming, or pretty similar.

[–] [email protected] 6 points 10 months ago* (last edited 10 months 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.