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

Programmer Humor

33564 readers
344 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 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.

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

[–] rwhitisissle@lemmy.ml 2 points 1 year ago

What kind of pointer operations?

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

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

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

It's required for drivers too.

[–] Venator@lemmy.nz 1 points 1 year ago

That's basically embedded programming, or pretty similar.

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