Gifted Minecraft
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Maven (famous)@lemmy.zip to Programmer Humor@programming.dev · 2 days ago

Modern Programming

lemmy.zip

message-square
74
fedilink
566

Modern Programming

lemmy.zip

Maven (famous)@lemmy.zip to Programmer Humor@programming.dev · 2 days ago
message-square
74
fedilink
  • Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    121
    ·
    2 days ago

    For optimal performance, you should rewrite it in Rust:

    inline_python::python! {
        print(js2py.eval_js("(number) => number % 2 ? 'odd' : 'even'")(number))
    };
    
    • ATPA9@feddit.org
      link
      fedilink
      arrow-up
      69
      ·
      edit-2
      1 day ago

      And now you can use wasm to run it in a browser!

      • Victor@lemmy.world
        link
        fedilink
        arrow-up
        25
        ·
        1 day ago

        Full circle 😆

        • ulterno@programming.dev
          link
          fedilink
          English
          arrow-up
          12
          ·
          1 day ago

          Make sure the browser is made using Rust and run on a VM running on Linux, compiled to WASM.

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.87K users / day
  • 5.32K users / week
  • 10.3K users / month
  • 19.4K users / 6 months
  • 1 local subscriber
  • 24.1K subscribers
  • 1.42K Posts
  • 47.3K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.9
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org