Lukas Kalbertodt

Results 298 issues of Lukas Kalbertodt

The source only distinguishes between `unix` and `windows` and for `unix`, `rscam` is used. But this is just a wrapper around v4l2 which seems to not exist for MacOS?

enhancement
help wanted

Compiling this code: ```rust pub fn foo(slice: &[u32], index: usize) -> u32 { slice[index] } ``` Results in this output: ``` asm_test::foo: push rax cmp rdx, rsi jae .LBB2_2 mov...

According to [this](https://doc.rust-lang.org/reference/type-layout.html#reprc-structs) definition of `repr(C)` in Rust, structs where all fields have the same type are laid out like arrays (no padding anywhere). The reference doesn't directly state this,...

Some targets do not offer all atomic features used in `core::sync::atomic`. On those targets, the standard library just does not have specific types or methods. This is problematic for `atomig`,...

Basically just a personal reminder about what I planned on doing next. - [x] Change representation of `Tm` to use 5 bits per action, 10 per state. That allows us...

I feel like this functionality could be useful to more people. Having it in its own crate would also encourage better testing and a nice API design.

Do you have any opinions, complaints, suggestions, ideas, ... about this library or its syntax? Let me know :)

From https://github.com/LukasKalbertodt/bunt/issues/1#issuecomment-812863115: > Could the color and other styles be specified by argument? For example, > > ```rust > bunt::println!("{$*}error:{/$}", Color::Red, ty); > ``` > > In that case I...

There was [some discussion](https://github.com/rust-lang/rust/issues/23818) about this regarding the `std` macros. Depending on the reason for deciding against it, maybe `bunt`'s versions of these two macros should flush automatically.

The normal calculation is not usable with a very detailed mesh (like mandelbulb at 5 iterations or more). The whole calculation depends critically on the sampling offset. Right now it's...