No Julia plotting package has been crowned king yet. Winston and Gadfly are the main competitors. PyPlot is a Julia wrapper around Python's matplotlib; it is a stop-gap for use while the native Julia implementations mature. However, all three of these packages have non-Julia dependencies; this can cause installation ...read more
- Programmers are always learning. You learn how to use new APIs, new functions, new types. You learn why your code doesn't work. Julia has a lot of built-in tools to help you navigate, learn, and debug. You can use these in the REPL and in normal code. In this post, I split these functions and macros up based on what they help you do: understand functions, examine types, navigate the type hierarchy, or debug code. read more
When people are introspective, they're thinking about how their minds work, about how and why they think what they do. The Julia language has some impressive facilities for letting you see how the compilers' mind works. Using convenient built-in functions that are available both at the REPL1 and ...read more
Here are some examples of starting and interacting with other programs from Julia. The official documentation is pretty good, but I want something with more (basic) examples and fewer words. I do reccommend reading that to see some of the fancier tricks you can pull (and for up-to-date documentation, when ...read more
I have long been confused by the strange behavior of integers as arguments to functions. If I pass a variable into a function, I expect the function to be able to modify it. This expectation applies to variables local to the calling context and to global variables; it also applied ...read more
One of the simplest first programming exercises to try in a new language is the FizzBuzz problem. It's a simple toy problem that is less trivial than "Hello, World" because it also involves using basic control-flow structures.
This blog post assumes that you've already installed the Julia programming ...read more
This post was updated on June 28, 2013 to reflect changes in the TcpServer/TcpSocket api in Julia.
Recently, I've been writing the WebSockets implementation for Julia.
TcpSockets were not well documented when we started using them, so I figure a tutorial might be useful for anyone else ...