Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    ARC Raiders dev claims they built an auction house-like trading system for the game but later removed it as it’s “very risky territory”

    Citizen unveils 3 new tachymeter bezel chronographs with 43 mm stainless-steel cases

    Portable 27-inch monitor with Google TV, battery and built-in soundbar launches with discount

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      Ashley St. Clair, the mother of one of Elon Musk’s children, sues xAI over Grok sexual images

      January 17, 2026

      Anthropic joins OpenAI’s push into health care with new Claude tools

      January 12, 2026

      The mother of one of Elon Musk’s children says his AI bot won’t stop creating sexualized images of her

      January 7, 2026

      A new pope, political shake-ups and celebs in space: The 2025-in-review news quiz

      December 31, 2025

      AI has become the norm for students. Teachers are playing catch-up.

      December 23, 2025
    • Business

      New VoidLink malware framework targets Linux cloud servers

      January 14, 2026

      Nvidia Rubin’s rack-scale encryption signals a turning point for enterprise AI security

      January 13, 2026

      How KPMG is redefining the future of SAP consulting on a global scale

      January 10, 2026

      Top 10 cloud computing stories of 2025

      December 22, 2025

      Saudia Arabia’s STC commits to five-year network upgrade programme with Ericsson

      December 18, 2025
    • Crypto

      Trump Shifts on Fed Pick as Hassett Odds Fade: Who Will Replace Powell?

      January 17, 2026

      A Third of French Crypto Firms Still Unlicensed Under MiCA as Deadline Nears

      January 17, 2026

      DOJ Charges Venezuelan National in $1 Billion Crypto Laundering Scheme

      January 17, 2026

      One of Wall Street’s Top Strategists No Longer Trusts Bitcoin | US Crypto News

      January 17, 2026

      3 Altcoins To Watch This Weekend | January 17 – 18

      January 17, 2026
    • Technology

      ARC Raiders dev claims they built an auction house-like trading system for the game but later removed it as it’s “very risky territory”

      January 17, 2026

      Citizen unveils 3 new tachymeter bezel chronographs with 43 mm stainless-steel cases

      January 17, 2026

      Portable 27-inch monitor with Google TV, battery and built-in soundbar launches with discount

      January 17, 2026

      Civilization VII coming to iPhone and iPad

      January 17, 2026

      Flagship power with an XXL battery

      January 17, 2026
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Check BMI
    Tech AI Verse
    You are at:Home»Technology»The Gleam Programming Language
    Technology

    The Gleam Programming Language

    TechAiVerseBy TechAiVerseJanuary 14, 2026No Comments3 Mins Read4 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    The Gleam Programming Language
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    The Gleam Programming Language

    The power of a type system, the expressiveness of functional
    programming, and the reliability of the highly concurrent, fault
    tolerant Erlang runtime, with a familiar and modern syntax.

    import gleam/io
    
    pub fn main() {
      io.println("hello, friend!")
    }

    Reliable and scalable

    Running on the battle-tested Erlang virtual machine that powers
    planet-scale systems such as WhatsApp and Ericsson, Gleam is ready for
    workloads of any size.

    Thanks to its multi-core actor based concurrency system that can run
    millions of concurrent green threads, fast immutable data
    structures, and a concurrent garbage collector that never stops
    the world, your service can scale and stay lightning fast with ease.

    pub fn main() -> Nil {
      // Run loads of green threads, no problem
      list.range(0, 200_000)
      |> list.each(spawn_greeter)
    }
    
    fn spawn_greeter(i: Int) {
      process.spawn(fn() {
        let n = int.to_string(i)
        io.println("Hello from " <> n)
      })
    }

    Ready when you are

    Gleam comes with compiler, build tool, formatter, editor integrations,
    and package manager all built in, so creating a Gleam project is just
    running gleam new

    As part of the wider BEAM ecosystem, Gleam programs can use thousands of
    published packages, whether they are written in Gleam, Erlang, or
    Elixir.

    ➜ (main) gleam add gleam_json
      Resolving versions
    Downloading packages
     Downloaded 2 packages in 0.01s
          Added gleam_json v0.5.0
    ➜ (main) gleam test
     Compiling thoas
     Compiling gleam_json
     Compiling app
      Compiled in 1.67s
       Running app_test.main
    .
    1 tests, 0 failures

    Here to help

    No null values, no exceptions, clear error messages, and a practical
    type system. Whether you’re writing new code or maintaining old code,
    Gleam is designed to make your job as fun and stress-free as possible.

    error: Unknown record field
    
      ┌─ ./src/app.gleam:8:16
      │
    8 │ user.alias
      │     ^^^^^^ Did you mean `name`?
    
    The value being accessed has this type:
        User
    
    It has these fields:
        .name
    

    Multilingual

    Gleam makes it easy to use code written in other BEAM languages such as
    Erlang and Elixir, so there’s a rich ecosystem of thousands of open
    source libraries for Gleam users to make use of.

    Gleam can additionally compile to JavaScript, enabling you to use your
    code in the browser, or anywhere else JavaScript can run. It also
    generates TypeScript definitions, so you can interact with your Gleam
    code confidently, even from the outside.

    @external(erlang, "Elixir.HPAX", "new")
    pub fn new(size: Int) -> Table
    
    
    
    pub fn register_event_handler() {
      let el = document.query_selector("a")
      element.add_event_listener(el, fn() {
        io.println("Clicked!")
      })
    }

    Friendly 💜

    As a community, we want to be friendly too. People from around the
    world, of all backgrounds, genders, and experience levels are welcome
    and respected equally. See our community code of conduct for more.

    Black lives matter. Trans rights are human rights. No nazi bullsh*t.

    You’re still here?

    Well, that’s all this page has to say. Maybe you should go read the language tour!

    Let’s go!


    Wanna keep in touch?

    Subscribe to the Gleam newsletter

    We send emails at most a few times a year, and we’ll never share your
    email with anyone else.

    This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

    Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
    Previous ArticleStop using natural language interfaces
    Next Article 1000 Blank White Cards
    TechAiVerse
    • Website

    Jonathan is a tech enthusiast and the mind behind Tech AI Verse. With a passion for artificial intelligence, consumer tech, and emerging innovations, he deliver clear, insightful content to keep readers informed. From cutting-edge gadgets to AI advancements and cryptocurrency trends, Jonathan breaks down complex topics to make technology accessible to all.

    Related Posts

    ARC Raiders dev claims they built an auction house-like trading system for the game but later removed it as it’s “very risky territory”

    January 17, 2026

    Citizen unveils 3 new tachymeter bezel chronographs with 43 mm stainless-steel cases

    January 17, 2026

    Portable 27-inch monitor with Google TV, battery and built-in soundbar launches with discount

    January 17, 2026
    Leave A Reply Cancel Reply

    Top Posts

    Ping, You’ve Got Whale: AI detection system alerts ships of whales in their path

    April 22, 2025619 Views

    Lumo vs. Duck AI: Which AI is Better for Your Privacy?

    July 31, 2025235 Views

    6.7 Cummins Lifter Failure: What Years Are Affected (And Possible Fixes)

    April 14, 2025135 Views

    6 Best MagSafe Phone Grips (2025), Tested and Reviewed

    April 6, 2025109 Views
    Don't Miss
    Technology January 17, 2026

    ARC Raiders dev claims they built an auction house-like trading system for the game but later removed it as it’s “very risky territory”

    ARC Raiders dev claims they built an auction house-like trading system for the game but…

    Citizen unveils 3 new tachymeter bezel chronographs with 43 mm stainless-steel cases

    Portable 27-inch monitor with Google TV, battery and built-in soundbar launches with discount

    Civilization VII coming to iPhone and iPad

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Welcome to Tech AI Verse, your go-to destination for everything technology! We bring you the latest news, trends, and insights from the ever-evolving world of tech. Our coverage spans across global technology industry updates, artificial intelligence advancements, machine learning ethics, and automation innovations. Stay connected with us as we explore the limitless possibilities of technology!

    Facebook X (Twitter) Pinterest YouTube WhatsApp
    Our Picks

    ARC Raiders dev claims they built an auction house-like trading system for the game but later removed it as it’s “very risky territory”

    January 17, 20260 Views

    Citizen unveils 3 new tachymeter bezel chronographs with 43 mm stainless-steel cases

    January 17, 20260 Views

    Portable 27-inch monitor with Google TV, battery and built-in soundbar launches with discount

    January 17, 20260 Views
    Most Popular

    A Team of Female Founders Is Launching Cloud Security Tech That Could Overhaul AI Protection

    March 12, 20250 Views

    Senua’s Saga: Hellblade 2 leads BAFTA Game Awards 2025 nominations

    March 12, 20250 Views

    7 Best Kids Bikes (2025): Mountain, Balance, Pedal, Coaster

    March 13, 20250 Views
    © 2026 TechAiVerse. Designed by Divya Tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions

    Type above and press Enter to search. Press Esc to cancel.