Hacker GitHub

← All repos

attractivechaos/plb2

View on GitHub ↗ ★ 287 C

A programming language benchmark

11 mentions on Hacker News by 7 people: 1 story, 10 comments · first 2024-01-03 · latest 2024-12-25

Mentions per year 11 mentions · busiest year 2024 (11)
20082026
  1. …node is ~60% faster than TruffleRuby and over an order of magnitude faster than yjit v3.3.0. [1] https://github.com/attractivechaos/plb2?tab=readme-ov-file#a...
    comment by attractivechaos · 2024-12-25 · in Ruby 3.4.0
  2. https://github.com/attractivechaos/plb2 - limited but broad comparison across a large number of languages. Swift and Nim both compare favourably to C.
  3. https://github.com/attractivechaos/plb2/blob/master/README.m... Synthetic benchmarks aside, I think as far as average (spring boots of the world) code goes, Go beats Java almost every time, often in less lines than the usual pom.xml
  4. …Language Benchmarks 2 is on Apple Silicon, and apparently SBCL compilation works out of the box: < https://github.com/attractivechaos/plb2 >.
    comment by tmtvl · 2024-01-30 · in A Tour of the Lisps
  5. …so I wouldn't be surprised if programming in it awakens Deep Ones to feed on your sanity. * < https://github.com/attractivechaos/plb2 >
  6. …noticeable can be subjective. 10x vs 15x slower than v8 may not make much difference mentally. [1] https://github.com/attractivechaos/plb2
    comment by attractivechaos · 2024-01-09 · in Python 3.13 Gets a JIT
  7. …are like this; if you start with a pure interpreter, it may be difficult to speed it up later. [1] https://github.com/attractivechaos/plb2
    comment by attractivechaos · 2024-01-09 · in Python 3.13 Gets a JIT
  8. A curious thing about Swift: after https://github.com/attractivechaos/plb2/pull/23 , the matrix multiplication example is comparable to C and Rust. However, I don’t see a way to idiomatically optimise the sudoku example, whose main…
  9. …run for several seconds, including the startup time does not greatly affect the results." https://github.com/attractivechaos/plb2#startup-time
  10. …an `.iter().zip()` solution which benchmarks only a little slower (+10ms) than static allocation: https://github.com/attractivechaos/plb2/pull/4#issuecomment-...
  11. ▲ 163
    Benchmarking 20 programming languages on N-queens and matrix multiplication
    story by attractivechaos · 2024-01-03 · 186 comments