News for hackers. Stuff that matters.

loop2

Re:Why I’m Investing $500M in Migrants on Tuesday September 20, 2016 @02:25AM (#12537529)
Sure as hell isn't making it a better place for Germans or anyone else in targeted nations.
Re:Artificial Intelligence's White Guy Problem on Sunday June 26, 2016 @06:18PM (#11983049)
If that's the case, there must be a hell of a lot of unconvicted white murderers to make up for the 7:1 disproportion.
Re:C++ vs. OCaml: Ray tracer comparison (2005) on Wednesday September 23, 2015 @04:25PM (#10267900)
Option has been around for a while as boost::optional or now std::experimental::optional. Result is coming and has a reference implementation as boost::expected. There's also a type-erased option type, "any".

They're quite nice, especially with a few trivial additions for ergonomics.

For the record, KeePass added header authentication after (thanks to) this paper.
Re:C++'s Rule of Zero on Sunday June 28, 2015 @07:45AM (#9793154)
This isn't about any of that. Any classes you would apply this technique to already have the desired semantics. The rule of zero just argues that you should not write copy/move/destructor functions outside of dedicated resource mananging classes, so that you can write other classes with zero special member functions (other than the main constructors).
Re:The Wake Programming Language on Monday February 16, 2015 @01:08AM (#9055562)
Types-as-variables is a very good insight. When I'd write C++ function headers where I could omit parameter names without losing any clarity, it'd feel really nice, but the implication never rose to consciousness.
Re:Make Your Own Programming Language on Sunday January 04, 2015 @04:17AM (#8833922)
I started one a while ago, but I became fascinated by the "middle end" and bought a compiler textbook. Now I have SSA optmizations but no strings still.