Alex Kladov

Results 856 comments of Alex Kladov

> Since this is mostly for shell scripts It would be useful in IntelliJ Rust as well, though I would also prefer simple text format.

Let me attempt at a summary here. The problem to solve here is providing access to flake metadata as a plain inert data, which only needs parsing, but not evaluation....

Notes from myself: Zig is designing a similar system at the moment. The [current thinking](https://ziggit.dev/t/new-zig-build-system-documentation/2191/5) is to have `build.zig` with code to describe how to build the current package, and...

Will fold this into https://github.com/tigerbeetle/tigerbeetle/pull/2047. I am also a bit uneasy with our configuration matrix --- we have _so many_ ways to configure TigerBeetle! I wonder if we can reduce...

Nice, I needed something like this the other day for TigerBeetle --- we have a vsr module, which we'd love to use as a dependency for other modules, but which...

There's an important note about performance. Because `Path` is not represented as `CString` / `OsString`, every operation which can fail with path-related error already has to allocate on the happy...

Somewhat simplified example which shows the different treating of primitives and structs: ```zig const std = @import("std"); fn f(a: i32, b: *i32) void { b.* = 92; std.debug.print("{}\n", .{a}); }...

Couple of explorations of this language design problem space for the reference: * https://outerproduct.net/boring/2021-05-07_abi-wrong.html * https://www.foonathan.net/2022/07/carbon-calling-convention/ * https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/values.md#value-expressions

The big difference here is that for allocators&IO, virtualized functions are very cold, and the cost of indirect call (or more specifically, the cost of missing inline), is genreally dominated...