Recent submissions

Comment · 6 months ago
Comment · 3 years ago
What is the difference with ATD: https://atd.readthedocs.io/en/latest/atd-project.html which also was designed with algebraic data types in mind?
Comment · 4 years ago
Not sure you really need GADTs for the instruction set. A separate arg8 and arg16 ADT types would be enough, so you would have | Add8 of arg8 * arg8
Comment · 5 years ago
Why OCaml? It's a great language to write programs that works on complex data structures, e.g. ASTs. This choice was actually not very original: people in academia at stanford, berkeley, Microsoft research used OCaml for program analysis (CCured, Saturn, CIL, SLAM). And now and now the industry is also using it (Facebook Infer, Facebook Hack/Flow/Pyre, MS Static Device Verifier, etc.)
Comment · 5 years ago
Comment · 5 years ago
Comment · 9 years ago
OCaml uses green threads where you can cooperate (yield()) or be preempted every 50ms.
Comment · 10 years ago
Suicide seems a bit extreme. Could she not just quit? Also everyday people commit suicide. Why do we blame CEOs for that?
Comment · 10 years ago
Comment · 10 years ago
So? Is it shorter? How much shorter? How does Go improve over C? Just curious.
Comment · 10 years ago
Comment · 10 years ago
You can use mk, the successor to make, which does not have the TAB requirement (you can use TAB or spaces interchangeably).

Regarding JSON, it is more verbose than Make. You need to use quote around strings, commands, everything. Compare:

foo.o: foo.c gcc -c foo.c

with

{ 'foo.o' => ['foo.c'; 'gcc -c foo.c'] }

Comment · 10 years ago
Comment · 10 years ago
Regarding the tangle barrier issue, there is a tool that helps: https://github.com/aryx/syncweb It allows to modify both the original WEB document and code and keep them in sync.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton