Live data from Hacker News

Viewing profile — djmcnab

djmcnab

HN member
Joined
Sun, Dec 26, 2021, 2:21 PM UTC
HN karma
47
Public activity
12 items

About djmcnab

No profile information was provided.

Recent public activity

  1. comment
    Comment #39444623

    Disclaimer: I work on Vello[0], but not on the Skia integration directly My understanding, having not dug into it too much, is that the Skia integration does exist, but isn't enabl…

  2. comment
    Comment #38891465

    WGSL (the shading language for WebGPU) has something similar[1]. For example, `a + b [1]: https://www.w3.org/TR/WGSL/#operator-precedence-associativit...

  3. comment
    Comment #33577799

    > From a Rust-on-WASM perspective, it might be useful to limit the entity id's to ~52 bits or less, since native JavaScript numbers are doubles. Since compiling to web uses WebAsse…

  4. comment
    Comment #32965760

    In unfamiliar UIs, I often find myself accidentally triggering keyboard shortcuts and getting into weird states, so 1) leading to 2). A classic example is changing into override mo…

  5. comment
    Comment #32821326

    Are you familiar with `core::other::from_fn`[1]. This allows converting from `impl FnMut() -> Option ` to `impl Iterator `. I recognise that these aren't strictly generators - you …

  6. comment
    Comment #31044226

    To copy from another comment[0] elsewhere in the thread from cart: > The story is similar for networking. Ultimately we will have a built in api, but we're focused on more fundamen…

  7. comment
    Comment #31044090

    Yes, indeed. This was mentioned in 0.6's release notes[0]. However, this is the first actual stop of the train, so we probably could have mentioned it in these release notes as wel…

  8. comment
    Comment #31044040

    A change I find interesting in this release is the addition of `Deref`/`DerefMut` derives[0]. It addresses a very real pain point in bevy, due to `#[derive(Component)]`'s interacti…

  9. comment
    Comment #31026418

    I don't think this is actually a problem, since when casting from `&mut T` to `*mut T`, the returned pointer can only access the data (the T value) directly behind the reference. T…

  10. comment
    Comment #31025293

    One potential option I haven't seen mentioned is to make references (i.e. `&[mut] T`) not use capabilities, but raw pointers (`*(mut|const)`) to use capabilities. Since the compile…

  11. comment
    Comment #29854841

    I can't speak for cart here, but from my perspective as a contributor to `bevy`, it's extremely useful having freedom from backwards compatibility concerns to improve our APIs. For…

  12. comment
    Comment #29854785

    You can either use rust-analyzer[1] (for which vscode is most well supported), or IntelliJ Rust [2]. Personally, I use `rust-analyzer` with vscode as a bevy developer. [1]: https:/…