-
I was trying to write this simple circuit
```rust
fn sum_arr(arr1: [Field; 3], arr2: [Field; 3]) -> [Field; 3] {
let mut result = [0; 3];
for idx in 0..3 {
result[idx] = arr1[idx]…
-
I tried this code:
```rust
#[derive(Debug)]
pub struct SharedBufferRng SourceType> {
receiver: Receiver,
calling_thread_fallback: Option
}
impl<
const WORDS_PER_SEED: usi…
-
## Generic Instantiation
Rust calls it monomorphization and in C++ it's called template specialization. In Chapel we just call it generic instantiation. This process is inherently challenging for l…
-
I was pointed to use `cast_slice` to easily send push constants to a pipeline, but upon inspection it became clear that the method doesn't respect alignment and can easily trigger UB.
Corrected cod…
-
### Code
I tried this code:
```rust
use std::collections::HashMap;
pub fn main() {
let mut table = HashMap::new();
for a in 0..0xff {
for b in 0..0xff {
…
-
범위 : 7장 ~ 12장 (12장 실습)
1. 느낀점
2. 내용정리
3. Q&A
-
Here's my idea -- I'd like to validate this with additional data, and I'll see if I can sketch out some numbers for potential improvement.
A lot of the structs in `nexus/db-model` derive `serde`'s …
-
*Migrated from https://fxbug.dev/100235*
In order to accomplish this, we need to be able to emit an impl which is bounded by a const expr, which requires the unstable feature [`generic_const_exprs`…
-
We should file the rel fixpoint bug after we find it
```haskell
#!/usr/bin/env stack
-- stack --resolver lts-9.2 exec liquid --package process --install-ghc
{-@ LIQUID "--higherorder" @-…
-
Sometimes when compiling code with `-Ztime-passes`, there is no space between rss column and the pass-name column:
````
time: 0.001; rss: 110MB match_checking
time: 0.000; rss: 110MB liveness_and_i…