* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Wednesday, February 11, 2026
Earth-News
  • Home
  • Business
  • Entertainment

    Watch the U.S. Air Force F-35A Lightning II Light Up the Sky at the Columbus Air Show!

    Black Voices Ignite the Spark at the 2026 Sundance Film Festival

    Rock Legend Defends Bad Bunny’s Epic Halftime Show Performance

    Pedro Pascal Lights Up the Stage with an Epic Dance at Bad Bunny’s Super Bowl 2026 Halftime Show

    Lucky Strike Entertainment Rockets 5.3% Pre-Market, Bounces Back Strongly After Earnings Slump

    Unlock the Best Credit Cards to Boost Your Entertainment Rewards This February 2026

  • 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

    John Deere Expands Precision Ag Technology Access – Morning Ag Clips

    Why AI Must Collaborate with Doctors to Create Trustworthy Healthcare Technology

    How Globalization and Technology Are Shaping the Future of Domestic Politics, According to Eswar Prasad

    UBS Lowers SoFi Technologies Price Target to $24.50 Following Mixed Earnings

    Must-Watch Technology Stocks to Watch This February

    Dozens of Milwaukee residents share opposition for facial recognition technology – Spectrum News

    Trending Tags

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

    Watch the U.S. Air Force F-35A Lightning II Light Up the Sky at the Columbus Air Show!

    Black Voices Ignite the Spark at the 2026 Sundance Film Festival

    Rock Legend Defends Bad Bunny’s Epic Halftime Show Performance

    Pedro Pascal Lights Up the Stage with an Epic Dance at Bad Bunny’s Super Bowl 2026 Halftime Show

    Lucky Strike Entertainment Rockets 5.3% Pre-Market, Bounces Back Strongly After Earnings Slump

    Unlock the Best Credit Cards to Boost Your Entertainment Rewards This February 2026

  • 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

    John Deere Expands Precision Ag Technology Access – Morning Ag Clips

    Why AI Must Collaborate with Doctors to Create Trustworthy Healthcare Technology

    How Globalization and Technology Are Shaping the Future of Domestic Politics, According to Eswar Prasad

    UBS Lowers SoFi Technologies Price Target to $24.50 Following Mixed Earnings

    Must-Watch Technology Stocks to Watch This February

    Dozens of Milwaukee residents share opposition for facial recognition technology – Spectrum News

    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

Dan Hunt Warns of Massive Economic Impact and ‘A Little Bit of Chaos’ at the World Cup

February 11, 2026

Exciting Lineup of Speakers Announced for the 2026 World Economy Summit

February 11, 2026

Watch the U.S. Air Force F-35A Lightning II Light Up the Sky at the Columbus Air Show!

February 11, 2026

Kansas Senate bill may add $17M to oversight of health and welfare programs – Kansas Reflector

February 11, 2026

Iran, Gaza and the Politics of Conditional Solidarity Within Western Activist Circles – Fair Observer

February 10, 2026

Carboniferous recumbirostran elucidates the origins of terrestrial herbivory – Nature

February 10, 2026

‘Mystery Science Theater 3000’: Trace Beaulieu, Frank Conniff Set to Appear in RiffTrax Revival – Variety

February 10, 2026

Getting Ready for a Leap: Unlocking Precision Cosmology with Roman’s Strong Lensing Science

February 10, 2026

The exacting vintage stores offering the cure to your fashion fatigue – news8000.com

February 10, 2026

John Deere Expands Precision Ag Technology Access – Morning Ag Clips

February 10, 2026

Categories

Archives

February 2026
M T W T F S S
 1
2345678
9101112131415
16171819202122
232425262728  
« Jan    
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,067)
  • Economy (1,084)
  • Entertainment (21,961)
  • General (19,833)
  • Health (10,125)
  • Lifestyle (1,099)
  • News (22,149)
  • People (1,093)
  • Politics (1,101)
  • Science (16,300)
  • Sports (21,586)
  • Technology (16,067)
  • World (1,075)

Recent News

Dan Hunt Warns of Massive Economic Impact and ‘A Little Bit of Chaos’ at the World Cup

February 11, 2026

Exciting Lineup of Speakers Announced for the 2026 World Economy Summit

February 11, 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