* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Thursday, April 23, 2026
Earth-News
  • Home
  • Business
  • Entertainment

    Los Lorcas and Pat Byrne at Stage 33 Live – Brattleboro Reformer

    Atlanta City Council Greenlights Exciting New World Cup Entertainment District

    Get Ready for an Exciting Arts-Filled Weekend in Winchester!

    The Last Starfighter Returns: Beloved ’80s Sci-Fi Classic Soars Again in an Exciting New Comic Book Sequel!

    Rocky” Celebrates Its Golden 50th Anniversary with a Knockout Theatrical Return November 7-11

    From Lee Cronin’s The Mummy to Zayn: Your Ultimate Entertainment Guide for the Week Ahead

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology

    Redwire Becomes Proud Drone Technology Partner of the Washington Commanders to Showcase Military Appreciation – Washington Commanders

    Toyota and Woven by Toyota Unveil Cutting-Edge AI Technologies to Revolutionize Kakezan

    Detroit Metro Airport tests new parking guidance technology – KPTV

    Here’s Why Poet Technologies Stock Is Skyrocketing Today

    The Future of Risk Management: How AI, Automation, and Adaptive Security Are Transforming the Landscape

    Jacob Wheeler Challenges “It’s Not the Technology” and Other Must-Know Fishing Stories

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment

    Los Lorcas and Pat Byrne at Stage 33 Live – Brattleboro Reformer

    Atlanta City Council Greenlights Exciting New World Cup Entertainment District

    Get Ready for an Exciting Arts-Filled Weekend in Winchester!

    The Last Starfighter Returns: Beloved ’80s Sci-Fi Classic Soars Again in an Exciting New Comic Book Sequel!

    Rocky” Celebrates Its Golden 50th Anniversary with a Knockout Theatrical Return November 7-11

    From Lee Cronin’s The Mummy to Zayn: Your Ultimate Entertainment Guide for the Week Ahead

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology

    Redwire Becomes Proud Drone Technology Partner of the Washington Commanders to Showcase Military Appreciation – Washington Commanders

    Toyota and Woven by Toyota Unveil Cutting-Edge AI Technologies to Revolutionize Kakezan

    Detroit Metro Airport tests new parking guidance technology – KPTV

    Here’s Why Poet Technologies Stock Is Skyrocketing Today

    The Future of Risk Management: How AI, Automation, and Adaptive Security Are Transforming the Landscape

    Jacob Wheeler Challenges “It’s Not the Technology” and Other Must-Know Fishing Stories

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
Earth-News
No Result
View All Result
Home Technology

Go Run

February 22, 2024
in Technology
Share on FacebookShare on Twitter

It may seem silly, but go run is my favorite part about go. Want to run your code? go run main.go. It is so stupidly simple that I could tell my mom about this command, and she would immediately understand. Like with most things in go, the real power in this command is in the effortless understanding of how to build and run everyone’s code.

But I can run node main.js? Yeah, and then what happens if you want to use modern syntax like esmodule, or maybe you want to use types with typescript? You are going to have to use npm.

The tools you use to build and run code are often disparate in a language. As a project maintainer, you must understand community practices and conventions of correctly setting up a project. Third-party libraries are often required to run even the simplest of code. For example, in the Ruby programming language, the “rake” build tool became popular because of its versatility and the fact that it was used in many open-source projects. Similarly, in the JavaScript community, the adoption of npm as a build tool was driven by the widespread use of npm packages and modules.

Languages grow and change over time, and it is only natural that tools come and go as well. C and C++ have historically had “make” since the 1970s; Java grew from “ant” in the 1990s to Maven in the early 2000s. Different requirements for your application influence the tools that are developed and, by extension, influence people’s workflows.

This is precisely the reason I love go run so much. Go’s entire design brings power to the command. Simple syntax, static typing, and a strict dependency management system allow the compiler to quickly parse and analyze source code, leading to build times faster. Faster build times mean a broader reach of who could use the language to achieve their goals. It is funny; you will occasionally see a go project that includes a Makefile, but the compilation step is just a go build (build; don’t run the code). Old habits die hard.

Fun fact: One of the understated features go run is that it will automatically download any dependencies the code references; how cool is that!

The more I program in other languages, the more I feel the painful absence of a standardized build system. I find it frustrating to keep up with the latest and greatest build system for something as common as running code. For something so critical to my understanding of how to code, such as how to run it, I find it unacceptable not to have a reliable foundation of knowledge.

Do not compromise with hacks or workarounds for critical components of your software development flow. Take ownership of the tools you use and fight for change so that you and everyone else benefit. When experience is shared, problems are solved, days of people’s lives are saved, and passion for programming continues to grow, not wane.

comments:

bun run 🙂 bun hing.ts same with python but not compiled you need to install python that’s the beauty of go for me even rust you need a cargo file

amazing, for js we not only have npm, yarn, pnpm, and bower (am I missing any?) but we also have completely new runtimes bun and deno. these are not evil, but tread lightly. Is VC backed deno going to fold as a company? maybe bun gets burnt and we are onto the next one. meanwhile I will be here with my boring go run

>>> Read full article>>>
Copyright for syndicated content belongs to the linked Source : Hacker News – https://breadchris.com/blog/go-run/

Tags: technology
Previous Post

Atuin – Magical Shell History

Next Post

OpenAI postmortem – Unexpected responses from ChatGPT

Kazakhstan President Highlights New Constitution and Calls for Fair Global Ecological Cooperation at Astana Summit – The Times Of Central Asia

April 23, 2026

Medical school launches first data science-focused center on immunology – Virginia Tech News

April 23, 2026

Four Honored with 2026 L&S Academic Advising Awards

April 23, 2026

Unraveling the Unique DNA of Moonstar88: What Makes Them Stand Out

April 23, 2026

Council Members Question Atlanta’s Approach to Policing Homelessness Ahead of World Cup

April 23, 2026

Why Kevin Warsh Refuses to Judge Trump’s Economic Record

April 23, 2026

Los Lorcas and Pat Byrne at Stage 33 Live – Brattleboro Reformer

April 23, 2026

N.Y. lawmakers pass bill that would give in­cen­tives for in­sti­tu­tions to buy electric lawn equipment – Spectrum News

April 22, 2026

Redwire Becomes Proud Drone Technology Partner of the Washington Commanders to Showcase Military Appreciation – Washington Commanders

April 22, 2026

FCC Commissioner Stands Up for Frustrated American Sports Fans Amid Shift to Streaming Services

April 22, 2026

Categories

Archives

April 2026
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
27282930  
« Mar    
Earth-News.info

The Earth News is an independent English-language daily published Website from all around the World News

Browse by Category

  • Business (20,132)
  • Ecology (1,181)
  • Economy (1,201)
  • Entertainment (22,076)
  • General (21,114)
  • Health (10,233)
  • Lifestyle (1,211)
  • News (22,149)
  • People (1,201)
  • Politics (1,220)
  • Science (16,416)
  • Sports (21,700)
  • Technology (16,185)
  • World (1,191)

Recent News

Kazakhstan President Highlights New Constitution and Calls for Fair Global Ecological Cooperation at Astana Summit – The Times Of Central Asia

April 23, 2026

Medical school launches first data science-focused center on immunology – Virginia Tech News

April 23, 2026
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

Go to mobile version