Diagon Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@excel24@feddit.org to Technology@lemmy.worldEnglish • 3 months ago

A peek into a possible future of Python in the browser - Łukasz Langa

lukasz.langa.pl

external-link
message-square
12
fedilink
53
external-link

A peek into a possible future of Python in the browser - Łukasz Langa

lukasz.langa.pl

@excel24@feddit.org to Technology@lemmy.worldEnglish • 3 months ago
message-square
12
fedilink
My Python code was too slow, so I made it faster with Python. For some definition of “Python”.
  • @SeeFerns@programming.dev
    link
    fedilink
    English
    3•3 months ago

    Asking genuinely as someone who knows not much about this subject, is typescript not already an option? Isn’t it just type safe js that gets interpreted as js?

    • @SandLight@lemmy.world
      link
      fedilink
      English
      10•
      edit-2
      3 months ago

      Typescript doesn’t run in browser. It gets translated to js by some build steps. I would also say it’s only mostly type safe. You can kind of trick the system if you don’t know what you’re doing or don’t like your coworkers.

      • @lemmeBe@sh.itjust.works
        link
        fedilink
        English
        2•3 months ago

        No, you can’t if there’s any semblance of a PR review process. Reject until it’s type safe.

    • @lemmeBe@sh.itjust.works
      link
      fedilink
      English
      2•3 months ago

      Yes, it is and it’s great. 😎

      • @shortrounddev@lemmy.world
        link
        fedilink
        English
        2•3 months ago

        It’s alright. I work with it every day and constantly wish it had RTTI

        • @lemmeBe@sh.itjust.works
          link
          fedilink
          English
          1•3 months ago

          Typia

Technology@lemmy.world

!technology@lemmy.world

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: !technology@lemmy.world

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


  • @L4s@lemmy.world
  • @autotldr@lemmings.world
  • @PipedLinkBot@feddit.rocks
  • @wikibot@lemmy.world
  • 3.59K users / day
  • 9.82K users / week
  • 17K users / month
  • 37.1K users / 6 months
  • 71K subscribers
  • 9.8K Posts
  • 290K Comments
  • Modlog
  • mods:
  • @L3s@lemmy.world
  • enu
  • Technopagan
  • L4sBot
  • L3s
  • @L4s@hackingne.ws
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org