Nim is a multi-paradigm language that offers powerful customization options with the ability to compile to everything from C to JavaScript. In Nim in Action you'll learn how Nim compares to other languages in style and performance, master its structure and syntax, and discover unique features.
About the Technology
Nim is a multi-paradigm programming language that offers powerful customization options with the ability to compile to everything from C to JavaScript. It can be used in any project and illustrates that you don't have to sacrifice performance for expressiveness!
About the Book
Nim in Action is your guide to application development in Nim. You'll learn how Nim compares to other languages in style and performance, master its structure and syntax, and discover unique features. By carefully walking through a Twitter clone and other real-world examples, you'll see just how Nim can be used every day while also learning how to tackle concurrency, package finished applications, and interface with other languages. With the best practices and rich examples in this book, you'll be able to start using Nim today.
What's Inside
• Language features and implementation
• Nimble package manager
• Asynchronous I/O
• Interfacing with C and JavaScript
• Metaprogramming
Author(s): Dominik Picheta;
Publisher: Simon & Schuster
Year: 2023
Language: English
Pages: 320
Copyright
Brief Table of Contents
Table of Contents
Preface
Acknowledgments
About this Book
About the Author
About the Cover Illustration
Part 1. The basics of Nim
Chapter 1. Why Nim?
Chapter 2. Getting started
Part 2. Nim in practice
Chapter 3. Writing a chat application
Chapter 4. A tour through the standard library
Chapter 5. Package management
Chapter 6. Parallelism
Chapter 7. Building a Twitter clone
Part 3. Advanced concepts
Chapter 8. Interfacing with other languages
Chapter 9. Metaprogramming
Appendix A. Getting help
Appendix B. Installing Nim
Nim Reference
Index
List of Figures
List of Tables
List of Listings