Skip to content

Instantly share code, notes, and snippets.

@baryluk
baryluk / gist:ec0484295444c6bca9337c88b9739d86
Last active March 19, 2019 23:51
ordered vs unordered dequeue from the queue
Time: 3.133 ms
[local] baryluk@d=> EXPLAIN ANALYZE SELECT itemid FROM queue LIMIT 1;
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ QUERY PLAN │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Limit (cost=0.00..0.01 rows=1 width=4) (actual time=0.040..0.041 rows=1 loops=1) │
│ -> Seq Scan on queue (cost=0.00..1680786.04 rows=116492104 width=4) (actual time=0.039..0.039 rows=1 loops=1) │
│ Planning Time: 0.046 ms │
│ Execution Time: 0.050 ms │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────
@baryluk
baryluk / 85_releated.tex
Created December 1, 2011 05:29
References - X-to-JS langauges and utilities
\subsection{Related work}
There is many releated works in field of JS and HTTP extensions
which tries to remove some of the current limitations
of JS, similary as erljs tries to handle them in one way.
\begin{itemize}
\item Erjang (\url{http://wiki.github.com/krestenkrab/erjang/})
% http://www.javalimit.com/
-- complete reimplementation of Erlang Virtual Machine to run on top of Java platform.
@baryluk
baryluk / gist:1413912
Created December 1, 2011 05:20
ocaml and haskel
OCaml
http://www-lipn.univ-paris13.fr/~loddo/funding/projet-hyper-learning.pdf
http://ocsigen.org/theproject
Oscigen - "Fresh air in Web Programming"
http://ocsigen.org/
O'Browser http://ocsigen.org/obrowser/