Follow

@shuttersparks I’ve been immersed in R for a decade but I think I need to start learning Julia…

@susannah It's certainly worth looking at. I've been programming, studying languages, writing compilers, since 1968.

I love machine language and C. Those are my most native modes. I dislike C++ and various things in so-called object oriented programming. Perl is cool. Python is cool. But the best I've seen yet is Julia. Julia is real power. It taps OOP ideas where they are appropriate and useful, but no more than that. It has a soft and forgiving syntax because of its math-oriented approach. In other words, more than any other language, instead of forcing you into a strict syntax, Julia will figure out what you meant. If you want to write an equation using Greek letters, fine. It will figure it out.

It's also an easy language to install and run. If it's not on your machine, just download it and run it. It has an interactive mode just like Python or BASIC.

But some of the greatest power of Julia is hidden. One of Julia's superpowers is utilization of parallel processing. You don't have to worry about coding to optimize usage of the 4, or 8, or 24, or more cores you have. This is built in to Julia. This is why Julia has been mandated, worldwide, for all future coding of weather models.

For example, in the early days of Covid, biologists wanted to determine the complete list of proteins that the Covid genome could code for. Hah. Ridiculous, right?

Not really. The problem was coded in Julia and tested on conventional machines with 4 or 8 cores. Then the Julia code (just a text file) was sent to Oak Ridge Labs, who had volunteered the Summit Supercomputer for this task. Within a minute the code was running at exaflop speed, across thousands of cores. Within a week, the job was done. This is what Julia was designed for.

I think it's totally cool that number crunching code I write to run an app on a 4 core Raspberry Pi could be emailed to Oak Ridge and self-scale to utilize the full power of Summit without any planning or special design on my part.

This is why Julia is the future of supercomputing problems like weather and econometric modeling. Yet the same system can be used as a desk calculator, on your home machine.

Anyway, it's fun and costs you nothing to try out. Install it and type "julia". Off you go.

The creepy thing about Julia when I first began was that I didn't consult any manuals. I just started typing stuff in interactive mode. It all worked. That was creepy, but now I'm used to it.
Sign in to participate in the conversation
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!