v likeblog.iread.fun·Mar 23, 2024Julia Notes Day5 -- REPL help/pkg/search mode and DepotInstall Julia All official Julia binaries produce portable installations. Once installed, the directory in which Julia was installed can be moved to a different location on the same computer, or even to a different computer. wget https://julialang-s3...DiscussJulia NotesJulia
v likeblog.iread.fun·Mar 19, 2024Julia Notes Day4 -- Module,Package and EnvironmentModule Modules in Julia help organize code into coherent units. They are delimited syntactically inside module NameOfModule ... end.Typically, in larger Julia packages you will see module code organized into files, eg module SomeModule # export, usi...DiscussJulia NotesJulia
Steven WhitakerforGreat Lakes Consulting's Blogblog.glcs.io·Mar 18, 2024Mastering Efficient Array Operations with StaticArrays.jl in JuliaThe Julia programming language is known for being a high-level language that can still compete with C in terms of performance. As such, Julia already has performant data structures built-in, such as arrays. But what if arrays could be even faster? Th...Discuss·93 readsDiving into JuliaJulia
v likeblog.iread.fun·Mar 15, 2024Julia Notes Day3 -- Composite and Parametric TypesComposite types are called records, structs, or objects in various languages. struct Foo bar baz::Int qux::Float64 end foo = Foo("Hello, world.", 23, 1.5) # Foo("Hello, world.", 23, 1.5) foo.bar # "Hello, world." Composite objects dec...DiscussJulia NotesJulia
v likeblog.iread.fun·Mar 13, 2024Julia Notes Day2 -- string and collectionsChar and String A Char value represents a single character c = 'x' d = Int('x') # 120 e = Char(120) # 'x' f = '\u2200' # '∀': Unicode U+2200 (category Sm: Symbol, math) g = 'A' + 1 # 'B' String literals are delimited by double quotes or triple doub...DiscussJulia NotesJulia
v likeblog.iread.fun·Mar 13, 2024Julia Notes Day1 -- functions and operatorsFunctions ∑(n) = sum(1:n) ∑(3) # Output: 6 ∑(100) # Output: 5050 Unicode variable and function names ∑ are allowed. Julia functions can be defined using compact "assignment form" syntax. The value returned by a function is the value of the last ex...DiscussJulia NotesJulia
Steven WhitakerforGreat Lakes Consulting's Blogblog.glcs.io·Feb 19, 2024Efficient Julia Optimization through an MRI Case StudyWelcome to our first Julia for Devs blog post! This will be a continuously running series of posts where our team will discuss how we have used Julia to solve real-life problems. So, let's get started! In this Julia for Devs post, we will discuss us...Discuss·1 like·173 readsJulia for DevsJulia
Justyn NisslyforGreat Lakes Consulting's Blogblog.glcs.io·Jan 22, 2024Delving into Advanced Types within the Julia Type SystemIn a previous post we covered the building blocks of the Julia type system and discussed just how powerful it can be. What if I were to tell you that Julia's type system has even more to offer? Well, welcome back to class, my friends! Today, we will ...Discuss·1 like·324 readsDiving into JuliaJulia
Steven WhitakerforGreat Lakes Consulting's Blogblog.glcs.io·Jan 15, 2024Julia's Parallel ProcessingJulia is a relatively new, free, and open-source programming language. It has a syntax similar to that of other popular programming languages such as MATLAB and Python, but it boasts being able to achieve C-like speeds. While serial Julia code can be...Discuss·1 like·567 readsJulia Basics for ProgrammersJulia
Sammith S Bharadwajsammith.hashnode.dev·Jan 12, 2024Calculating pi to learn JuliaI love standup maths, the man is too good, I will be very soon buying and reading his books. His yearly tradition of calculating value of pi in absurd ways every year on pi day is something I enjoy a lot. https://youtu.be/RZBhSi_PwHU?si=addmPZcBmEeWG...Discussstandupmaths