News for hackers. Stuff that matters.
Re:Zig now has built-in HTTP server and client in std by lenkite on Friday May 19, 2023 @12:27AM (#35997740)
> Java's database drivers massively lag behind (e.g. there's still no good async support for most of them),

Very Hard Disagree. JDBC is pretty amazing actually. Thats why you find so many Database tools and wizards written in Java as opposed to Rust.

Regarding async - With Java 19 virtual threads , you have newer versions of JDBC drivers support async with none to minimal changes. Example: https://medium.com/oracledevs/introduction-to-oracle-jdbc-21...

I am very, very glad that human civilisation standardised on one system for gears instead of every manufacturer making their own special snowflake.

Re:Zig now has built-in HTTP server and client in std by lmm on Friday May 19, 2023 @12:48AM (#35997875)
> Very Hard Disagree. JDBC is pretty amazing actually. Thats why you find so many Database tools and wizards written in Java as opposed to Rust.

Java is much older and bigger than Rust. I don't think its level of database tooling is noticeably better than other big languages with less of a standard database API (e.g. Python).

> Regarding async - With Java 19 virtual threads , you have newer versions of JDBC drivers support async with none to minimal changes.

So it's only taken what, 15 years, and even then it's only been done because they found a way to make it happen without having to actually change the API (which it remains to be seen how well that actually works in practice - I'm pretty skeptical because other platforms have tried and failed with that approach).

Re:Zig now has built-in HTTP server and client in std by dragonwriter on Friday May 19, 2023 @02:56AM (#35998640)
> I don't think its level of database tooling is noticeably better than other big languages with less of a standard database API (e.g., Python)

DB-API 2.0 (PEP 249) is very much a standard database API.