Jens Alfke

Results 119 issues of Jens Alfke

I’m looking at using KRPC to reimplement an RPC interface previously implemented with CapnProto. The limitation I’m running into is that calls can be made in only one direction: one...

feature

### Summary The standard library could use a function to convert an `openarray[char]` or `openarray[byte]` to a `string`. ### Description Converting between byte arrays and strings is pretty common, in...

Feature
Standard Library

`util__random_bytes` uses a cryptographic RNG if built with OpenSSL, or if running on Linux or Windows. If none of those apply it falls back to insecure `random()`. On Apple platforms,...

Component: libmosquitto
Status: Accepted

Xcode 16.3's `-Wdocumentation` is pickier about syntax of @throws; I've fixed the few lines that triggered it.

Xcode 16.3's clang complains about syntax of `@throws`; I've fixed the few lines that triggered it.

`JSONSchema` class parses a [JSON Schema](https://json-schema.org) and validates Fleece Values against it. See header file for class documentation. You may want to look at the [JSON Schema docs / tutorial](https://json-schema.org/docs)....

- `destroy()` method releases the reference, equivalent to `= nullptr` which is otherwise disallowed. This is for cases where a non-null reference needs to be released in e.g. a `close()`...

`AtomicRetained` is a fully thread-safe version of `Retained` that supports concurrent gets and sets. It's a lot slower than `Retained`, so use it only when necessary: in situations where it...

Basically, anywhere a `Retained` was never expected/allowed to be null, I changed it to `Ref`. This makes APIs more clear, and allows UBSan (and to some degree, Clang) to detect...