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

    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

    Meghan Trainor Cancels Tour, Hershey Stop Among Affected Dates

  • 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

    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

    26 Brilliant Strategies to Keep Your Technology Agile as Your Business Expands

    Trending Tags

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

    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

    Meghan Trainor Cancels Tour, Hershey Stop Among Affected Dates

  • 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

    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

    26 Brilliant Strategies to Keep Your Technology Agile as Your Business Expands

    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

Critical Update on Washington’s Water Supply: What You Need to Know

April 22, 2026

Scientists Harness Light to Sculpt Stunning Portrait of Einstein on Crystal

April 22, 2026

SUNY Geneseo Professor Honored with Prestigious Political Science Fellowship

April 22, 2026

AI Startup Transforms Healthcare by Successfully Overturning Thousands of Denied Insurance Claims

April 22, 2026

Robotaxis are the new millennial lifestyle subsidy – Sherwood News

April 22, 2026

Is Bangladesh killing reforms introduced after student-led protests? – Al Jazeera

April 22, 2026

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

April 22, 2026

Alcaraz, Sinner, Djokovic & more: Best from 2026 Laureus World Sports Awards – ATP Tour

April 22, 2026

How War Devastates Our Environment: Uncovering the Hidden Consequences

April 21, 2026

Celebrate Earth Day with a Fun and Impactful Cleanup Event at the SEE Science Center!

April 21, 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,180)
  • Economy (1,200)
  • Entertainment (22,075)
  • General (21,104)
  • Health (10,233)
  • Lifestyle (1,210)
  • News (22,149)
  • People (1,200)
  • Politics (1,219)
  • Science (16,415)
  • Sports (21,699)
  • Technology (16,184)
  • World (1,190)

Recent News

Critical Update on Washington’s Water Supply: What You Need to Know

April 22, 2026

Scientists Harness Light to Sculpt Stunning Portrait of Einstein on Crystal

April 22, 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