* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Sunday, May 10, 2026
Earth-News
  • Home
  • Business
  • Entertainment

    Starz Entertainment Reports Bigger-Than-Expected Q1 Loss as Revenues Decline Year-Over-Year

    Smith Entertainment Group Unveils Bold Vision to Transform Delta Center into a Premier Dual-Sport Hub

    From Taylor Swift to the Oscars, 400-year-old ‘Hamlet’ flourishes in the age of TikTok – Audacy

    How Social Network Currency is Launching a Grad’s Career in Entertainment Journalism

    Live Nation Entertainment Stock Soars 7% Today – Key Insights You Can’t Miss

    AMC Entertainment Grapples with Rapid Share Dilution as Market Pressures Mount

  • 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

    Is SES AI Corporation the Game-Changing Battery Technology Stock You Need to Watch?

    SkyWater Technology Stockholders Approve Exciting Merger Agreement with IonQ

    KULR Technology Group to Host Q1 2026 Earnings Call on May 14 at 4:30 p.m. ET

    NCR Voyix Set to Dazzle at the 21st Annual Needham Technology, Media & Consumer Conference

    Danville High School’s Automotive Technology Classes Get a Boost with New Vehicle from Public School Foundation

    Seagate Technology Holdings PLC $STX Position Increased by Swedbank AB – MarketBeat

    Trending Tags

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

    Starz Entertainment Reports Bigger-Than-Expected Q1 Loss as Revenues Decline Year-Over-Year

    Smith Entertainment Group Unveils Bold Vision to Transform Delta Center into a Premier Dual-Sport Hub

    From Taylor Swift to the Oscars, 400-year-old ‘Hamlet’ flourishes in the age of TikTok – Audacy

    How Social Network Currency is Launching a Grad’s Career in Entertainment Journalism

    Live Nation Entertainment Stock Soars 7% Today – Key Insights You Can’t Miss

    AMC Entertainment Grapples with Rapid Share Dilution as Market Pressures Mount

  • 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

    Is SES AI Corporation the Game-Changing Battery Technology Stock You Need to Watch?

    SkyWater Technology Stockholders Approve Exciting Merger Agreement with IonQ

    KULR Technology Group to Host Q1 2026 Earnings Call on May 14 at 4:30 p.m. ET

    NCR Voyix Set to Dazzle at the 21st Annual Needham Technology, Media & Consumer Conference

    Danville High School’s Automotive Technology Classes Get a Boost with New Vehicle from Public School Foundation

    Seagate Technology Holdings PLC $STX Position Increased by Swedbank AB – MarketBeat

    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

Is SES AI Corporation the Game-Changing Battery Technology Stock You Need to Watch?

May 10, 2026

49ers Celebrate Mother’s Day with Heartfelt Wishes to All Moms

May 10, 2026

Scientists Sound the Alarm on Hyperscale Data Centers’ Impact on the Environment

May 10, 2026

Deep-Diving Fur Seals Show Delayed Heart Surges Upon Returning to Land

May 10, 2026

UAP: Trump, Congress, Pentagon Push NASA and Science Toward AI and Fuzzy Logic – The Times of Israel

May 10, 2026

Jacksonville Event Offers Free Health and Wellness Services to Support Local Patients in Need

May 9, 2026

Honor Our Heroes: Enjoy 10% Off at Main Event During Military Week!

May 9, 2026

Penguins send three players to World Championships – Yahoo Sports

May 9, 2026

How Germany’s Climate Economy is Powering Innovation and Sustainable Growth

May 9, 2026

Starz Entertainment Reports Bigger-Than-Expected Q1 Loss as Revenues Decline Year-Over-Year

May 9, 2026

Categories

Archives

May 2026
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Apr    
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,208)
  • Economy (1,228)
  • Entertainment (22,105)
  • General (21,429)
  • Health (10,262)
  • Lifestyle (1,240)
  • News (22,149)
  • People (1,230)
  • Politics (1,248)
  • Science (16,443)
  • Sports (21,727)
  • Technology (16,213)
  • World (1,219)

Recent News

Is SES AI Corporation the Game-Changing Battery Technology Stock You Need to Watch?

May 10, 2026

49ers Celebrate Mother’s Day with Heartfelt Wishes to All Moms

May 10, 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