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

Programmer Humor

32591 readers
962 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
[–] Venator@lemmy.nz 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.

[–] ShortN0te@lemmy.ml 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.

[–] rwhitisissle@lemmy.ml 2 points 10 months ago

What kind of pointer operations?

[–] Venator@lemmy.nz 0 points 10 months ago* (last edited 10 months ago)

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

[–] marcos@lemmy.world 8 points 10 months ago (1 children)

It's required for drivers too.

[–] Venator@lemmy.nz 1 points 10 months ago

That's basically embedded programming, or pretty similar.

[–] davel@lemmy.ml 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.