Get the latest tech news

Is Zig's new writer unsafe?


Karl Seguin's Blog - A mix of coding and creative writing

If it was a mission critical piece of code, maybe we'd benchmark it or make it platform dependent. There are legitimate scenarios where the nature of a Reader is unknown (or, at least, difficult to figure out). A type of a reader could be conditional, say based on an HTTP response header.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of zig

zig

Photo of New Writer Unsafe

New Writer Unsafe

Related news:

News photo

Show HN: Zedis – A Redis clone I'm writing in Zig

News photo

Automate compile_flags for C/C++ projects on the Zig build system

News photo

A Web Framework for Zig