# Creating multidimensional arrays

**URL:** <https://discourse.julialang.org/t/creating-multidimensional-arrays/85630>\
**Category:** New to Julia\
**Tags:** arrays\
**Created:** [August 11, 2022, 5:05pm UTC](https://discourse.julialang.org/t/creating-multidimensional-arrays/85630 "2022-08-11T17:05:34Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![Sukera](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@Sukera](https://discourse.julialang.org/u/Sukera)\
**Post date:** [August 12, 2022, 4:13pm UTC](https://discourse.julialang.org/t/creating-multidimensional-arrays/85630/16 "2022-08-12T16:13:22Z")

</div>

You may be interested in this previous thread, where some of us have implemented the “Raytracing in a Weekend” book in julia.

> [@Ray Tracing in a week-end - Julia vs SIMD-optimized C++](https://discourse.julialang.org/t/ray-tracing-in-a-week-end-julia-vs-simd-optimized-c/72958):
>
> Hi folks, As an exercise to learn how to optimize Julia code for performance, I adapted from C++ to Julia a popular raytracing “book” (Ray Tracing In One Weekend by Peter Shirley) into a Pluto.jl notebook. Hopefully this will attract some other newcomers to Julia. (I plan to use this to advertise Julia’s benefits at AMD, where I work.) [https://github.com/claforte/RayTracingWeekend.jl](https://github.com/claforte/RayTracingWeekend.jl) My initial implementation ran very slowly, but by eliminating some of my earlier newbie mistakes, then using S…

I want to advise you though that naively porting numpy code 1:1 is probably going to leave performance on the table.

---

_[View the full topic](https://discourse.julialang.org/t/creating-multidimensional-arrays/85630)._
