# How can I learn SDL with Julia?

**URL:** <https://discourse.julialang.org/t/how-can-i-learn-sdl-with-julia/107798>\
**Category:** General Usage\
**Created:** [December 18, 2023, 11:05pm UTC](https://discourse.julialang.org/t/how-can-i-learn-sdl-with-julia/107798 "2023-12-18T23:05:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sabe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sabe/32/212556_2.png) [@Sabe](https://discourse.julialang.org/u/Sabe)\
**Post date:** [December 18, 2023, 11:05pm UTC](https://discourse.julialang.org/t/how-can-i-learn-sdl-with-julia/107798/1 "2023-12-18T23:05:35Z")

</div>

So, I have always wanted to use sdl but I don’t like C/C++ and I really want to use Julia but what should I look at for it? The only thing that the [package](https://github.com/JuliaMultimedia/SimpleDirectMediaLayer.jl) gives you is the sdl wiki which is full of C++ code. What do I do?

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [December 20, 2023, 9:51am UTC](https://discourse.julialang.org/t/how-can-i-learn-sdl-with-julia/107798/2 "2023-12-20T09:51:27Z")

</div>

Welcome @Sabe,

The Pkg [GitHub - JuliaMultimedia/SimpleDirectMediaLayer.jl: SDL2](https://github.com/JuliaMultimedia/SimpleDirectMediaLayer.jl) is a typical Julia package for using a C library in Julia. The usage of a C library interface is pretty straight forward in Julia, and that’s the reason why the documentation directly refers to the docs of the C library, SDL in this case.  
Best way to start is: just dive into it, using the Julia example at SimpleDirectMediaLayer.jl and ask again here, when you run against the walls. You will get fastest answers and help if your questions are as explicit as possible, best with MWE (Minimal Working Examples, in this case not-working).
