Benki β†’ Bookmarks

β‡  previous page next page β‡’

It is clearly a bad idea to use jakarta.json.Json, which looks up jakarta.json.spi.JsonProvider using java.util.ServiceLoader for each method call:

perf: Reuse a single JsonProvider.

This speeds up the formatter significantly.

Before:

    Benchmark                                         Mode  Cnt     Score      Error  Units
    FormatterBenchmark.massivelyStructuredLogRecord  thrpt   10  6552.727 Β± 2169.572  ops/s
    FormatterBenchmark.simpleLogRecord               thrpt   10  8126.699 Β± 2259.912  ops/s
    FormatterBenchmark.structuredLogRecord           thrpt   10  5594.849 Β± 1129.151  ops/s

After:

    Benchmark                                         Mode  Cnt       Score        Error  Units
    FormatterBenchmark.massivelyStructuredLogRecord  thrpt   10  137879.001 Β±  30467.644  ops/s
    FormatterBenchmark.simpleLogRecord               thrpt   10  896085.217 Β± 249890.421  ops/s
    FormatterBenchmark.structuredLogRecord           thrpt   10  553428.807 Β± 194787.754  ops/s

Creates WebAssembly components from JavaScript by embedding a full SpiderMonkey runtime in each component.

The resulting components are large, but not as slow as you might think.

A systems programming language that is a superset of Python. Targets AI development. Has an ownership model similar to Rust’s, but has an otherwise simpler type system with a focus on compilation speed.

If someone can pull it off, Chris Lattner can.

A small, Rust-only embedded operating system with preemptive multitasking and message-passing IPC.

Group dynamics inhibit idea generation and expression regardless of how you lead and organize the group.

Let individuals be creative instead.

Here is my own experience with open-ended meetings in general: In a group setting, the socially strong – always the same people, and not necessarily the ones with the most to contribute – dominate the discussion. Because of how quickly the discussion moves, everyone else rarely gets to even form their own opinion, let alone voice it.

A screensaver for Windows that accurately simulates the look and feel of an operating system crash.

β‡  previous page next page β‡’