?

Log in

No account? Create an account

Links and updates - leonardo
View:Recent Entries.
View:Archive.
View:Friends.
View:Profile.
View:Website (My Website).

Security:
Subject:Links and updates
Time:12:49 am
Updates:

Given the natural numbers n and m, find the minimum number of integer-sided squares that tile an (n,m) rectangle:
http://www.fantascienza.net/leonardo/js/index.html#squares_problem
A D solution that improves the performance of a C++ solution.

A benchmark from the Computer Game site, in D:
http://www.fantascienza.net/leonardo/js/index.html#meteor_bench

A D implementation of a simple and famous simulation:
http://www.fantascienza.net/leonardo/js/segregation_game.zip

Various type-level solutions in D language of the "Instant Insanity" puzzle (inspired by a Haskell solution):
http://www.fantascienza.net/leonardo/js/instant_insanity.zip

-------------

Links:


A testing experience in Haskell:
http://www.serpentine.com/blog/2013/12/30/testing-a-utf-8-decoder-with-vigour/

A simple but sometimes useful optimization for modern CPUs:
http://blog.libtorrent.org/2013/12/memory-cache-optimizations/

A nice talk about the Julia language:
http://vimeo.com/84661077

"Types for Units-of-Measure: Theory and Practice" by Andrew Kennedy, the complexity behind the units of measure feature of F# (PDF file):
http://research.microsoft.com/en-us/um/people/akenn/units/cefp09typesforunitsofmeasure.pdf

A little story that reminds us that teaching debugging at the University is important:
http://danluu.com/teach-debugging/
comments: Leave a comment Previous Entry Share Next Entry

Links and updates - leonardo
View:Recent Entries.
View:Archive.
View:Friends.
View:Profile.
View:Website (My Website).