News for hackers. Stuff that matters.
Re:Tiny WASI – A tiny WASI runtime written in TypeScript by ridiculous_fish on Wednesday March 16, 2022 @12:58AM (#30695488)

    clock_time_get( id: number, precision: number, timeOut: number ): number {
      ...
      view.setUint32( timeOut, ( now * 1000000.0 ) % 0xFFFFFFFF, true );
      view.setUint32( timeOut + 4, now * 1000000.0 / 0xFFFFFFFF, true );
Oh no. As they say, something something and off-by-one errors.
Re:Tiny WASI – A tiny WASI runtime written in TypeScript by miunau on Wednesday March 16, 2022 @06:49AM (#30697267)
Thanks for raising this issue, it's fixed now!