Elemente wiederverwendbarer objektorientierter Software

Author: N.A

Publisher: Pearson Deutschland GmbH

ISBN: 9783827328243


Page: 479

View: 583

The Rust Programming Language

Author: Steve Klabnik,Carol Nichols

Publisher: No Starch Press

ISBN: 1593278519

Category: Computers

Page: 552

View: 1893

The Rust Programming Language is the official book on Rust; a community-developed, systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety. Rust’s memory safety guarantees, enforced at compile time, safeguard your programs against the many problems that pervade other systems languages. Rust offers the control and performance of a low-level language with the helpful abstractions of a high level one, and does this all without having a garbage collector. These characteristics make Rust useful for embedding in other languages, programs with specific space and time requirements, and writing low-level code, like device drivers and operating systems. The Rust Programming Language begins with a quick hands-on project to introduce the basics, then explores key concepts in depth, such as ownership, the type system, error handling, and fearless concurrency. Detailed explanations of Rust-oriented takes on topics like pattern matching, iterators, and smart pointers combine with examples and exercises to take you from theory to practice. In addition to its thorough coverage of more granular topics, The Rust Programming Language will show you how to: -Grasp important concepts unique to Rust like ownership, borrowing, and lifetimes -Use Cargo, Rust’s built-in package manager, to build your code, including downloading and building dependencies -Effectively use Rust’s zero-cost abstractions and learn to build your own Developed with help from the community, The Rust Programming Language is your official guide to becoming a productive Rust programmer.

Rust Quick Start Guide

The easiest way to learn Rust programming

Author: Daniel Arbuckle

Publisher: Packt Publishing Ltd

ISBN: 1789610613

Category: Computers

Page: 180

View: 1832

Get familiar with writing programs in the trending new systems programming language that brings together the powerful performance of low-level languages with the advanced features like thread safety in multi-threaded code Key Features Learn the semantics of Rust, which can be significantly different from other programming languages Understand clearly how to work with the Rust compiler which strictly enforces rules that may not be obvious Examples and insights beyond the Rust documentation Book Description Rust is an emerging programming language applicable to areas such as embedded programming, network programming, system programming, and web development. This book will take you from the basics of Rust to a point where your code compiles and does what you intend it to do! This book starts with an introduction to Rust and how to get set for programming, including the rustup and cargo tools for managing a Rust installation and development workflow. Then you'll learn about the fundamentals of structuring a Rust program, such as functions, mutability, data structures, implementing behavior for types, and many more. You will also learn about concepts that Rust handles differently from most other languages. After understanding the Basics of Rust programming, you will learn about the core ideas, such as variable ownership, scope, lifetime, and borrowing. After these key ideas, you will explore making decisions in Rust based on data types by learning about match and if let expressions. After that, you'll work with different data types in Rust, and learn about memory management and smart pointers. What you will learn Install Rust and write your first program with it Understand ownership in Rust Handle different data types Make decisions by pattern matching Use smart pointers Use generic types and type specialization Write code that works with many data types Tap into the standard library Who this book is for This book is for people who are new to Rust, either as their first programming language or coming to it from somewhere else. Familiarity with computer programming in any other language will be helpful in getting the best out of this book.

Modernes C++ Design

generische Programmierung und Entwurfsmuster angewendet

Author: Andrei Alexandrescu

Publisher: Hüthig Jehle Rehm

ISBN: 9783826613470


Page: 424

View: 5245

Rust Programming in Examples

Beginners Guide

Author: Max Sharp

Publisher: Createspace Independent Publishing Platform

ISBN: 9781981739271


Page: 64

View: 8342

This book is a guide for you to learn the Rust Programming Language. The first part of the book is a guide for you on how to get started with the Rust programming language. The author takes you through the initial steps of setting up the environment and writing your "Hello Word!" program. The various primitive data types supported in Rust have been discussed, hence you will know how to use them when programming. You are also guided on how to work with Rust variables. Conversion of types through casting has been discussed in detail; hence, you will know how to convert one type to another. The control of the flow of execution has been discussed. You will learn how to use the various flow control statements in Rust. Loops have also been explored in detail to help you learn how to perform Rust task repeatedly. The author guides you on how to match patterns in Rust. The storage of data by use of vectors has also been explored. Closures and Traits are also popular Rust features. The author has discussed them in detail. The following topics have been discussed in this book: - Getting Started with Rust - Primitives -Variables - Type Casting - Flow Control - Loops - Functions - Traits - Pattern Matching - Vectors - Generics - Closures

Programmieren lernen

Eine grundlegende Einführung mit Java

Author: Peter Pepper

Publisher: Springer-Verlag

ISBN: 3540327827

Category: Computers

Page: 488

View: 4587

Objektorientiertes Programmieren mittels Java: Dieses Lehrbuch liefert sicher und systematisch die grundlegenden Kenntnisse dazu. Im weiteren Verlauf behandelt es u.a. folgende Themen: Objekte und (generische) Klassen, Kontrollanweisungen und Datenstrukturen, wichtige Algorithmen zum Suchen und Sortieren von Daten sowie für einfache numerische Anwendungen und elementare Graph-Traversierung. Modularisierungskonzepte und Methoden der nebenläufigen Programmierung mittels Threads, des Exception-Handlings, der Ein- und Ausgabe sowie von grafischen Benutzerschnittstellen runden das Buch ab. Systematisch und für vielfältige Anwendungen geeignet.

Rust Cookbook

Author: Vigneshwer Dhinakaran

Publisher: Packt Publishing Ltd

ISBN: 1785886215

Category: Computers

Page: 320

View: 9406

75-80 recipes for learning Rust programming About This Book Learn to build high-performance Rust units and integrate them into your existing application Work through recipes on performance, robustness, security, memory management, and scalability Work through recipes to build foreign function interface with C, JS, and Python Who This Book Is For If you want to write Rust programs, then this book is for you. This book is for those who have a basic knowledge of Rust or any programming language. If you are a C/C developer who is migrating to Rust for various reasons, this book is ideal for you. What You Will Learn Understand system programming language problems and see how Rust provides unique solutions Get to know the core concepts of Rust to develop fast and safe applications Explore the possibility of integrating Rust units into existing applications to make them more efficient Achieve better parallelism, security, and performance Explore ways to package your Rust application and ship it for deployment in a production environment Discover how to build web applications and services using Rust to provide high-performance to the end user In Detail If you are building concurrent applications, server-side programs, or high-performance applications, you will benefit from this language. This book comes with a lot of application-specific recipes to kick-start your development of real-world high-performance applications with the Rust programming language and integrating Rust units into your existing applications. In this book, you will find some 80 practical recipes written in Rust that will allow you to use the code samples right away in your existing applications. These recipes have been tested with stable rust compiler versions of 1.14.0 and above. This book will help you understand the core concepts of the Rust language, enabling you to develop efficient and high-performance applications by incorporating features such as zero cost abstraction and better memory management. We'll delve into advanced-level concepts such as error handling, macros, crates, and parallelism in Rust. Toward the end of the book, you will learn how to create HTTP servers and web services, building a strong foundational knowledge in server-side programming and enabling you to deliver solutions to build high-performance and safer production-level web applications and services using Rust. Style and approach This book helps you learn the core concepts of Rust faster by taking a recipe-based approach, where you can try out different code snippets to understand a concept.

Rust Programming By Example

Enter the world of Rust by building engaging, concurrent, reactive, and robust applications

Author: Antoni Boucher,Guillaume Gomez

Publisher: Packt Publishing Ltd

ISBN: 1788470303

Category: Computers

Page: 454

View: 2475

Discover the world of Rust programming through real-world examples Key Features Implement various features of Rust to build blazingly fast applications Learn to build GUI applications using Gtk-rs Explore the multi-threading aspect of Rust to tackle problems in concurrency and in distributed environments Book Description Rust is an open source, safe, concurrent, practical language created by Mozilla. It runs blazingly fast, prevents segfaults, and guarantees safety. This book gets you started with essential software development by guiding you through the different aspects of Rust programming. With this approach, you can bridge the gap between learning and implementing immediately. Beginning with an introduction to Rust, you’ll learn the basic aspects such as its syntax, data types, functions, generics, control flows, and more. After this, you’ll jump straight into building your first project, a Tetris game. Next you’ll build a graphical music player and work with fast, reliable networking software using Tokio, the scalable and productive asynchronous IO Rust library. Over the course of this book, you’ll explore various features of Rust Programming including its SDL features, event loop, File I/O, and the famous GTK+ widget toolkit. Through these projects, you’ll see how well Rust performs in terms of concurrency—including parallelism, reliability, improved performance, generics, macros, and thread safety. We’ll also cover some asynchronous and reactive programming aspects of Rust. By the end of the book, you’ll be comfortable building various real-world applications in Rust. What you will learn Compile and run the Rust projects using the Cargo-Rust Package manager Use Rust-SDL features such as the event loop, windows, infinite loops, pattern matching, and more Create a graphical interface using Gtk-rs and Rust-SDL Incorporate concurrency mechanism and multi-threading along with thread safety and locks Implement the FTP protocol using an Asynchronous I/O stack with the Tokio library Who this book is for This book is for software developers interested in system level and application programming who are looking for a quick entry into using Rust and understanding the core features of the Rust Programming. It’s assumed that you have a basic understanding of Java, C#, Ruby, Python, or JavaScript.

Hands-On Concurrency with Rust

Confidently build memory-safe, parallel, and efficient software in Rust

Author: Brian L. Troutwine

Publisher: Packt Publishing Ltd

ISBN: 1788478355

Category: Computers

Page: 462

View: 6098

Get to grips with modern software demands by learning the effective uses of Rust's powerful memory safety. Key Features Learn and improve the sequential performance characteristics of your software Understand the use of operating system processes in a high-scale concurrent system Learn of the various coordination methods available in the Standard library Book Description Most programming languages can really complicate things, especially with regard to unsafe memory access. The burden on you, the programmer, lies across two domains: understanding the modern machine and your language's pain-points. This book will teach you to how to manage program performance on modern machines and build fast, memory-safe, and concurrent software in Rust. It starts with the fundamentals of Rust and discusses machine architecture concepts. You will be taken through ways to measure and improve the performance of Rust code systematically and how to write collections with confidence. You will learn about the Sync and Send traits applied to threads, and coordinate thread execution with locks, atomic primitives, data-parallelism, and more. The book will show you how to efficiently embed Rust in C++ code and explore the functionalities of various crates for multithreaded applications. It explores implementations in depth. You will know how a mutex works and build several yourself. You will master radically different approaches that exist in the ecosystem for structuring and managing high-scale systems. By the end of the book, you will feel comfortable with designing safe, consistent, parallel, and high-performance applications in Rust. What you will learn Probe your programs for performance and accuracy issues Create your own threading and multi-processing environment in Rust Use coarse locks from Rust’s Standard library Solve common synchronization problems or avoid synchronization using atomic programming Build lock-free/wait-free structures in Rust and understand their implementations in the crates ecosystem Leverage Rust’s memory model and type system to build safety properties into your parallel programs Understand the new features of the Rust programming language to ease the writing of parallel programs Who this book is for This book is aimed at software engineers with a basic understanding of Rust who want to exploit the parallel and concurrent nature of modern computing environments, safely.

Sieben Wochen, sieben Sprachen (Prags)

Author: Bruce A. Tate

Publisher: O'Reilly Germany

ISBN: 3897213230

Category: Computers

Page: 360

View: 9654

Mit diesen sieben Sprachen erkunden Sie die wichtigsten Programmiermodelle unserer Zeit. Lernen Sie die dynamische Typisierung kennen, die Ruby, Python und Perl so flexibel und verlockend macht. Lernen Sie das Prototyp-System verstehen, das das Herzstück von JavaScript bildet. Erfahren Sie, wie das Pattern Matching in Prolog die Entwicklung von Scala und Erlang beeinflusst hat. Entdecken Sie, wie sich die rein funktionale Programmierung in Haskell von der Lisp-Sprachfamilie, inklusive Clojure, unterscheidet. Erkunden Sie die parallelen Techniken, die das Rückgrat der nächsten Generation von Internet-Anwendungen bilden werden. Finden Sie heraus, wie man Erlangs "Lass es abstürzen"-Philosophie zum Aufbau fehlertoleranter Systeme nutzt. Lernen Sie das Aktor-Modell kennen, das das parallele Design bei Io und Scala bestimmt. Entdecken Sie, wie Clojure die Versionierung nutzt, um einige der schwierigsten Probleme der Nebenläufigkeit zu lösen. Hier finden Sie alles in einem Buch. Nutzen Sie die Konzepte einer Sprache, um kreative Lösungen in einer anderen Programmiersprache zu finden – oder entdecken Sie einfach eine Sprache, die Sie bisher nicht kannten. Man kann nie wissen – vielleicht wird sie sogar eines ihrer neuen Lieblingswerkzeuge.

Die C++-Programmiersprache

Author: Bjarne Stroustrup

Publisher: Pearson Deutschland GmbH

ISBN: 9783827316608

Category: C+

Page: 1068

View: 4366

Hands-On Functional Programming in Rust

Build modular and reactive applications with functional programming techniques in Rust 2018

Author: Andrew Johnson

Publisher: Packt Publishing Ltd

ISBN: 1788831586

Category: Computers

Page: 249

View: 7180

Explore the support Rust offers for creating functional applications in Rust. Learn about various design patterns, implementing concurrency, metaprogramming, and so on in the process Key Features Learn generics, organization, and design patterns in functional programming Modularize your applications and make them highly reusable and testable using functional design patterns Get familiar with complex concepts such as metaprogramming, concurrency, and immutability Book Description Functional programming allows developers to divide programs into smaller, reusable components that ease the creation, testing, and maintenance of software as a whole. Combined with the power of Rust, you can develop robust and scalable applications that fulfill modern day software requirements. This book will help you discover all the Rust features that can be used to build software in a functional way. We begin with a brief comparison of the functional and object-oriented approach to different problems and patterns. We then quickly look at the patterns of control flow, data the abstractions of these unique to functional programming. The next part covers how to create functional apps in Rust; mutability and ownership, which are exclusive to Rust, are also discussed. Pure functions are examined next and you'll master closures, their various types, and currying. We also look at implementing concurrency through functional design principles and metaprogramming using macros. Finally, we look at best practices for debugging and optimization. By the end of the book, you will be familiar with the functional approach of programming and will be able to use these techniques on a daily basis. What you will learn How Rust supports the use of basic functional programming principles Use functional programming to handle concurrency with elegance Read and interpret complex type signatures for types and functions Implement powerful abstractions using meta programming in Rust Create quality code formulaically using Rust's functional design patterns Master Rust's complex ownership mechanisms particularly for mutability Who this book is for This book is for Rust developers who are comfortable with the language and now want to improve their coding abilities by learning advanced functional techniques to enhance their skillset and create robust and testable apps.

Programmieren mit Ruby

Author: David Thomas,Andrew Hunt

Publisher: Pearson Deutschland GmbH

ISBN: 9783827319654


Page: 681

View: 1290

Programmieren in Modula-2

Author: Niklaus Wirth

Publisher: Springer-Verlag

ISBN: 3662001160

Category: Computers

Page: N.A

View: 6036

Niklaus Wirth, der berühmte Entwickler von Pascal und Modula-2, vermittelt die Prinzipien und Methoden modernen Programmierens.

Programming Language Explorations

Author: Ray Toal,Rachel Rivera,Alexander Schneider,Eileen Choe

Publisher: CRC Press

ISBN: 1315314312

Category: Computers

Page: 344

View: 8983

Programming Language Explorations is a tour of several modern programming languages in use today. The book teaches fundamental language concepts using a language-by-language approach. As each language is presented, the authors introduce new concepts as they appear, and revisit familiar ones, comparing their implementation with those from languages seen in prior chapters. The goal is to present and explain common theoretical concepts of language design and usage, illustrated in the context of practical language overviews. Twelve languages have been carefully chosen to illustrate a wide range of programming styles and paradigms. The book introduces each language with a common trio of example programs, and continues with a brief tour of its basic elements, type system, functional forms, scoping rules, concurrency patterns, and sometimes, metaprogramming facilities. Each language chapter ends with a summary, pointers to open source projects, references to materials for further study, and a collection of exercises, designed as further explorations. Following the twelve featured language chapters, the authors provide a brief tour of over two dozen additional languages, and a summary chapter bringing together many of the questions explored throughout the text. Targeted to both professionals and advanced college undergraduates looking to expand the range of languages and programming patterns they can apply in their work and studies, the book pays attention to modern programming practice, covers cutting-edge languages and patterns, and provides many runnable examples, all of which can be found in an online GitHub repository. The exploration style places this book between a tutorial and a reference, with a focus on the concepts and practices underlying programming language design and usage. Instructors looking for material to supplement a programming languages or software engineering course may find the approach unconventional, but hopefully, a lot more fun.

Entwurfsmuster von Kopf bis Fuß

Author: Eric Freeman,Elisabeth Robson,Kathy Sierra,Bert Bates

Publisher: O'Reilly Media

ISBN: 3955619877

Category: Computers

Page: 696

View: 7511

Jetzt aktuell zu Java 8: Dieses Buch ist ein moderner Klassiker zum Thema Entwurfsmuster. Mit dem einzigartigen Von Kopf bis Fuß-Lernkonzept gelingt es den Autoren, die anspruchsvolle Materie witzig, leicht verständlich und dennoch gründlich darzustellen. Jede Seite ist ein Kunstwerk für sich, mit vielen visuellen Überraschungen, originellen Comic-Zeichnungen, humorvollen Dialogen und geistreichen Selbstlernkontrollen. Spätestens, wenn es mal wieder heißt "Spitzen Sie Ihren Bleistift", wird dem Leser klar, dass bei diesem Buch sein Mitmachen gefragt ist. Das ist nicht nur unterhaltsam, sondern auch effektiv: Komplexe Sachverhalte lassen sich nach Erkenntnis der modernen Lernwissenschaft am gründlichsten über mehrere verschiedene Kanäle verstehen. Das Buch verspricht dem Leser daher nicht nur Spaß beim Lernen, er wird nach der Lektüre auch die Herausforderungen des Software-Designs meistern können.

Vom Mythos des Mann-Monats

Author: Frederick P. Brooks

Publisher: mitp Verlags GmbH & Co. KG

ISBN: 9783826613555


Page: 343

View: 4959