Автор: Erik Engheim
Издательство: Manning Publications
Год: 2023
Страниц: 456
Язык: английский
Формат: pdf, epub
Размер: 15.7 MB
Learn Julia programming by building fun projects, like launching rockets, building password keepers, and even coding battle simulations.
Don’t be put off by Julia’s reputation as a scientific programming language. There’s no data science or numerical computing knowledge required. You can get started with what you learned in high school math classes.
Julia as a Second Language makes it easy to add Julia to your programming toolbox. You’ll learn about Julia’s type system and data structures by modeling the launch of a space rocket, use dictionaries to parse Roman numerals, discover tuples and arrays through tracking pizza sales, and use Julia’s unique multiple dispatch feature to send knights and archers into a simulated battle. By the time you’re finished, you’ll be confident in the foundations of Julia and ready to dive into a specialized field like Machine Learning or Data Science.
With Julia, programmers no longer have to make tradeoffs. They can have high performance, ease of use and high productivity all in one language. In the last few years, it has become apparent that Julia also excels at software engineering. One of the most dramatic examples is probably the Julia implementation of Apache Arrow which managed to achieve more functionality in 5,000 lines of Julia code than 300,000 lines of C++ code. This is a testament to Julia's excellent ability to reuse and combine existing code.
Add advanced meta-programming facilities and you got a language I believe is the future of programming. I’m writing this book to appeal to every programmer, even the inexperienced ones. My goal has been to write a fun book, not by cracking jokes but by doing fun code examples such as simulating space rockets, simulating battle between medieval warriors, analyzing pizza sales, or creating a password keeper using the encryption algorithm Caesar used to send secret messages to his generals.
These code examples have been carefully designed to teach important concepts in Julia such as data modeling, type hierarchies, multiple dispatch, and functional programming. I know we live in a world where object-oriented programming dominates. The book is written with the assumption that many readers will have an object-oriented programming background. Thus I take care to show readers how they can reuse their existing object-oriented programming skills and how they adapt to the more functional programming nature of Julia.
Скачать Julia as a Second Language (MEAP V10)