Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Julia

You're reading from   Mastering Julia Enhance your analytical and programming skills for data modeling and processing with Julia

Arrow left icon
Product type Paperback
Published in Jan 2024
Publisher Packt
ISBN-13 9781805129790
Length 506 pages
Edition 2nd Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Malcolm Sherrington Malcolm Sherrington
Author Profile Icon Malcolm Sherrington
Malcolm Sherrington
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Chapter 1: The Julia Environment 2. Chapter 2: Developing in Julia FREE CHAPTER 3. Chapter 3: The Julia Type System 4. Chapter 4: The Three Ms 5. Chapter 5: Interoperability 6. Chapter 6: Working with Data 7. Chapter 7: Scientific Programming 8. Chapter 8: Visualization 9. Chapter 9: Database Access 10. Chapter 10: Networks and Multitasking 11. Chapter 11: Julia’s Back Pages 12. Index 13. Other Books You May Enjoy

Preface

The previous incarnation of this book was written when Julia was at v0.2, which scurried up to v0.4 by the time it went to press. Now I have been persuaded that a second version is overdue, and similarly, it was at v1.8.2 when I began and is now v1.9.4 but with a v1.10.x out as a release candidate and even v1.11 in development.

Why so long between editions? Julia in the past has not been reluctant to modify the language and seemingly continues to do so at the present time. There are many pitfalls in ignoring backward compatibility when developing a computing language. An example that probably many readers will be aware of is when Python tried to slither up from version 2 to version 3, a sizeable minority of the users had to be dragged screaming to make that leap and it was only when support for version 2 was effectively withdrawn that this happened.

More alarming was when Perl, which once held the position that Python holds now (circa. 2023) moving from v5 to v6 proved so impossible that Perl 6 was renamed (a couple of times) as a new language, one which is rarely used, as is also Perl 5.

So given the gap between the two versions of the book, it is to be hoped that Julia, now well past v1.0, which was announced at JuliaCon 2018 when it was hosted here in London, might at least have now settled down and done without the dreaded depreciation warnings which eventually turn into errors. Moreover, since many Julia packages are written in 100% native Julia code, the effects of changes made in Julia are widespread and packages need to be promptly maintained or the packages should be retired.

Turning to the content of the book, its philosophy remains the same as earlier. So, it will not start by discussing how to print “Hello World” nor how to compute the result of 1 + 1, although there is a version of the former, a metaphorical wolf in sheep’s clothing, so it can be found!

Again, I’m not discussing the usual programming constructs for looping and branching, but rather highlighting some Julia constructs that may not be familiar to all, such as list comprehensions, broadcasting, etc., and of course, dealing with topics such as the Julia type system. The examples are not overly sophisticated but hopefully detailed enough that they will be interesting and importantly runnable for some time in the future.

The chapter count now has risen from 10 to 11, this is due the some of the material in the Dispatch and types chapter being split out into separate chapters, the second one being enigmatically entitled: 3M’s, viz., referring to multiple dispatch, macros and modules, all of which will have been met already in some to the earlier material in the book. This means that now the first five chapters are mainly aimed at Julia’s programming and the next five at themed topics, all promoted by an extra number, are akin to those previously and with the material in these being brought up to date. The final chapter is somewhat different, another with an enigmatic name?!

lock icon The rest of the chapter is locked
Next Section arrow right
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £16.99/month. Cancel anytime