jagomart
digital resources
picture1_Cpu Pdf 182666 | Jazykc En


 106x       Filetype PDF       File size 0.17 MB       Source: rtime.felk.cvut.cz


File: Cpu Pdf 182666 | Jazykc En
2007 2022 m sojka p pisa vut advanced use of the c language content why to use c language differences from java object oriented programming in c usage of c ...

icon picture PDF Filetype PDF | Posted on 31 Jan 2023 | 2 years ago
Partial capture of text on file.
                                                           © 2007 – 2022 M. Sojka, P. Píša; ČVUT
          Advanced use of the C language
        ● Content
            – Why to use C language
            – Differences from Java
            – Object oriented programming in C
            – Usage of C preprocessor
            – Coding standards
            – Compiler optimizations
            – C99 and C11 Standards 
                                                              © 2007 – 2022 M. Sojka, P. Píša; ČVUT
                  Why to use C language
        ●  Old language (1970 – 1978)
        ●  Sometimes called “portable assembler” (something between 
           assembler and modern language)
        ●  Library of C functions is well-established and standardized – 
           source code portability
        ●  C compiler is always the first compiler ported for a new type of 
           processor
            – Porting is supported by CPU manufacturer – fast code
            – Most of the architectures is influenced by requirements and 
               philosophy of C language
                                                            © 2007 – 2022 M. Sojka, P. Píša; ČVUT
             Why to use C language (II.)
        ●  Basic data types are defined to match the features of the target 
           processor. Programs are effective and with some small effort, it is 
           possible to write programs easily portable between  8, 16, 32 i 64 bit 
           processors.
        ●  Libraries written in C can be easily integrated to other (more 
           modern) languages.
        ●  C language allows for writing very low-level code adapted to the data 
           processing in CPU that it is almost not necessary to write anything in 
           assembler (better portability).
                                                            © 2007 – 2022 M. Sojka, P. Píša; ČVUT
             Why not to use C language
        ●  Error prone
        ●  Too low-level
        ●  Manual memory management
        ●  Difficult to write correct multi-threaded programs
        ●  Rust language appears as a better alternative to future real-time 
           systems development
            – Not supported everywhere
            – Many language features are not yet stable
The words contained in this file might help you see if this file matches what you are looking for:

...M sojka p pisa vut advanced use of the c language content why to differences from java object oriented programming in usage preprocessor coding standards compiler optimizations and old sometimes called portable assembler something between modern library functions is well established standardized source code portability always first ported for a new type processor porting supported by cpu manufacturer fast most architectures influenced requirements philosophy ii basic data types are defined match features target programs effective with some small effort it possible write easily i bit processors libraries written can be integrated other more languages allows writing very low level adapted processing that almost not necessary anything better error prone too manual memory management difficult correct multi threaded rust appears as alternative future real time systems development everywhere many yet stable...

no reviews yet
Please Login to review.