v8torque is an actively used programming language created in 2018.

1Years Old 1,000Users 0Jobs
  • v8torque ranks in the bottom 50% of languages
  • v8torque first appeared in 2018
  • I have 11 facts about v8torque. just email me if you need more.

Example code from the web:

 macro LoadDataViewUint32(buffer: JSArrayBuffer, offset: intptr,
                   requested_little_endian: bool,
                   signed: constexpr bool): Number {
  let data_pointer: RawPtr = buffer.backing_store;

  let b0: uint32 = LoadUint8(data_pointer, offset);
  let b1: uint32 = LoadUint8(data_pointer, offset + 1);
  let b2: uint32 = LoadUint8(data_pointer, offset + 2);
  let b3: uint32 = LoadUint8(data_pointer, offset + 3);
  let result: uint32;

  if (requested_little_endian) {
    result = (b3 << 24) | (b2 << 16) | (b1 << 8) | b0;
  } else {
    result = (b0 << 24) | (b1 << 16) | (b2 << 8) | b3;
  }

  return convert<Number>(result);
}
Edit

Last updated February 11th, 2019