-
[Godbolt Link](https://godbolt.org/z/EcojqEbhc)
As you can see in the asm output, even set `opt-level = 3`, if we don't add `Copy` to structs with all fields `Copy` derived, in `clone()` it generate…
-
What kind of structs should we add to enable deep learning applications?
-
Current `Library` struct looks like so:
```rust
pub struct Library {
digest: RpoDigest,
exports: BTreeMap,
mast_forest: MastForest,
}
enum Export {
Local(MastNodeId),
Ex…
-
Currently there's no way to set default values for strucs. I don't want this to turn into fully fledged constructors, but it should work for constants in the same way as default arguments work. They w…
-
### Company or project name
_No response_
### Question
create table with
```sql
set flatten_nested = 0;
CREATE TABLE nested_test
(
`id` Int64,
`nested_field` Nested(a DateT…
-
When a struct is embedded inside a type, the generated TypeScript definition for that type produces a key/value pair where the key and value are named after the struct, instead of inlining the fields …
-
Sometimes when a methods signature gets fairly long, it's nice to extract the parameters into a struct, both for readability, and to avoid annoyances/errors around parameter ordering. I was wondering …
-
### I tried this:
```wing
struct A {
a: num;
}
struct B {
a: num;
}
let x: A = B { a: 0 };
```
### This happened:
Compilation error (`Expected type to be "A", but got "B" inst…
-
.NET currently supports passing/returning structs according to hardware floating-point calling convention up to 16 bytes for reasons stated in https://github.com/dotnet/runtime/pull/107286#discussion_…
-
Right now, we declare `valkeyContext`, `valkeyAsyncContext`, `valkeyClusterContext`, and `valkeyAsyncClusterContext` in our public headers, exposing their memory layout.
This makes it a lot harder …