/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

gcc.godbolt.org
| | zig.godbolt.org

const std = @import("std"); const testing = std.testing; const utfValidator = struct { const State = enum(u6) { ok, one, two, three, fail, }; fn step(char: u8, state: State) State { return switch (state) { .ok => switch (char) { 0x00...0x7f => .ok, 0xc0...0xdf => .one, 0xe0...0xef => .two, 0xf0...0xf7 => .three, else => .fail, }, .one => switch (char) { 0x80...0xbf => .ok, else => .fail, }, .two => switch (char) { 0x80...0xbf => .one, else => .fail, }, .three => switch (char) { 0x80...0xbf => .two, else => .fail, }, .fail => .fail, }; } }; fn pext(val: u64, mask: u64) callconv(.Inline) u64 { return asm("pext %[m],%[v],%[r]":[r] "=r" (-> u64) : [v] "r" (val), [m] "r" (mask)); } pub fn is_utf8(data: []const u8) bool { const table1 = comptime init: { var tmp = ...
0.1 parsecs

Travel
| |
| | www.wingolog.org

wingolog: article: firefox's low-latency webassembly compiler
5.7 parsecs

Travel
| |
| | spidermonkey.dev

In September, machine learning engineers at Mozilla filed a bug report indicating that Firefox was consuming excessive memory and CPU resources while running Microsoft's ONNX Runtime (a machine learning library) compiled to WebAssembly.
5.7 parsecs

Travel
| |
| | shrik3.com

[AI summary] A technical blog post explains the ELF binary format, dynamic linking, and the roles of the dynamic linker, GOT, PLT, and symbol tables using command-line examples.
15.8 parsecs

Travel
|