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
20082026
-
…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 -
https://github.com/attractivechaos/plb2 - limited but broad comparison across a large number of languages. Swift and Nim both compare favourably to C.
comment by tokyovigilante · 2024-03-14 · in Byte-Sized Swift: Building Tiny Games for the Playdate -
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
comment by Comma2976 · 2024-03-03 · in The One Billion Row Challenge in Go: from 1m45s to 4s in nine solutions -
…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 -
…so I wouldn't be surprised if programming in it awakens Deep Ones to feed on your sanity. * < https://github.com/attractivechaos/plb2 >
comment by tmtvl · 2024-01-22 · in Teaching D from Scratch: Is it a viable first language? (2021) -
…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 -
…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 -
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…
comment by GrumpySloth · 2024-01-03 · in Benchmarking 20 programming languages on N-queens and matrix multiplication -
…run for several seconds, including the startup time does not greatly affect the results." https://github.com/attractivechaos/plb2#startup-time
comment by igouy · 2024-01-03 · in Benchmarking 20 programming languages on N-queens and matrix multiplication -
…an `.iter().zip()` solution which benchmarks only a little slower (+10ms) than static allocation: https://github.com/attractivechaos/plb2/pull/4#issuecomment-...
comment by spense · 2024-01-03 · in Benchmarking 20 programming languages on N-queens and matrix multiplication -
▲ 163
Benchmarking 20 programming languages on N-queens and matrix multiplicationstory by attractivechaos · 2024-01-03 · 186 comments