3 ms·
Databases have been written in Java, too; but the combination of performance unpredictability (not something Go has addressed, since it is also garbage-collecte
by solidsnack9000 10y ago
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.
- throwbsidbdk 10y agoTrue. 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?
- pjmlp 10y ago> 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.
- dlanouette 10y ago> 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.
- solidsnack9000 10y agoWell, 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.