Reliability
Typing in programming language
Article REF: H3320 V1
Reliability
Typing in programming language

Authors : Emmanuel CHAILLOUX, Romain DEMANGEON, Michel MAUNY

Publication date: May 10, 2018 | Lire en français

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

2. Reliability

2.1 Runtime errors

Some programs with correct algorithms may exhibit unintended behavior at runtime. In a permissive language, in the total absence of typing, these behaviors can result in a hardware error: these errors, triggered at processor level, signal misuse of the processor. For example, consider the following C code, which performs a memory allocation at address p2, then seeks to access the memory address p1 directly following that of p2 ; when executed on certain processors (e.g. ARM, MIPS, IBM System/360 architectures, which are demanding in terms of memory alignment, unlike x86 architectures), this action causes a hardware error (bus error) of access to a "non-aligned" address, as the bus linking the processor to memory cannot directly read or write addresses that are not...

You do not have access to this resource.
Logo Techniques de l'Ingenieur

Exclusive to subscribers. 97% yet to be discovered!

You do not have access to this resource. Click here to request your free trial access!

Already subscribed?


Article included in this offer

"Software technologies and System architectures"

( 227 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details