News for hackers. Stuff that matters.
Re:Nomad vs. Kubernetes by tazjin on Friday October 15, 2021 @06:36AM (#28876290)
But it did not replace it. Google runs on Borg. Go lets you build things fast, but the lack of strong typing and the vast amount of language pitfalls make maintenance hard in the long run.

The community also has the attitude to pretend that these pitfalls don't actually exist, which is very different from C++ where most peculiar behaviours are well-understood and controlled.

Re:Nomad vs. Kubernetes by johnnycerberus on Friday October 15, 2021 @06:42AM (#28876320)
Sorry, I don't think I have been explicit in my comment. The language of K8s, a system which is the so-called direct descendant of Borg, replaced C++ at that layer. Also, Go is strongly typed.
Re:Nomad vs. Kubernetes by mijoharas on Friday October 15, 2021 @04:24PM (#28882736)
I'd argue that go is statically typed rather than strongly typed due to `interface{}`.

> There is no real agreement on what "strongly typed" means, although the most widely used definition in the professional literature is that in a "strongly typed" language, it is not possible for the programmer to work around the restrictions imposed by the type system. This term is almost always used to describe statically typed languages.

(random definition found googling).

Re:Nomad vs. Kubernetes by still_grokking on Friday October 15, 2021 @10:34PM (#28885097)
Actually Google knew at the time they "designed" k8s that Borg doesn't scale due to fundamental design flaws in it's basic architecture. Still they reused the exact same architecture for k8s.

Who wants to know the details of those scaling issues can google for the Omega paper.

The "proper"™ solution to those design flaws was implemented in Mesos (and to my knowledge nowhere else until now).

Re:Nomad vs. Kubernetes by ksec on Saturday October 16, 2021 @02:43PM (#28890298)
>The "proper"™ solution to those design flaws was implemented in Mesos

And yet somehow Mesos failed... sigh.

Re:Nomad vs. Kubernetes by still_grokking on Saturday October 16, 2021 @03:23PM (#28890650)
Because the market never chooses the most advanced technology.

It chooses the (perceived) cheapest thing with the best marketing. Always.

Re:Nomad vs. Kubernetes by hnlmorg on Friday October 15, 2021 @06:42AM (#28876322)
I've had just as many problems maintaining mature C++ projects as I have maintaining mature Go projects.

Ultimately it all boils down to two things:

- The projects being well written and well maintained from the outset

- Personal preference

I cannot overstate that second point.

It really is about time developers stopped pushing their own personal preferences as if it's some kind of fact.

Re:Nomad vs. Kubernetes by pdimitar on Friday October 15, 2021 @07:16AM (#28876560)
> It really is about time developers stopped pushing their own personal preferences as if it's some kind of fact.

Agreed, so let's all go to Rust or OCaml because they have very strong static typing systems. ;)

Both C++ and Go have plenty of warts, with C++ having way too many footguns and Go allowing you to use it as a dynamic language whenever you figure it's too much work to go through your problem with static types.

Re:Nomad vs. Kubernetes by still_grokking on Friday October 15, 2021 @10:27PM (#28885077)
> Agreed, so let's all go to Rust or OCaml because they have very strong static typing systems. ;)

Seems very reasonable. Especially OCaml should get more of the praise it deserves.

If you need to stay on the JVM there's Scala which allows (with some discipline) to write "when it compiles it works" code.

Re:Nomad vs. Kubernetes by hnlmorg on Monday October 18, 2021 @12:39PM (#28907491)
You've very much missed the point of my post. But from the tone of your reply, I sense we'd never see eye to eye anyway.
Re:Nomad vs. Kubernetes by wbl on Friday October 15, 2021 @09:55AM (#28877717)
Which human do you think understands C++?