veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

260
active users

#julialang

6 posts5 participants0 posts today

#Apple is sponsoring work to add a #CUDA backend for #MLX 🙃

github.com/ml-explore/mlx/pull

Really looking forward to seeing the first fruits (🥁) of this endeavour - pushed, in particular, by github.com/zcbenz and github.com/awni

... and not least to play with it from #JuliaLang - hot-swapping between #Torch and #MLX via the #JuliaLang #FluxML NNlib abstraction layer.

This PR is an ongoing effort to add a CUDA backend to MLX, very little things work now but you can run the tutorial example already.
To build and test:
$ cmake . -Bbuild -DMLX_BUILD_CUDA=ON -DMLX_B...
GitHub[WIP] CUDA backend by zcbenz · Pull Request #1983 · ml-explore/mlxBy zcbenz

Remarkable how easy it is to inspect different levels of #codegen in #JuliaLang - from intermediate representations, through #LLVM IR, to native, e.g.:
```
julia> @code_llvm 1+2
; Function Signature: +(Int64, Int64)
; @ int.jl:87 within `+`
define i64 @"julia_+_735"(i64 signext %"x::Int64", i64 signext %"y::Int64") #0 {
top:
%0 = add i64 %"y::Int64", %"x::Int64"
ret i64 %0
}
```

But there is no `@code_source` macro (should return, e.g., `1 + 2`) 😊

(Most 👍 in repo): github.com/JuliaLang/julia/iss

Julia has a lot of useful REPL things like methods and help. However, I still end up needing to just look at the code to see what it's doing. It would be cool to be able to do: julia> methods(base)...
GitHubstore the actual source code of a method · Issue #2625 · JuliaLang/juliaBy astrieanna

5 lines of #JuliaLang is all you need to get to get the most of your hardware via #AVX512, #AppleSilicon, or other microarchitecture-specific binaries instead of plain #x86_64 / #amd64 / #x64, #aarch64 / #arm64 binaries!

… and the best part, you don’t even have to write those five lines - they’re here for you (and have been for a long time):

github.com/JuliaPackaging/Yggd

Collection of builder repositories for BinaryBuilder.jl - JuliaPackaging/Yggdrasil
GitHubYggdrasil/platforms/microarchitectures.jl at master · JuliaPackaging/YggdrasilCollection of builder repositories for BinaryBuilder.jl - JuliaPackaging/Yggdrasil

This has been an educational side-project: vectorizing scans of handwriting in #JuliaLang. From top to bottom: scan, skeletonized, path extraction, SVG fitting simplified curves with Catmull-Rom splines.

Still some refinement to make on that last step.

Are you going to JuliaCon this year? Join us at the “Chapel ❤️ Julia” birds-of-a-feather session at JuliaCon '25 in Pittsburgh, PA. July 21–26.

The Chapel and Julia programming languages have similar goals even though there are big differences in approach to meet these goals. Join this BoF session for a brief overview of the language and an informal discussion where the Julia and Chapel communities can learn from each other.

juliacon.org/2025/

JuliaCon 2025JuliaCon 2025JuliaCon 2025, Pittsburgh