
Technical sound designer @Ubisoft Previous projects : Ghost Recon : Breakpoint, R6 Extraction, AC : Valhalla Currently working on Assassin's Creed : Mirage
- Tweets193
- Following79
- Followers90
- Likes273

ALT An illustration of Voyager as it travels through space. The Voyager spacecraft sits against a black background peppered with thousands of white dots representing distant stars. Voyager's white high-gain antenna dish, faces a glowing orb of white light as if it is traveling toward it. Other antenna and instruments surround the dish, fading into the darkness.

ALT // C++: #include <math.h> #include <iostream> #include <span> #include <vector> struct Circle { float r; }; void PrintTotalArea(std::span<Circle> circles) { float area = 0; for (const Circle& c : circles) { area += M_PI * c.r * c.r; } std::cout << "Total area: " << area << "\n"; } auto main(int argc, char** argv) -> int { std::vector<Circle> circles = {{1.0}, {2.0}}; // Implicitly constructors `span` from `vector`. PrintTotalArea(circles); return 0; }

ALT // Carbon: package Geometry api; import Math; class Circle { var r: f32; } fn PrintTotalArea(circles: Slice(Circle)) { var area: f32 = 0; for (c: Circle in circles) { area += Math.Pi * c.r * c.r; } Print("Total area: {0}", area); } fn Main() -> i32 { // A dynamically sized array, like `std::vector`. var circles: Array(Circle) = ({.r = 1.0}, {.r = 2.0}); // Implicitly constructs `Slice` from `Array`. PrintTotalArea(circles); return 0; }
















