this post was submitted on 03 Oct 2023
19 points (85.2% liked)

Programming

17354 readers
323 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
19
What is memory safety (alexgaynor.net)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/programming
 
all 5 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 1 year ago (1 children)

i feel like half the article is missing

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

true, I don't see any definitions of memory safety in "Defining the memory safe problem" , but a more detailed discussion of memory safety is in the other article http://www.pl-enthusiast.net/2014/07/21/memory-safety/

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

thanks! but i can't access the site (~~certificate expired~~ some certificate related error, then, page not found). I'll try again later

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

I wondered what that article would say about Ada. No mention. But certainly Ada gives you the ability to have the issues that are listed so apparently Ada is memory unsafe (despite it being highly regarded as a safe language overall).

Also worth noting that Ada developers generally consider rust a watered down lesser alternative. OTOH, rust has memory safety and Ada does not, correct?