Skip to content

Instantly share code, notes, and snippets.

View Kerollmops's full-sized avatar
🍼
Meilisearch needs care

Clément Renault Kerollmops

🍼
Meilisearch needs care
View GitHub Profile
@Kerollmops
Kerollmops / gist:d33e665c42c884e3c66d2c3f41bfd7b8
Last active July 23, 2016 19:40 — forked from tomaka/gist:623781c5af6ebbc5dcfe
Gfx vs glium comparison table

Gfx and glium are Rust libraries that aim to provide a "rusty" abstraction over graphics programming APIs. Both may look similar, and one of the questions that gets asked frequently on IRC is "what are the differences between gfx and glium?". Here is a comparison table:

                                 |          Gfx                                                                                                      |               Glium            

-------------------------------------|-------------------------------------------------------------------------------------------------------------------|-------------------------------- URL | https://github.com/gfx-rs/gfx-rs | https://github.com/tomaka/glium History | Papers since Oct 2013. Really started in June 2014. | Private/confidential from Feb 201

// Ruby = 5.times { |i| puts i }
// JS = (1).times(function(i){console.log(i);})
Number.prototype.times = function(cb) {
var i = -1;
while (++i < this) {
cb(i);
}
return +this;