Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
chimay@lemmy.world to C Programming Language@programming.dev · 5 days ago

C is one of the most energy saving language

message-square
message-square
8
fedilink
12
message-square

C is one of the most energy saving language

chimay@lemmy.world to C Programming Language@programming.dev · 5 days ago
message-square
8
fedilink

C is one of the top languages in terms of speed, memory and energy

https://www.threads.com/@engineerscodex/post/C9_R-uhvGbv?hl=en

alert-triangle
You must log in or register to comment.
  • stm@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 hour ago

    Damn I’m polluting with my python apps

  • t0mri@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    3 days ago

    Where’s zig?

  • brisk@aussie.zone
    link
    fedilink
    arrow-up
    17
    ·
    5 days ago

    For those who don’t want to open threads, it’s a link to a paper on energy efficiency of programming languages.

    • brisk@aussie.zone
      link
      fedilink
      arrow-up
      13
      ·
      5 days ago

      Results

      • elvis_depresley@sh.itjust.works
        link
        fedilink
        arrow-up
        9
        ·
        5 days ago

        it’s crazy how efficient javascript has gotten

      • Colloidal@programming.dev
        link
        fedilink
        arrow-up
        6
        ·
        5 days ago

        I’m assuming C is for compiled, V for virtual machine, I for interpreted.

        Dart for sure is compiled, i think requiring a VM to run. It’s a bit weird, but definitely not interpreted, unless you transpile to JavaScript.

        Also, couldn’t read the whole paper, but the numbers for Python are rather staggering. I remember reading on performance and there were massive differences between CPython, PyPy and a third one I can’t recall. And that’s surely to impact energy consumption.

  • 18107@aussie.zone
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    5 days ago
    while(1);
    

    Not if I’m writing it.

  • Spaz@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    4 days ago

    No assembly?

C Programming Language@programming.dev

c_lang@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !c_lang@programming.dev

Welcome to the C community!

C is quirky, flawed, and an enormous success.
… When I read commentary about suggestions for where C should go, I often think back and give thanks that it wasn’t developed under the advice of a worldwide crowd.
… The only way to learn a new programming language is by writing programs in it.

© Dennis Ritchie

  • irc: #c

🌐 https://en.cppreference.com/w/c

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 3 users / day
  • 47 users / week
  • 49 users / month
  • 107 users / 6 months
  • 1 local subscriber
  • 1.15K subscribers
  • 47 Posts
  • 36 Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org