Browsed by
Category: Julia

The Julia programming language

Converting Julia to Javascript and WebAssembly

Converting Julia to Javascript and WebAssembly

I have a “two language problem”, but not this two language problem.  I often find myself prototyping small data analysis projects in Julia, and then rewriting them as web applications using Angular & Typescript to make them easily accessible to a broad audience.  Much of the work is similar in Julia and Typescript (such as creating plots) so it’s not that annoying to translate, but occasionally I run into analytical code that is really painful to rewrite in Typescript.  Some…

Read More Read More

Online demos for Flux.jl

Online demos for Flux.jl

I’m currently developing a set of demos for Flux, a slick new Julia machine learning framework.  It’s still under active development and won’t be ready for production use any time soon, but it’s already a very powerful tool and lets you develop models in far less time than would be required with something like PyTorch or TensorFlow. One of the nice things about Flux is that it’s easy to export trained models to the web with deeplearn.js via FluxJS.  There’s…

Read More Read More

Want to solve some differential equations?

Want to solve some differential equations?

Over the past two weeks I’ve been working with Chris Rackauckas on a nifty little project – putting the power of DifferentialEquations.jl into your browser. Chris, in addition to being the driving force behind DifferentialEquations.jl, did some amazing work getting the startup time down for the service and it now feels pretty snappy. It’s been a great learning experience, and we now have a good idea for what goes into deploying a julia-driven website on a service like Heroku. If…

Read More Read More

Why I’m still a Nullable-luddite

Why I’m still a Nullable-luddite

Much of my Julia work involves manipulating data in the form of DataFrames.  DataFrames are pretty handy — it’s easy to get data into them from file formats like csv and feather, as well as all types of databases.  I can split-apply-combine to my heart’s content with do blocks, and while only basic joins are possible using join, it’s easy to form more complex ones with just a few lines of code.  It’s reasonably fast to work with them, but…

Read More Read More

Using Julia on the web

Using Julia on the web

A fairly common problem is that you want to use Julia or another high level language to solve a problem, but also provide that solution to the world through a web site.  For Julia, you have a few different options: Use Escher.jl.  This is a full-stack web server here pages are written in Julia.  It can do a lot of interesting things and is good for simple demos.  However, it is still in an early state, doesn’t play nicely with the…

Read More Read More