Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
usrbinbash
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
451.
▲
by
usrbinbash
3y ago
> Forcing Rust into a domain where a GC'd language is more than enough offers absolutely zero advantages (yes, you'll have no memory safety issues, but neither you would have had you used Python or Java or Go or whatever), and
452.
▲
by
usrbinbash
3y ago
> ease of programming != ease of making undetected mistakes Disagree. GCed languages prevent the majority of errors the higher complexity of Rust unloads on the programmer to solve by wrestling with its syntax. So this is only a plus for
453.
▲
by
usrbinbash
3y ago
> and those who master will be certainly the more intelligent one. Rust isn't about being more intelligent, Rust is about being willing to jump through more hoops to get a guarantee that small subset of errors may not be in the exec
454.
▲
by
usrbinbash
3y ago
This isn't a discussion about the advantages or disadvantages of languages. This is a discussion about whether Go "misses" things, or "lacks" things, or if it's designed to not have these things, and if there i
455.
▲
by
usrbinbash
3y ago
> Anything by google will likely see a lot of uptake Disagree. https://www.failory.com/blog/google-failed-products
456.
▲
by
usrbinbash
3y ago
> More languages are incorporating them exactly because of how useful they are No, more languages are incorporating them, because most languages operate under the assumption that "more-is-better" is a good design maxime, also k
457.
▲
by
usrbinbash
3y ago
> And no, the language doesn't "handle that easily enough". Yes, the language handles it easily enough. ADTs, despite being the single most used example of "what Go doesn't have" since the language got gener
458.
▲
by
usrbinbash
3y ago
> The higher cost in developer time is a myth. And yet, Go is a huge success in the industry, and one of the main reasons often given for chosing Go over a competing language, is how easy it is to get things started, how easy it makes th
459.
▲
by
usrbinbash
3y ago
> Go's compiler can't do that because the type system can't handle it Correct. And that isn't a disdvantage. The fact that Go's type system "cannot handle that" directly in it's type system (func
460.
▲
by
usrbinbash
3y ago
> That link shows the Go type system's lack of expressiveness. And I ask again what that is supposed to mean in technical terms, and what specific problems would be prevented if Go's type system was "more expressive".
461.
▲
by
usrbinbash
3y ago
> At runtime. i.e. production. At runtime, i.e. initial testing, pre-commit-checks, integration-testing, QA and then production, yes. So there are a lot of checkpoints where the system can crash before it ever goes live. > You think t
462.
▲
by
usrbinbash
3y ago
> You're getting into the Turing tar-pit. I am fully aware of that. My question is, what specific technical problems are caused by Go not having {feature_goes_here}. > The big thing, though, is ADTs Except it isn't a big t
463.
▲
by
usrbinbash
3y ago
The fact that Go doesn't have C's macros alone already makes it a lot simpler. And please don't get me started on writing concurrent code in C.
464.
▲
by
usrbinbash
3y ago
> Go's type system is much less expressive Please, do explain: what does "much less expressive" mean, in technical terms? What specific data modeling can I not do in Go, and what specific bugs can be caused by that? >
465.
▲
by
usrbinbash
3y ago
> When you search "golang" on google for a long time, the question "Why people hate Go?" comes up at the top. I just did. Here are my top10 results: https://go.dev/ https://en.wikipedia.org
466.
▲
by
usrbinbash
3y ago
> A strong type system helps quite a lot with logic bugs actually. A static type system does, and all the languages that Rust has to compete with in its space, have one.
467.
▲
by
usrbinbash
3y ago
> Rust kind-of owns that space True. But it's a pretty small space to be in. And there are good reasons for that: a) The only correctness Rust can, mostly, guarantee, is that there won't be unexpected data races or memory bugs.
468.
▲
by
usrbinbash
3y ago
> so not really suited for performance critical stuff. What "stuff" is that exactly? Because Go is designed primarily for backend services and microservices. Considering how much backend software is powered by Python, Java, or
469.
▲
by
usrbinbash
3y ago
> The real entities we need to be afraid of in regards to privacy are governments & politicians, not companies & entrepreneurs. Why not both? > The worst thing a company can do is try to sell you more soap No, the worst thing
470.
▲
by
usrbinbash
3y ago
> Which is why all the LeetCode interviews always struck me as odd. They focus on algorithms, not data structures, which is exactly what you don't want to do out of the gate, most of the time. Which is one of the reasons why I will
471.
▲
by
usrbinbash
3y ago
It would be, if the professors website wouldn't suffer from false negatives as well. Which it most certainly will.
472.
▲
by
usrbinbash
3y ago
Well, as far as government pages go, I have seen worse. Only tested it on Desktop. The information density on desktop could be ALOT better, and that giant Title-Banner is just unnecessary. Page looks the same regardless of browser-preferred
473.
▲
by
usrbinbash
3y ago
> 1% of earth's resources to have a chance, of let's say super pessimistically, 15%, of actually surviving as a species That would be a good investment, yes. Unfortunately, a Mars colony doesn't realize that investment. Th
474.
▲
by
usrbinbash
3y ago
> Something that forces us to focus on what's important. Primarily, it would be something that forces us to send rocket after rocket of supplies there, wasting countless resources in the process for very little, if any, practical be
475.
▲
by
usrbinbash
3y ago
> and so the researchers cannot definitively say that Mars ever had a magnetic field We know that Mars had a dynamo-effect in the past from various measurements of the magnetization in its crust, indicating that it had a magnetic field.
476.
▲
by
usrbinbash
3y ago
A case study in how accessibility and compatibility are important for long term commercial success. > Although they arguably had better audio fidelity, they were more expensive than, and incompatible with, other makers' products an
477.
▲
by
usrbinbash
3y ago
> Cargo rockets don’t all need to be launched at once, they just need to be ready to burn in the launch window. So what's the plan, launch all those rockets into LEO, and then have them sit there for up to 2 years before sending the
478.
▲
by
usrbinbash
3y ago
Yes, and my microwave oven with integrated grill can do alot of things that my cast-iron skillet cannot. Problem is, when out camping, there is no power outlet for the microwave, and I'm pretty sure if it gets hit by heavy rain, or if
479.
▲
by
usrbinbash
3y ago
> Apollo 13 for example was saved by human improvisation. Yes, by human improvisation on the ground , with teams of engineers and scientists figuring out the exact steps the Astronauts had to perform, and transmitting these instructions
480.
▲
by
usrbinbash
3y ago
> I actually think we've basically reached agreement. Yes, I do think so too, and thanks for the discussion, I enjoyed it alot! > I want to see Mars terraformed in the next few hundred years I think it will be a few centuries unt
More ›