• C is the most efficient programming language

    From Ksource@VERT/MUTINY to Nightfox on Sat Nov 6 02:00:39 2021
    Re: C is the most efficient programming language
    By: Nightfox to All on Tue Nov 02 2021 09:45:49

    I haven't done much programming in pure C, but I thought this article was interesting. It says C is the most efficient programming language as far as power consumption, speed, and memory usage:

    I mean it's not a huge surprise. They didn't have assembly on there, so you have your low-level/systems languages at the top (C,
    C++, Rust) where the specific ordering between them doesn't matter too much. The thing about these cross-language benchmarks is it
    all comes down to how the benchmark code was written. I'm surprised to see Fortran do so poorly. Maybe there haven't been any old
    geezers writing good Fortran code for the CLBG (which was their source pool).

    Also, good job whoever wrote the Python code for CLBG! Ha!

    I guess what's new is that this paper puts a new green spin on things. Since we're more energy-conscious these days, we can
    describe languages as "energy-efficient" instead of just "efficient". Can I get a carbon tax credit for writing more C code?

    ---
    þ Synchronet þ Mutiny BBS - mutinybbs.com - telnet:2332 - ssh:2232