Article | REF: H3320 V1

Typing in programming language

Authors: Emmanuel CHAILLOUX, Romain DEMANGEON, Michel MAUNY

Publication date: May 10, 2018

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

Already subscribed? Log in!


Français

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.

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? Log in!


The Ultimate Scientific and Technical Reference

A Comprehensive Knowledge Base, with over 1,200 authors and 100 scientific advisors
+ More than 10,000 articles and 1,000 how-to sheets, over 800 new or updated articles every year
From design to prototyping, right through to industrialization, the reference for securing the development of your industrial projects

This article is included in

Software technologies and System architectures

This offer includes:

Knowledge Base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

Practical Path

Operational and didactic, to guarantee the acquisition of transversal skills

Doc & Quiz

Interactive articles with quizzes, for constructive reading

Subscribe now!

Ongoing reading
Reliability