News for hackers. Stuff that matters.
Re:Zig now has built-in HTTP server and client in std by jtanza on Thursday May 18, 2023 @06:06PM (#35994802)
As someone who only has some minor experience with Go, can you maybe elaborate a bit on what you mean by the stdlib providing such interfaces? I don’t recall any such paradigm being called out when first learning the language and it sounds pretty interesting.
Re:Zig now has built-in HTTP server and client in std by 2h on Thursday May 18, 2023 @06:42PM (#35995248)
https://github.com/mattn/go-sqlite3/blob/master/_example/sim...

notice that the SQLite package isn't used directly, its only imported to handle the database behind the scenes. all the actual code is written using only the standard library