Recent submissions

Comment · 1 year ago
> Sorry, but no - putting the burden on the developer to detect whether they are running in a container or not and then determine and adjust to cgroup settings is far too high an encumbrance on the service developer.

Because there’s no one way solution to this problem, the problem isn’t unique to only Go, but every GC language because you’re starving the program if there isn’t sufficient CPU Quota it will all eventually lead to CPU throttling, this isn’t really the problem of Go or any other GC language but at the OS layer, the inherent nature of containers

Secondly am pretty sure the Linux CFS does not strictly follow the CPU Quota, tho there could be something like a panic or warning, or switching to entirely different memory management just for what ? people who want 10ms ?

Comment · 1 year ago
Comment · 1 year ago
> As an example, the Go runtime does not honor container resource limits

That’s no longer true for Go 1.19+

Comment · 1 year ago
I would say the leaders(could be the creators) of the language plays the most important role in its infancy the decisions they make defines what decisions the community are gonna make and the was what Go made right, Java been a business oriented decisions made by the community will also be business oriented
Comment · 1 year ago
But you see nobody really wants to be “different” if there are 100 people and the first 90 went right the probability of the remaining 10 going right will be higher. Java was designed to be business oriented and I think this is why Go and Java is very different not in terms of language but the way the community makes decisions
Comment · 1 year ago
So the community influences the language, not the language that influence the community that explains everything
Comment · 1 year ago
Yeah, some dev usually don’t put safe guards especially when the user input is directly linked to file operations
Comment · 1 year ago
Oh, the community is the reflection on how the language is being maintained
Comment · 1 year ago
Does shell scripting really need to go hand in hand with the language flexibility ?
Comment · 2 years ago
Systems Programming is kinda generic category and it ultimately depends on the individual to define what’s system programming and what’s not, is it performance, security or access to hardware
Comment · 2 years ago
Nobody enjoys writing Go but there’s a reason do code in Go and we can’t ignore it
Comment · 2 years ago
Basically the type system, most rust projects usually don’t come near “The advanced Reason there’s rust” and if they do need that there’re hardcore libraries for that, an ecosystem like that usually suffers from exhaustion cause no dev will want to maintain just a library and this is also the good apart of rust cause it lessens the barrier into the language as the ecosystem gets bigger
Comment · 2 years ago
You can’t just compare a library from another language, because they’re different, if all flag parsing library were inspired by Clap it’ll be a living nightmare for language that isn’t rust
Comment · 2 years ago
You don’t have to worry people have been saying this for more than a decade now and I see no action about it

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton