profile
viewpoint
Coraline Sherratt csherratt Cash App Waterloo, Ont Interested in Rust, and Native development.

cashapp/contour 869

Layouts with lambdas 😎

rustgd/collision-rs 98

A collision extension to cgmath

kvark/obj 15

Basic Wavefront OBJ loader

csherratt/BillBe 6

BillBe is an (incomplete) Hobbit BeBox emulator.

csherratt/snowmew 2

[LEGACY] Really old pre-rust 1.0 game engine

csherratt/a-very-brief-intro-to-rust 0

RustBridge's intro course

csherratt/amethyst 0

Data-oriented game engine written in Rust

startedRua/ferret

started time in 17 days

startedRuddle/oxidator

started time in 18 days

startedAshantiMutinta/stops_to_a_crawl

started time in 2 months

startedbrandonpollack23/sarekt

started time in 2 months

starteditsybitesyspider/retriever

started time in 2 months

startedmun-lang/mun

started time in 2 months

startedazriel91/autexousious

started time in 2 months

startedstevebob/slime99

started time in 2 months

startedboringcactus/dynamaze

started time in 2 months

startedRalith/hecs

started time in 2 months

startedhecrj/iced

started time in 2 months

push eventcsherratt/blog

Cora Sherratt

commit sha 7562ce0118ec74023ed4d2ff596969e6fb46b7f4

soften the conclusion

view details

push time in 2 months

push eventcsherratt/blog

Cora Sherratt

commit sha 48b4f101c662787060a7d780f439cf3d74db7cbc

s/positon/position/g

view details

push time in 2 months

startedleudz/shipyard

started time in 2 months

issue openedTomGillen/legion

Parallel iterators only seem to work over multiple archetypes.

I was investigating the parallel performance of Legion and noticed that I wasn't seeing any thread other then the main thread actually working.

Code I was using

#[derive(Copy, Clone, Debug, Default)]
pub struct Coordinate(f32, f32);

#[derive(Copy, Clone, Debug, Default)]
pub struct XY(u32, u32);

#[derive(Copy, Clone, Debug, Default)]
pub struct Rounds(u32);

let mut world = World::new();
world.insert(
    (),
    (0..width)
        .flat_map(|x| (0..height).map(move |y| (x, y)))
        .map(|(x, y)| {
            let (xf, yf) = (
                x as f32 / width as f32 * 3.5 - 2.5,
                y as f32 / height as f32 * 2. - 1.
            );
            (XY(x, y), Coordinate(xf, yf), Rounds(0))
        })
);

let query = <(Read<Coordinate>, Write<Rounds>)>::query();
query.par_for_each(&mut world, |(coord, mut rounds)| {
    let Coordinate(x0, y0) = *coord;
    let (mut x, mut y) = (0., 0.);
    let mut i = 0;
    while i < 100 && x*x + y*y <= 4. {
        let x_temp = x*x - y*y + x0;
        y = 2.*x*y + y0;
        x = x_temp;
        i += 1;
    }
    *rounds = Rounds(i);
});

I did some investigation and it looks like a bug in ChunkViewParIter, more or less the iterator self primes itself, but the split is called before this happens. As a side effect the 1st split is only on the archetypes and if there is only one it will fail to split and Rayon will not try and split the iterator any more.

created time in 2 months

push eventcsherratt/ecs-demo

Cora Sherratt

commit sha f09d49e319dd0a899a018bd8437221ad0f906a9b

Added creation tabulate

view details

push time in 2 months

push eventcsherratt/blog

Cora Sherratt

commit sha e03334f4ebc4245e8afcc668c50582ab818db3ff

Updated styles

view details

push time in 2 months

create barnchcsherratt/blog

branch : gh-pages

created branch time in 2 months

create barnchcsherratt/blog

branch : master

created branch time in 2 months

created repositorycsherratt/blog

created time in 2 months

push eventcsherratt/ecs-demo

Cora Sherratt

commit sha e812cd738dfccb9ea16283d757fd44aee2445c6d

wrap benchmarks better

view details

push time in 2 months

push eventcsherratt/ecs-demo

Cora Sherratt

commit sha b35a96587d191a660cb296af75be850c0ce0bf66

added huge

view details

push time in 2 months

push eventcsherratt/ecs-demo

Cora Sherratt

commit sha 419704f69281b389a718c1dd1d32b4c1203dd3d2

added sharding

view details

push time in 2 months

push eventcsherratt/ecs-demo

Cora Sherratt

commit sha 691217d00ea8024c9120dc7d7d0b5ec6c0a35f12

Added legion sharded

view details

push time in 2 months

push eventcsherratt/ecs-demo

Cora Sherratt

commit sha 56dd211e7f8673f167e14abfa266acaf59c42253

update mandelbrot

view details

push time in 2 months

push eventcsherratt/ecs-demo

Cora Sherratt

commit sha ad273f144ed269c6ee1ebc331d38c0f59a4abb49

Added parallel benchmarks

view details

push time in 2 months

push eventcsherratt/ecs-demo

Cora Sherratt

commit sha 4b34eb9ab5ed9b5a984787968ff29c44be1c5419

Added Huge benchmarks

view details

push time in 2 months

push eventcsherratt/ecs-demo

Cora Sherratt

commit sha c77eae6f9ca40b23c3b869aaf2afc997850722ce

Added iteration_by_stride

view details

push time in 2 months

push eventcsherratt/ecs-demo

Cora Sherratt

commit sha 6e2b61d13c603a70492955359a1cc8eb85e12cd3

Expanded tabulate

view details

push time in 2 months

push eventcsherratt/ecs-demo

Cora Sherratt

commit sha c76b5548bdda08d56e0e1b212d91d7277e3f5f06

Added tabulate.py

view details

push time in 2 months

push eventcsherratt/ecs-demo

cora sherratt

commit sha 92b32385149ee900e1ee1c80c660019ffdea16f7

Expended archetypes tests.

view details

push time in 2 months

push eventcsherratt/ecs-demo

Cora Sherratt

commit sha 7f78e4f2f53e02519e4352f4f58322b65025c9cf

fix perfomrance regression in legion benches

view details

push time in 2 months

push eventcsherratt/ecs-demo

cora sherratt

commit sha b0583382f9b97ff9aeba428a99483975a18d5370

Add many more tests and custom test runners.

view details

cora sherratt

commit sha d5a8b5b64259c1a6e75fe4a626fa763fb4fa9c24

Move all the tests to using groups.

view details

push time in 2 months

push eventcsherratt/ecs-demo

Cora Sherratt

commit sha a36ac6e542e3b0d6a65a7df2cc614a6b234abdec

added some more benchmarks

view details

push time in 2 months

startedTomGillen/legion

started time in 2 months

push eventcsherratt/ecs-demo

cora sherratt

commit sha dfdffdf6f9b0642d566cec807f78094f37a1e96e

improve legion verison

view details

push time in 2 months

create barnchcsherratt/ecs-demo

branch : master

created branch time in 3 months

created repositorycsherratt/ecs-demo

created time in 3 months

push eventcsherratt/threadpool-bench

Cora Sherratt

commit sha f6970ea5ef6b687ca726071755fa31782c85ba9a

Added more tests

view details

push time in 3 months

create barnchcsherratt/threadpool-bench

branch : master

created branch time in 3 months

created repositorycsherratt/threadpool-bench

created time in 3 months

starteddarlinghq/darling

started time in 3 months

startedrayon-rs/rayon

started time in 3 months

push eventcsherratt/core-latency

Cora Sherratt

commit sha 5cbd8c2d0492fb4f202aad7fe40351c56ffd2ca2

Add readme

view details

push time in 3 months

create barnchcsherratt/core-latency

branch : master

created branch time in 3 months

created repositorycsherratt/core-latency

created time in 3 months

more