r/Julia • • Mar 06 '25

Google Collab now provides native support for Julia 🎉🥳

Post image
566 Upvotes

r/Julia • • Mar 04 '26 Bravo

I ported Karpathy's microgpt to Julia in 99 lines - no dependencies, manual backprop, ~1600× faster than CPython and ~4x faster than Rust.

320 Upvotes

Karpathy dropped microgpt a few weeks ago and a 200-line pure Python GPT built on scalar autograd. Beautiful project. I wanted to see what happens when you throw the tape away entirely and derive every gradient analytically at the matrix level.

The result: ~20 BLAS calls instead of ~57,000 autograd nodes. Same math, none of the overhead. Fastest batch=1 implementation out there. The gap to EEmicroGPT is batching, f32 vs f64, and hand-tuned SIMD not the algorithm.

Repo + full benchmarks: https://github.com/ssrhaso/microjpt

Also working on a companion blog walking through all the matrix calculus and RMSNorm backward, softmax Jacobian, the dK/dQ asymmetry in attention. The main reason for this is because I want to improve my own understanding through Feynmann Learning whilst also explaining the fundamental principles which apply to almost all modern deep learning networks. Will post when its completed and please let me know if you have any questions or concerns I would love to hear your opinions!


r/Julia • • Mar 15 '22

Book: Numerical Methods for Scientific Computing

308 Upvotes

I just released the second edition of my book Numerical Methods for Scientific Computing. The digital version of the book is free at the link. The print edition is available from Amazon. The book covers the mathematical theory and practical considerations of the essential numerical methods used in scientific computing. Julia is used throughout, with Python and Matlab/Octave included in the back matter. Jupyter notebooks of the code are available on GitHub.

I’m releasing the book with an agile publishing mindset—get it out quickly and cheaply with minimal errors so that it can be of use, and then iterate and improve with feedback. The book is designed for senior undergraduate and first-year graduate students and as a self-study for anyone with a working knowledge of multivariate calculus and linear algebra. Any feedback on errors, omissions, or suggestions is appreciated.

The code is meant to help the reader better connect the dots to the math concepts—something in the spirit of Nick Trefethen’s ten-digit algorithms. Moreover, the methods discussed in the book are typically already available in optimized Julia packages. That said, I'm by no means fluent in Julia (or Python or Matlab, for that matter), and I don’t want to cultivate weird, wrong, or bad Julia practices. I would be thankful for any critical comments. Feel free to DM me. My email is also on the edition notice page of the book.


r/Julia • • Feb 20 '26

I can't be the only one who has had these conversations...

Post image
270 Upvotes

r/Julia • • Jun 27 '21

some may hate it, some may love it

Post image
252 Upvotes

r/Julia • • Sep 01 '20

Grant Sanderson (3blue1brown) and Julia!! I must be dreaming..

Thumbnail
youtu.be
243 Upvotes

r/Julia • • Dec 06 '19

A friend gave me this idea...

Post image
231 Upvotes

r/Julia • • Nov 05 '21

Built this with a friend at work, completely in Julia!

203 Upvotes

r/Julia • • May 10 '23

Julia v1.9.0 has been released

Thumbnail
julialang.org
202 Upvotes

r/Julia • • Jul 26 '21

[Blog]: What's bad about Julia?

Thumbnail viralinstruction.com
191 Upvotes

r/Julia • • May 16 '22

Why I no longer recommend Julia

Thumbnail
yuri.is
178 Upvotes

r/Julia • • Oct 06 '19

[Shitpost] I started learning Julia this week

Post image
167 Upvotes

r/Julia • • Apr 30 '22

jluna 1.0 & apologies

162 Upvotes

Yesterday I made a post that claimed that jluna, the modern C++ <-> Wrapper, had a thread pool that was 80% faster than std::thread. That benchmark had a methodological error, I have corrected it today and the new figure is ~4% speedup, which is much more conservative. At least it isn't any slower than C++, which was my goal to begin with.

The new benchmark can be found here.

I know not many people saw it to begin with, but I wanted to be honest and not lie to people, so I deleted the old post.

If you would still like to check out the 1.0 version of jluna, it is available for free under MIT license here. I also announced it on discourse.


r/Julia • • Mar 12 '21

Absolutely suck at tech stuff,but Julia makes me want to learn coding. Wish me luck.

Post image
161 Upvotes

r/Julia • • Jan 19 '22

Animation of spherical harmonics up to order and degree 20. Code in comments.

159 Upvotes

r/Julia • • Aug 18 '22

Julia 1.8 released

Thumbnail
github.com
156 Upvotes

r/Julia • • Oct 22 '25

Erdos now supports Julia as first class citizen

Post image
150 Upvotes

We took a poll the other day to decide whether to include Julia in Erdos (the open source data science IDE we've built), and between the polling results and comments we got on other subs, we decided to do it. In Erdos, there's now a Julia console, and the Julia runtime connects to the plot system, the documentation system, the variables explorer, and the package manager. Julia scripts can be executed in part or in full with Cmd/Ctrl-Enter, and jupyter notebooks with Julia also still work. You can try it out at https://www.lotas.ai/erdos - we're happy to hear any feedback!

(Hopefully it's clear we've added this to help Julia users since a lot of people have said or voted they want something like this and that we're not just self promoting.)


r/Julia • • Feb 11 '22

Makie Animations (Awesome Package!)

147 Upvotes

r/Julia • • Apr 28 '25

Julia in Android works in the new "Terminal" app

Post image
146 Upvotes

There's a new "Terminal" app that is native to some Pixel devices. I've enabled it in developer settings and just used juliaup to install the latest Julia and it worked! It just asked for some build dependencies that can be installed with apt.

I think that this feature should also roll out in the future for other non Pixel devices.


r/Julia • • Mar 25 '21

Julia 1.6 Highlights

Thumbnail
julialang.org
145 Upvotes

r/Julia • • Jun 27 '21

picture = 1000 words

Post image
138 Upvotes

r/Julia • • Mar 18 '26

NVIDIA Extends CUDA Tile Abstraction To Julia, Maintaining Python Parity

Thumbnail
quantumzeitgeist.com
137 Upvotes

r/Julia • • Sep 21 '22

How Julia ODE Solve Compile Time Was Reduced From 30 Seconds to 0.1

Thumbnail
sciml.ai
137 Upvotes

r/Julia • • Oct 27 '22

The one prominent Matlab-ism remaining in Julia

Post image
135 Upvotes