Skip to content
0:00 / 0:00

#julia#robotics#garbage-collection

JuliaRobotics: Making robots walk with Julia | Robin Deits

The Julia Programming Language

91K subscribers • 17 videos on Hallway

YouTube
  • Recommended by 1 person: 1 on Hacker News.
  • Presented by Robin Deits

Intermediate. Assumes working knowledge.

8.6K views8 years ago1 recommendation

Programming languagesSystems programmingPerformance and optimizationEmbedded systems

Robin Deits presents how the JuliaRobotics organization uses Julia to visualize, simulate, and control humanoid robots in real time.

Do you want to build Baymax, Data, or Robby the Robot? Do you want a future with more robots for rescue, delivery, and exploration (and fewer C++ linker errors)? I’ll introduce the JuliaRobotics org and show off our work on visualizing, simulating, and controlling a humanoid robot in Julia.

Why it's here

1 person recommends this, 1 disputes it

What people say. Recommended for its insights into managing garbage collection and memory allocations for real-time control systems in Julia.

eigenspaceon Hacker News • Recommends

On “JuliaLang: The Ingredients for a Composable Programming Language”

What does this have to do with garbage collection? If your concern is about latency in real time systems, Garbage collection isn't the problem, heap allocating memory is. Julia makes it easy to never allocate anything on the heap (unlike most garbage collected langauges). Check out this talk this discusses this in detail in the context of robotics: link to this video

eigenspaceon Hacker News • Recommends

On “From Julia to Rust”

…neficial to do so, and those optimizations can change between minor versions. Hence, there's a lot of testing you'd need to do to make sure your code really is doing exactly what you want and you won't hit the GC or dynamic dispatch, and you'll need to redo that testing every time you update julia or any packages, which is obviously not ideal. 1 link to this video…

fault1on Hacker News • Disputes

On “Show HN: Prometeo – a Python-to-C transpiler for high-performance computing”

the problem with Julia in the use case of OP is really the fact that it is garbage collected (and perhaps also how its GC is tuned). You can work to eliminate allocations, but the memory determinism problem is more important in real time control and embedded systems. see for example, this video: link to this video It's kind of why C is still king in this space.

ChrisRackauckason Hacker News • Mentions

On “Julia 1.0”

Interesting to hear. This just isn't a thing I think is ever encountered in this kind of stuff. The author's previous struggle was to get to real-time. Getting below it wasn't something they really considered. Here's a talk they gave: link to this video

ChrisRackauckason Hacker News • Mentions

On “Julia 1.0”

It's probably us that are using types in a weird way so it's my lack of explanation that's the issue. Types in Julia undergo multiple dispatch, so by passing a type into a generic function you can make the same generic algorithm run in different ways. So I use types to parallelize my code, calculate derivatives, propagate parameter uncertainties, and things like that. This talk from JuliaCon discusses a lot of the things for free that were developed by taking a type from one package and putting it into another: link to this video