Reliability
Typing in programming language

Add to my library

H3320 V1 Article

Reliability


Typing in programming language

Authors : Emmanuel CHAILLOUX, Romain DEMANGEON, Michel MAUNY

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

Add to my library Add to my library

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"

( 230 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

Dans les ressources documentaires

Ada

L'objectif de cet article est de présenter sommairement le langage Ada dans son état actuel (2017). Après...

Langage UML : développement de logiciel et modélisation visuelle

Le langage UML (pour Unified Modeling Language) est un langage graphique de modélisation des systèmes log...

Plate-forme .NET

Le .NET Framework, qui permet la création et l’exécution d’applications modernes conçues autour des stand...

Tous les livres blancs
Toutes les actualités
Contact us