Nathan Zimmerberg

Results 150 comments of Nathan Zimmerberg

@mkitti It looks like the `finalize` method cannot be made into a noop, and any use of a codec after calling `finalize` can lead to seg faults, so JLD2 will...

Yes, that requires adding checks for null pointers everywhere the codec is used.

With #72 I get ```julia julia> using CodecZstd, TranscodingStreams julia> compressor = ZstdFrameCompressor() ZstdFrameCompressor(level=3) julia> x = rand(UInt8, 4*10^7); julia> TranscodingStreams.initialize(compressor) julia> ret1 = transcode(compressor, x); julia> TranscodingStreams.finalize(compressor) julia> TranscodingStreams.initialize(compressor)...

Unfortunatly this PR creates OOM issues: ```julia-repl julia> using CodecZstd julia> function foo() for i in 1:500000 transcode(ZstdCompressor,zeros(UInt8,16)) end end foo (generic function with 1 method) julia> foo() Killed ```

> We should not rely on the GC to finalize external resources. Should I try and support both explicit-free when we know the Codec cannot escape and automatic-free for more...

I'm going to close this PR because I don't like that it uses an experimental API that may break in the future. With Zstd_jll being a standard library, this means...

There is a new version of 7z that supports unpacking zstd https://github.com/ip7z/7zip/releases/tag/24.05

From what I can tell we are already using 7zip 23.01 for Windows instead of p7zip. According to https://github.com/ip7z/7zip/blob/24.05/DOC/readme.txt compiling 7zip for Unix is possible now.

What does your company recommend for reading ".xz" files? Would any of the workarounds in https://discourse.julialang.org/t/alternative-to-7zip-when-installing-packages/111141 work for you?

In Julia 1.13, and maybe 1.12.2, 7-Zip will updated on Linux from p7zip v17.06 to upstream 7-Zip v25.01. On Windows, the full 7z.exe/7z.dll bundle is replaced with standalone 7za.exe, which...