Julia promises speed but only delivers it when code is type-stable and economical with memory. Coding agents often carry over patterns from Python and so produce global variables, abstractly typed containers or needless copies. In this training on Julia simulations with coding agents you learn to steer the agent with conventions, @code_warntype and BenchmarkTools. Over two days you build a simulation with DifferentialEquations.jl, make it faster and secure it with tests and reproducible package environments.
Who the Julia training is for
Advanced computing teams, researchers and engineers who write simulations in Julia or are moving to it and want to use coding agents productively along the way.
What you'll walk away with
- Create an instruction file with Julia conventions for type stability, multiple dispatch and package structure
- Track down type instabilities with @code_warntype and have the agent fix them in a targeted way
- Set up simulations with DifferentialEquations.jl and choose solvers and tolerances for stated reasons
- Measure optimisations with BenchmarkTools instead of assuming speed-ups
- Make projects reproducible with Project.toml, Manifest and tests
Typical scenarios
- A climate modelling group ports a box model from Python to Julia and has the agent bring over each function with a benchmark and a comparison test against the old version.
- A process engineering team simulates stiff reaction kinetics and uses the agent to test several solvers for run time and accuracy.
- A theoretical physics group cuts allocations in a Monte Carlo simulation after the agent has turned global variables and abstract types into function arguments.
Does this fit your team?
Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.
What the Julia training covers
- Day 1: Julia conventions for agentsWhat agents typically get wrong in Julia and how an instruction file prevents it.
- Day 1: Type stability and memory@code_warntype, allocations, views and in-place functions on an example simulation.
- Day 1: Benchmarks as feedbackBenchmarkTools, the profiler and the rule that every optimisation is measured and tested.
- Day 2: Differential equationsFormulating problems in DifferentialEquations.jl, comparing stiff and non-stiff solvers, using callbacks.
- Day 2: Tests and environmentsThe Test standard library, reference solutions, Project.toml and Manifest for reproducible results.
- Day 2: Your own simulationYou apply the workflow to a model from your own work and plan the next steps.
Before the Julia training: prerequisites
- Experience with Julia, or strong skills in another language for scientific computing
- An installed Julia environment and access to a coding agent
- Optionally, a simulation of your own that should become faster or more robust
Materials you keep
- An instruction file with Julia conventions for coding agents
- An example simulation with benchmarks, tests and a package environment
- A checklist for type stability and memory behaviour