Skip to content

Instantly share code, notes, and snippets.

View trxcllnt's full-sized avatar

Paul Taylor trxcllnt

  • NVIDIA, Inc
  • Portland, OR
  • 12:47 (UTC -07:00)
  • X @inlineptx
View GitHub Profile
@trxcllnt
trxcllnt / esnextbin.md
Last active October 6, 2016 06:09
esnextbin sketch
@trxcllnt
trxcllnt / esnextbin.md
Last active October 10, 2016 02:17
esnextbin sketch
@trxcllnt
trxcllnt / esnextbin.md
Created October 10, 2016 03:28
esnextbin sketch
@trxcllnt
trxcllnt / esnextbin.md
Last active October 10, 2016 03:53
esnextbin sketch
@trxcllnt
trxcllnt / esnextbin.md
Last active October 28, 2016 10:40
esnextbin sketch
@trxcllnt
trxcllnt / esnextbin.md
Created December 7, 2016 04:21
esnextbin sketch
@trxcllnt
trxcllnt / esnextbin.md
Created May 30, 2017 23:29
esnextbin sketch
@trxcllnt
trxcllnt / RotatingSkipList.ts
Created August 13, 2017 10:34
A JavaScript implementation of the non-blocking RotatingSkipList algorithm described in Dick, I. Fekete, A. Gramoli, V. (2016) "A Skip List for Multicore", to appear in Concurrency and Computation Practice and Experience 2016
/*
A JavaScript implementation of the non-blocking RotatingSkipList algorithm described in:
Dick, I. Fekete, A. Gramoli, V. (2016)
"A Skip List for Multicore", to appear in
Concurrency and Computation Practice and Experience 2016
http://poseidon.it.usyd.edu.au/~gramoli/web/doc/pubs/rotating-skiplist-preprint-2016.pdf
https://github.com/gramoli/synchrobench/blob/master/c-cpp/src/skiplists/rotating/nohotspot_ops.c
*/
@trxcllnt
trxcllnt / esnextbin.md
Created August 31, 2017 17:48
esnextbin sketch
// const memwatch = require('memwatch-next');
// require('segfault-handler').registerHandler("async.log");
// memwatch.on('leak', ({ growth, reason }) => console.log(`Leak: ${round(growth >> 10, 2)}mb ${reason}`));
let eventID = 0;
const assert = require('assert');
const cl = require('node-opencl');
const { promisify } = require('util');
const sleep = promisify(setTimeout);
const MemoryPool = createMemoryPoolClass();