News for hackers. Stuff that matters.
Re:Modern C [pdf] by solidsnack9000 on Sunday November 27, 2016 @10:54PM (#13053296)
Databases have been written in Java, too; but the combination of performance unpredictability (not something Go has addressed, since it is also garbage-collected) and a bad C compatibility story has proven to limit the reach of these projects.
Re:Modern C [pdf] by dlanouette on Monday November 28, 2016 @09:45AM (#13055667)
> Databases have been written in Java, too;

Your comment seems to imply that java hasn't been successful for db development. HBase, Cassandra and ElasticSearch would all disagree.

Yes, there are situations where GC is not appropriate. But I think those situations aren't as common as they are made out to be.

Re:Modern C [pdf] by solidsnack9000 on Monday November 28, 2016 @02:01PM (#13057554)
Well, I'm thinking of RDBMSes, of which there are some written in Java -- but I think you would agree, they have never gained much traction relative to Postgres and MySQL (or Oracle in enterprise).

HBase and ElasticSearch, and even Cassandra can be seen as somewhat niche today. This doesn't mean they aren't doing something of value; and it doesn't mean using the same platform for OLTP and OLAP is the way of the future; but it does mean the competition in their space is more limited and less indicative. There are ground-up rewrites of Cassandra in non-GC'd languages out there, for what it's worth.

Re:Modern C [pdf] by throwbsidbdk on Monday November 28, 2016 @08:05AM (#13055122)
True. Even very successful database projects in Java have some issues with GC pauses.

Go seems to be, IMO, taking the things Java is best at and trying to make something better. Basically, how would you build Java today if you could do it again?

Re:Modern C [pdf] by pjmlp on Monday November 28, 2016 @08:30AM (#13055238)
> Basically, how would you build Java today if you could do it again?

Take Modula-3 (1986), change the keywords to lowercase and re-brand it as "Cool Language X".

Still better Go than C.