Introduction
Introduction Statistics Contact Development Disclaimer Help
Posts by [email protected]
Post #AvRx4QuBLRgdfcQOUi by [email protected]
0 likes, 0 repeats
I find myself with the need for a std::vector-alike that embeds the capacity at…
Post #AvRxSv1n07k02neu6S by [email protected]
0 likes, 0 repeats
@dascandy you store the size as a member, just not the capacity. The capacity m…
Post #AvRy2KJ30amCZxcBFI by [email protected]
0 likes, 0 repeats
@dascandy I'm targeting an ABI where vector is (ptr,size) and want to lower…
Post #AvRyKPifcYLoa3DyJk by [email protected]
0 likes, 0 repeats
@dascandy a bit of both: it's for generating C++ bindings from Wasm's c…
Post #AvZOzV5IXK6C0VmPwW by [email protected]
0 likes, 2 repeats
Them: Alright, so first you write a test that failsMe: Yes, I'm nailing thi…
Post #AvaQwzeynMLn27MVU0 by [email protected]
0 likes, 0 repeats
@joncruz easy, you just stop writing the function when it gets too big to fit o…
Post #AvaQwzsnxxPRizpY24 by [email protected]
0 likes, 0 repeats
@smurthys @joncruz you get it
Post #AvaR0ah9YXaklR5tKa by [email protected]
0 likes, 0 repeats
Ah, now I remember why I stopped making joke posts here
Post #AvaR36jhOoJwiVU7xQ by [email protected]
0 likes, 0 repeats
@amit what is tdd
Post #AvaR36xAaj61OHmsxE by [email protected]
0 likes, 0 repeats
@amit what is a test
Post #AvaRUHmoQH0ao6tuFM by [email protected]
0 likes, 0 repeats
@crazyeddie what is an array
Post #Avac9yd32UXF5yqtE0 by [email protected]
0 likes, 0 repeats
If you're generating WebAssembly components from C, you might enjoy the doc…
Post #AvacABE0CvE2A4EZUW by [email protected]
0 likes, 0 repeats
Every time I read "SBOM" my brain says "Spicy Byte Order Mark&qu…
Post #AvacAxsPK04B3HVW8O by [email protected]
0 likes, 0 repeats
Context: the Wasm component ABI passes vectors as (ptr,size). Since C++ vectors…
Post #AvacAxyQxat3LyKKWm by [email protected]
0 likes, 0 repeats
I have an implementation that maybe works? https://godbolt.org/z/PnPM39c7q
Post #AvacAyCG8Bwi2qnN4q by [email protected]
0 likes, 0 repeats
@dotstdy Unfortunately I need to be able to hand off the buffer to code that is…
Post #AvacAzCIPXZN9Foum0 by [email protected]
0 likes, 0 repeats
I forget where the standard ended up with requiring std::launder here
Post #AvacD8GpeFDxrpxuoC by [email protected]
0 likes, 0 repeats
@thibault then you need storage to back the nested spans though
Post #AvacD8TwrTiSWW6OFk by [email protected]
0 likes, 0 repeats
@thibault at the ABI interface, the top-level vector needs to become a single (…
Post #AvacDswa7Lx6cdquGm by [email protected]
0 likes, 0 repeats
@pierstoval `size` is the number of elements currently stored, `capacity` is th…
You are viewing proxied material from pleroma.anduin.net. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.