Coder Social home page Coder Social logo

Comments (2)

pleroy avatar pleroy commented on August 15, 2024

Interesting analysis. It's particularly nice that clang is able to do a tail call on 64-bit.

FWIW we don't care about 32-bit in this day and age. We must support the architecture. but we surely won't optimize for it.

from principia.

pleroy avatar pleroy commented on August 15, 2024

Tried to do that on Visual Studio and the n-body benchmark got worse by 3x. Revisit if/when we use clang for code generation or generate code for a 64-bit architecture.

Benchmarking on 1 X 3310 MHz CPU
2014/10/11-20:15:14
Benchmark                              Time(ns)    CPU(ns) Iterations
---------------------------------------------------------------------
BM_SolarSystemMajorBodiesOnly         66533596492  66331625200          1                                 1.0002759262678920e+00 ua
BM_SolarSystemMinorAndMajorBodies    142212392068 141680108200          1                                 1.0002759263137868e+00 ua
BM_SolarSystemAllBodiesAndOblateness 159236476875 158840218200          1                                 1.0002759263001231e+00 ua

from principia.

Related Issues (20)

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.