Hard Pass
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmings.world to Programmer Humor@programming.dev · 26 days ago

Why I always keep doing it...

lemmy.world

message-square
24
link
fedilink
15

Why I always keep doing it...

lemmy.world

cm0002@lemmings.world to Programmer Humor@programming.dev · 26 days ago
message-square
24
link
fedilink
  • CookieOfFortune@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    26 days ago

    Compile? Is that true? Pretty sure compilers are generally deterministic in their output.

    • epyon22@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      25 days ago

      Mainly making a joke that they aren’t binarialy deterministic. Semantically they are though. https://blog.onepatchdown.net/2026/02/22/are-compilers-deterministic-nerd-version/

      • CookieOfFortune@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        25 days ago

        Hmmm would most code these days be compiled into minified JavaScript? That might be more deterministic.

        • epyon22@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          23 days ago

          JavaScript is what is called an interpreted language there is no compiling at all the code is directly read and interpreted at runtime. Most of the time it’s minified which reduces the size. Or in the case Vue React or Angular is transpiled which still results in JavaScript code but framework specific syntax is broken out and it’s ran through bable to do backwards compatibility for older browsers.

          • CookieOfFortune@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            24 days ago

            Isn’t Typescript compiled into JavaScript?

            • epyon22@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              23 days ago

              Technically transpiled. Compiling results in something binary.

              • CookieOfFortune@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                23 days ago

                No a compiler just translates from one language into another. Transpilers are a type of compiler.

                • epyon22@sh.itjust.works
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  23 days ago

                  Typescript is transpiled into JavaScript. It’s not a whole new language just additions to JavaScript.

                  • CookieOfFortune@lemmy.world
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    23 days ago

                    A transpiler is a compiler. And it doesn’t have to convert from one language to another to be considered a compiler.

Programmer Humor@programming.dev

programmer_humor@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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 2.04K users / day
  • 4.54K users / week
  • 7.48K users / month
  • 17.8K users / 6 months
  • 1 local subscriber
  • 31.3K subscribers
  • 1.36K Posts
  • 31.2K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org