Earlier quoted context omitted.
> because it made sense even back then. That was necessary for performance back then. User-defined value types weren't, and Java has done well without them. > Object has semantics, and that was a mistake, because it contributes to the bloat. I think most of the RAM bloat is due to the GC trading off extra RAM for speed rather than object headers, and I'm not sure trading off complexity for headers was right 25 years…
Heap (over)use by the GC is effectively a scaling factor. How large the underlying objects are remains remains relevant: if your objects are twice the size necessary, the GC will "bloat" that further - and this tradeoff isn't entirely GC specific, other allocators such as those used to implement malloc/free have related tradeoffs to make; free() won't release memory to the OS either (and memory, released or not, may…
Go is Google's language, not ours
661–670 of 679 posts
Re: Go is Google's language, not ours
#662Earlier quoted context omitted.
What user-defined value types did CL have in '95? Also, are you sure about VB having had them then? As for AOT, there may not have been sufficient demand from Sun/Oracle. I only joined relatively recently, but we generally do expensive things only if we believe they have a huge benefit or in huge demand, and we believe it can be long-lasting. The assumption is that any new feature will require maintenance for 20 year…
Arrays, structs, fixnums, explicit stack allocation. I can check the respective manuals if you wish. Yep, I did VB programming for a short while. And please note that even though my focus is now elsewhere, Java is one of my favourite eco-systems. As a peasant I just wished that Java 1.0 was more like Go, given the existing alternatives back then. So it kind of stayed as a pet peeve of mine. Same applies to .NET, just…
Re: Go is Google's language, not ours
#663Earlier quoted context omitted.
Arrays, structs, fixnums, explicit stack allocation. I can check the respective manuals if you wish. Yep, I did VB programming for a short while. And please note that even though my focus is now elsewhere, Java is one of my favourite eco-systems. As a peasant I just wished that Java 1.0 was more like Go, given the existing alternatives back then. So it kind of stayed as a pet peeve of mine. Same applies to .NET, just…
Well, we can disagree about when AOT and value types became critical for Java (and I would argue that they clearly weren't back then because Java has done spectacularly without them), but Java is getting both soon.
However due to the hardware architecture changes and new kids on the block, it is starting to be an issue.
I keep wishing to see them arrive, have watched all the JVM Language Summit, Devoxx and JavaONE talks about them.
Meanwhile I can already enjoy them elsewhere. :(
Re: Go is Google's language, not ours
#664Earlier quoted context omitted.
Well, we can disagree about when AOT and value types became critical for Java (and I would argue that they clearly weren't back then because Java has done spectacularly without them), but Java is getting both soon.
I would say that it had other factors that contributed to its sucess, so it succeeded in spite of lacking those features. However due to the hardware architecture changes and new kids on the block, it is starting to be an issue. I keep wishing to see them arrive, have watched all the JVM Language Summit, Devoxx and JavaONE talks about them. Meanwhile I can already enjoy them elsewhere. :(
That's perfectly fine. We think that our priorities are right for the workloads Java is used for (e.g. people care more about a low-latency GC like ZGC, and deep low-overhead in-production profiling, like JFR, than about AOT).
Re: Go is Google's language, not ours
#665Earlier quoted context omitted.
The fact is Go team learns from other implementations and it's clear from talks and articles. Another fact is that you're accusing them in having the "mindset of refusing to look at established work". Those two facts don't get along together, that's why I disagree.
They stuck their heads in the sand refusing to have a package manager for like 8 years and asking people to put dependencies on a vendor folder. That's not learning from established work.
Re: Go is Google's language, not ours
#666Earlier quoted context omitted.
Are they paying Oracle though? A quick Google found this: https://seekingalpha.com/article/4229086-oracle-growth-dead If Oracle revenue is no longer growing, maybe new development leans more towards Postgres and other open source offerings?
> Revenue US$39.83 billion (2018) Even not growing, they are indeed paying Oracle.
Re: Go is Google's language, not ours
#667Re: Go is Google's language, not ours
#668Actually there are relatively few real (TM) open source projects driven by the community, at least if you look at important projects. Many open source projects are just commercial projects driven mainly by a single company. Look for example at Redis, MongoDB, MySQL, and Elasticsearch. They follow exactly the model described in the article. Technologies like these could have been developed by a community, too, but it…
The simple and sad truth: -Nobody gets fired for buying Oracle. -It's easy .. explaining an investment in open source .. good luck
I can think of environments where you'd get fired. Oracle these days screams "legacy", and especially if you're working on low-latency projects like trading systems it would be a huge, expensive mistake.
Re: Go is Google's language, not ours
#669Actually there are relatively few real (TM) open source projects driven by the community, at least if you look at important projects. Many open source projects are just commercial projects driven mainly by a single company. Look for example at Redis, MongoDB, MySQL, and Elasticsearch. They follow exactly the model described in the article. Technologies like these could have been developed by a community, too, but it…
The simple and sad truth: -Nobody gets fired for buying Oracle. -It's easy .. explaining an investment in open source .. good luck
Nah, even when Oracle was more dominant than they are today, that wasn't entirely true:
https://www.cnet.com/news/california-cancels-oracle-contract...
Re: Go is Google's language, not ours
#670Earlier quoted context omitted.
These are not bad things if you’re writing system code.
Is there ever a plan for GC?
[1]: https://github.com/Manishearth/rust-gc [2]: https://github.com/withoutboats/shifgrethor