Life & fun · February 14, 2023
JSON Parser in C
A JSON parser in c with some SIMD optimisation for skipping whitespace. The numerical and string parsing functions split out so they are independantly runnable. They were for me the 2 most difficult to understand how they work and to show how the parser was composed of lots of smaller parsers.
Does the same job
all alternatives →- PLParson, lighweight json parser in C2012 · kgabis.github.com · ▲46

- VLVery low footprint JSON parser in portable ANSI C2012 · github.com · ▲111

- BJBitwise JSON Parser written in C2014 · web.cs.dal.ca · ▲6
- JIJSON.is2016 · json.is · ▲100
More life & fun this month
the category →- TL
Life & fun · 10d ago · louisabraham.github.io

Photosynthesis fires two of your iPhone
Life & fun · 28d ago · photosynthesis.camera
SoloUno▲310Take control of hair pulling, nail biting & skin picking
Life & fun · 28d ago · solouno.io

Scroll through all 43,252,003,274,489,856,000 reachable Rubik's Cube permutations.
Life & fun · 26d ago · everycube.alen.is


Hi HN, I built Eigendrum, a web tool that solves the 2D wave equation for arbitrary shapes so you can hear what they sound like as drums. How it works: * Solves -∇²u = λu using finite element analysis (Kφ = λMφ) on a triangle mesh. * Validated to <0.1% error against closed-form solutions for circles (Bessel zeros) and rectangles. * Sound model factors in strike location, Rayleigh damping, and mallet width. * Includes Kac drums I & II to demonstrate identical sound spectra from different geometries. * No frameworks, build steps, or dependencies. Repo and tests:…
Life & fun · 26d ago · baselashraf81.github.io