Robert Clausecker
Robert Clausecker
The same patch to `mmap` with `MAP_ANONYMOUS` is also needed to make Ladybird work on FreeBSD (again). I'll include it as a distribution patch into the port.
This is a known issue; the port is currently marked as BROKEN on FreeBSD 15-CURRENT for this reason.
This is very cool! Looking forwards to seeing your code. How do you adapt the `pdep` / `pext` bits on the mask registers? Does RVV have something like that on...
> I'm not sure what pdep/pext is used for in the current implementations. It's used to translate the various masks between the UTF-8 and the UTF-16 space, mainly for validation,...
Domain names are usually short, so I'm not sure if there's much benefit from a SIMD-optimised transcoder. Can likely be done though.
I had thought about NEON support before. As NEON does not have an equivalent to the `vpcompressb` instruction nor anything like `pdep` or `pext`, reengineering of the code will be...
These 5% are more than compensated for by reducing cache pressure. Remember, in real world applications, transcoding strings is only a small part of what an application does. Not trashing...
Hm looks like you may have already fixed that, but as you do not make releases, it is unknown how long it takes for these changes to percolate downstream.
I'm a maintainer of the FreeBSD ports collection where I noticed this problem in the version of quickcpplib we ship.
Correction: FreeBSD 14 and above do have `secure_getenv`. All FreeBSD versions allow clearing the environment by setting `environ` to `NULL`, but only FreeBSD 14 and above have `clearenv`.