Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Hui
    @blackball
    Really nice to have mpsl on board!
    Petr Kobalicek
    @kobalicek
    Thanks! Still work-in-progress though :)
    Petr Kobalicek
    @kobalicek
    Still wondering about short MPSL description :-D
    MathPresso's Shading Language with JIT Engine for C++
    something better, anybody :-D ?
    r00ster
    @r00ster91
    MathPresso's JIT-powered Shading Language for C++
    Petr Kobalicek
    @kobalicek
    I think this project will be renamed to BLSL in the future
    as I really plan to use it in Blend2D when it matures
    Blend2D Shading Language seems nice to me :)
    r00ster
    @r00ster91
    B2SL perhaps?
    Petr Kobalicek
    @kobalicek
    BL is prefix of Blend2D APIs, so I would like to keep that
    r00ster
    @r00ster91
    or no BL probably because the most stuff has that prefixed
    Petr Kobalicek
    @kobalicek
    yes exactly
    r00ster
    @r00ster91
    yeah that makes sense then
    r00ster
    @r00ster91
    Is mpsl next-wip currently broken? I get https://pastebin.com/raw/1CuEEejt when running cmake . and then make
    Petr Kobalicek
    @kobalicek
    you definitely need asmjit:next-wip too
    r00ster
    @r00ster91
    aah
    r00ster
    @r00ster91

    An empty void main compiles into

    .section .text {#0}
    L0:
    xor eax, eax
    L1:
    ret

    But wouldn't mov eax, 0 be faster instead of a XOR operation?

    Petr Kobalicek
    @kobalicek
    xor a,a is common in asm, it's shorter than mov and thus preferred
    CPUs know that instruction so there is no dependency
    r00ster
    @r00ster91
    ah ok