Coder Social home page Coder Social logo

nsf / pnoise Goto Github PK

View Code? Open in Web Editor NEW
77.0 8.0 23.0 49 KB

Perlin noise benchmark

Shell 4.44% C 6.90% Crystal 4.07% C# 6.78% Java 6.59% Lua 11.84% Nim 5.87% Python 5.22% Rust 7.77% Tcl 6.71% Go 5.74% Julia 5.76% F# 6.23% Perl 6 5.11% Makefile 5.88% JavaScript 5.10%

pnoise's Issues

Curious about nim compile options

I'm investigating languages in an effort to finally ditch C++, and have narrowed it down more and more to Nim, still investigating. So I was curious to the slowness in these benches since I've seen it top many. Was nim -d:release --opt:fast used?

Nim 0.11.2

Nim has recently been updated as well :P

Change README.md to sort the languages

D (gdc): 0,066999680 seconds time elapsed
gcc -O3: 0,076729664 seconds time elapsed
Crystal: 0,077063864 seconds time elapsed
Nim (clang): 0,077463342 seconds time elapsed
Rust: 0,078053001 seconds time elapsed
D (ldc2): 0,096995053 seconds time elapsed
clang -O3: 0,143604111 seconds time elapsed
Nim (gcc): 0,159299532 seconds time elapsed
Go gccgo -O3: 0,309625279 seconds time elapsed
D (dmd): 0,339820165 seconds time elapsed
Go gc: 0,360201714 seconds time elapsed
Java: 0,597987438 seconds time elapsed
mono C#: 1,052041381 seconds time elapsed

Update Rust to Beta

Update system to use Rust 1.0.0-beta instead of 0.13 for benchmark as this is the most accurate release version up to now.

can't compile rust example

If I run compile.bash I got an error

error[E0554]: #[feature] may not be used on the stable release channel
  --> test.rs:15:1
   |
15 | #![feature(rand)]
   | ^^^^^^^^^^^^^^^^^

error: aborting due to previous error

I use rustc 1.14.0 (e8a012324 2016-12-16)

Crystal 0.7.1

Crystal has updated to 0.7.1 now with non-blocking IO and coroutines

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.