Re: VMS

Liste des GroupesRevenir à ol misc 
Sujet : Re: VMS
De : invalid (at) *nospam* invalid.invalid (Richard Kettlewell)
Groupes : comp.os.linux.misc
Date : 21. Jun 2025, 08:42:11
Autres entêtes
Organisation : terraraq NNTP server
Message-ID : <wwvecvda6cs.fsf@LkoBDZeT.terraraq.uk>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Rich <rich@example.invalid> writes:
Rust's "memory safety" is nothing new.  New maybe to "Today's 10,000"
(https://xkcd.com/1053/) but not new to the world of programming.

??? nobody is claiming that memory safety is new with Rust, nor even
that the the techniques it uses are particularly new (although they are
distinct from the approaches found in well-known languages such as Java,
Python, C#, Go, etc).  The novelty is in their delivery in a widely
adopted systems programming language.

Finally, on all but the least powerful microprocessors, a correctly
predicted branch is almost free, and a passed bounds check is easy mode
for a branch predictor.
 
With that in mind, with compilers and microprocessors from this century,
the impact of this sort of thing is rather small. (Ada dates back to
1980, at which time a lot of these technologies were much less mature.)
>
Indeed, yes, on a modern CPU much of the runtime checking is less
performance eventful than it was on 1980's CPUs.  It is not free by any
measure either, some short number of cycles are consumed by that
correctly predicted branch.  For all but the most performance critical
the loss is well worth the gain in safety.  And one could argue that
"performance critical" which in the end results in some sigificant
security breech might not be as "performance critical" as it seems when
the whole picture is taken into account.

Have a look at https://en.algorithmica.org/hpc/pipelining/branching/. In
the P=0 case the loop achieves 1 cycle per iteration. The branch is
free.

Certainly this is a best case that won’t always be achieved, but it’s
quite a good fit to the array bounds checking case. If your program has
had the first round of bugs shaken out, and isn’t receiving adversarial
input, then most array bounds checks will pass.

--
https://www.greenend.org.uk/rjk/

Date Sujet#  Auteur
14 Jun 25 * Re: VMS116Bobbie Sellers
14 Jun 25 +* Re: VMS107Andreas Eder
15 Jun 25 i`* Re: VMS106Lawrence D'Oliveiro
15 Jun 25 i +* Re: VMS11rbowman
15 Jun 25 i i`* Re: VMS10c186282
15 Jun 25 i i +* Re: VMS5The Natural Philosopher
16 Jun 25 i i i`* Re: VMS4c186282
18 Jun 25 i i i `* Re: VMS3c186282
18 Jun 25 i i i  `* Re: VMS2rbowman
18 Jun 25 i i i   `- Re: VMS1c186282
15 Jun 25 i i `* Re: VMS4rbowman
16 Jun 25 i i  `* Re: VMS3c186282
16 Jun 25 i i   `* Re: VMS2rbowman
16 Jun 25 i i    `- Re: VMS1c186282
15 Jun 25 i `* Re: VMS94c186282
18 Jun 25 i  `* Re: VMS93candycanearter07
18 Jun 25 i   `* Re: VMS92c186282
18 Jun 25 i    +* Re: VMS3candycanearter07
18 Jun 25 i    i`* Re: VMS2Rich
19 Jun 25 i    i `- Re: VMS1rbowman
19 Jun 25 i    `* Re: VMS88Richard Kettlewell
20 Jun 25 i     +* Re: VMS85c186282
20 Jun 25 i     i+* Re: VMS76Richard Kettlewell
20 Jun 25 i     ii+* Re: VMS73The Natural Philosopher
20 Jun 25 i     iii+- Re: VMS1Richard Kettlewell
20 Jun 25 i     iii+* Re: VMS70Rich
20 Jun 25 i     iiii+* Re: VMS64The Natural Philosopher
21 Jun 25 i     iiiii`* Re: VMS63Rich
21 Jun 25 i     iiiii +- Re: VMS1The Natural Philosopher
21 Jun 25 i     iiiii `* Re: VMS61rbowman
21 Jun 25 i     iiiii  `* Re: VMS60Robert Riches
21 Jun 25 i     iiiii   +- Re: VMS1c186282
21 Jun 25 i     iiiii   +- Re: VMS1rbowman
22 Jun 25 i     iiiii   `* Re: VMS57candycanearter07
22 Jun 25 i     iiiii    +* Re: VMS3Richard Kettlewell
22 Jun 25 i     iiiii    i`* Re: VMS2The Natural Philosopher
23 Jun 25 i     iiiii    i `- Re: VMS1c186282
22 Jun 25 i     iiiii    +* Re: VMS3rbowman
23 Jun 25 i     iiiii    i`* Re: VMS2candycanearter07
23 Jun 25 i     iiiii    i `- Re: VMS1rbowman
24 Jun 25 i     iiiii    +* Re: VMS49Robert Riches
24 Jun 25 i     iiiii    i+* Re: VMS6rbowman
24 Jun 25 i     iiiii    ii`* Re: VMS5rbowman
24 Jun 25 i     iiiii    ii `* Re: VMS4The Natural Philosopher
25 Jun06:36 i     iiiii    ii  `* Re: VMS3c186282
25 Jun07:31 i     iiiii    ii   `* Re: VMS2The Natural Philosopher
25 Jun08:08 i     iiiii    ii    `- Re: VMS1c186282
24 Jun 25 i     iiiii    i+* Re: VMS7Richard Kettlewell
25 Jun04:01 i     iiiii    ii`* Re: VMS6Robert Riches
25 Jun06:59 i     iiiii    ii `* Re: VMS5c186282
25 Jun07:52 i     iiiii    ii  +- Re: VMS1rbowman
25 Jun17:32 i     iiiii    ii  `* Re: VMS3John Ames
25 Jun17:44 i     iiiii    ii   `* Re: VMS2John Ames
26 Jun00:01 i     iiiii    ii    `- Re: VMS1c186282
27 Jun07:00 i     iiiii    i`* Re: VMS35candycanearter07
27 Jun08:37 i     iiiii    i `* Re: VMS34Richard Kettlewell
27 Jun08:45 i     iiiii    i  +* Re: VMS4The Natural Philosopher
27 Jun18:27 i     iiiii    i  i`* Re: VMS3c186282
27 Jun19:13 i     iiiii    i  i `* Re: VMS2The Natural Philosopher
28 Jun14:16 i     iiiii    i  i  `- Re: VMS1Chris Ahlstrom
27 Jun18:24 i     iiiii    i  `* Re: VMS29c186282
27 Jun18:40 i     iiiii    i   `* Re: VMS28rbowman
27 Jun19:20 i     iiiii    i    +* Re: VMS4Lew Pitcher
28 Jun00:03 i     iiiii    i    i`* Re: VMS3Lawrence D'Oliveiro
28 Jun06:13 i     iiiii    i    i `* Re: VMS2c186282
28 Jun07:10 i     iiiii    i    i  `- Re: VMS1rbowman
27 Jun23:16 i     iiiii    i    `* Re: VMS23c186282
28 Jun08:52 i     iiiii    i     `* Re: VMS22Richard Kettlewell
29 Jun04:16 i     iiiii    i      `* Re: VMS21c186282
29 Jun08:18 i     iiiii    i       `* Re: VMS20Richard Kettlewell
30 Jun00:09 i     iiiii    i        `* Re: VMS19c186282
30 Jun08:36 i     iiiii    i         +* Re: VMS17The Natural Philosopher
30 Jun08:51 i     iiiii    i         i+* Re: VMS11Richard Kettlewell
30 Jun08:59 i     iiiii    i         ii+* Re: VMS3The Natural Philosopher
30 Jun09:33 i     iiiii    i         iii`* Re: VMS2Lawrence D'Oliveiro
30 Jun17:08 i     iiiii    i         iii `- Re: VMS1John Ames
30 Jun09:00 i     iiiii    i         ii+* Re: VMS4Richard Kettlewell
30 Jun09:24 i     iiiii    i         iii`* Re: VMS3The Natural Philosopher
30 Jun09:34 i     iiiii    i         iii `* Re: VMS2Lawrence D'Oliveiro
1 Jul04:30 i     iiiii    i         iii  `- Re: VMS1c186282
1 Jul04:26 i     iiiii    i         ii`* Re: VMS3c186282
1 Jul10:49 i     iiiii    i         ii `* Re: VMS2The Natural Philosopher
1 Jul13:44 i     iiiii    i         ii  `- Re: VMS1Lew Pitcher
30 Jun08:54 i     iiiii    i         i+* Re: VMS2Lawrence D'Oliveiro
30 Jun19:10 i     iiiii    i         ii`- Re: VMS1rbowman
1 Jul04:12 i     iiiii    i         i`* Re: VMS3c186282
1 Jul05:02 i     iiiii    i         i `* Re: VMS2rbowman
1 Jul17:42 i     iiiii    i         i  `- Re: VMS1c186282
30 Jun08:56 i     iiiii    i         `- Re: VMS1Richard Kettlewell
27 Jun20:40 i     iiiii    `- Re: VMS1Rich
20 Jun 25 i     iiii`* Re: VMS5Richard Kettlewell
21 Jun 25 i     iiii +* Re: VMS2Rich
21 Jun 25 i     iiii i`- Re: VMS1Richard Kettlewell
21 Jun 25 i     iiii `* Re: VMS2Lawrence D'Oliveiro
21 Jun 25 i     iiii  `- Re: VMS1c186282
21 Jun 25 i     iii`- Re: VMS1c186282
21 Jun 25 i     ii`* Re: VMS2c186282
21 Jun 25 i     ii `- Re: VMS1rbowman
20 Jun 25 i     i+* Re: VMS6The Natural Philosopher
20 Jun 25 i     ii+- Re: VMS1Rich
21 Jun 25 i     ii+* Re: VMS2Lawrence D'Oliveiro
21 Jun 25 i     ii`* Re: VMS2Richard Kettlewell
20 Jun 25 i     i`* Re: VMS2Rich
20 Jun 25 i     `* Re: VMS2Lawrence D'Oliveiro
15 Jun 25 `* Re: VMS8Rich

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal