Jan Ph. H.

Results 467 comments of Jan Ph. H.
trafficstars

Yes, you nailed it. Conventional commits does not specify the body of keywords. And I wanted to force the text for the user to be as short as possible for...

@Srekel "I already support different float types" What does this mean? There are many representations. Do you support both binary or decimal floating-point types or even more? Here is another...

See `./lib/compiler_rt/README.md`: ``` Goals: zig as linker for object files produced by other compilers => function compatibility to compiler-rt and libgcc for same-named functions compatibility conflict between compiler-rt and libgcc:...

@TwoClocks What is the minimal subset in compiler_rt of [this runtime routines](https://gcc.gnu.org/onlinedocs/gccint/Fixed-point-fractional-library-routines.html#Fixed-point-fractional-library-routines) to provide something usable? I would assume the conversion can be generalized at cost of efficiency (DSPs use...

> Providing decimal floating-point support in Zig would be more useful than binary fixed-point. To be fair, decimal floating points have not yet been optimized on performance and memory representation....

I think this is the correct approach rather than work around Windows changing file semantics in Windows 10 (found it here https://news.ycombinator.com/item?id=23745019) https://stackoverflow.com/questions/60424732/did-the-behaviour-of-deleted-files-open-with-fileshare-delete-change-on-windows The workaround with renaming sounds more cumbersome....

> Ah, that's a problem. We probably need a different implementation then. It might be worth looking at another implementation like boost::fs, which implements posix semantics on windows. https://github.com/boostorg/filesystem/blob/fcc11010a5899d6a16d3f0a9d60704f88d62eada/src/operations.cpp#L1421 As...

The relevant parts of boost (without functionality fallback) work like the following: ```txt 1. set_file_information_by_handle with file_disposition_info_ex_class for deletion; break on success; 2. ifnot ERROR_ACCESS_DENIED goto error; 3. get_file_information_by_handle_ex with...

@BratishkaErik I can not reproduce with Linux your result for `PATH="/sbin/" zig-out/bin/build`. What OS are you using? `PATH="" ./tmp` also fails. I am currently debugging (fixing up my gdb skills)....