Skip to content

Commit

Permalink
Mention Webassembly and Zig
Browse files Browse the repository at this point in the history
  • Loading branch information
tidwall committed Mar 30, 2024
1 parent 5473087 commit 190f4a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ I designed it for programs that need real-time geospatial, such as geofencing, m
- Reads and writes [WKT](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry), [WKB](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry), and [GeoJSON](https://en.wikipedia.org/wiki/GeoJSON).
- Provides a purely functional [API](docs/API.md) that is reentrant and thread-safe.
- Spatial predicates including "intersects", "covers", "touches", "equals", etc.
- Compiles to Webassembly using Emscripten
- [Test suite](tests/README.md) with 100% coverage using sanitizers and [Valgrind](https://valgrind.org).
- Self-contained library that is encapsulated in the single [tg.c](tg.c) source file.
- Pretty darn good performance. 🚀 <sup>[[benchmarks]](docs/BENCHMARKS.md)</sup>
Expand Down
2 changes: 2 additions & 0 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ CC=clang-17 tests/run.sh # use alternative compiler
CFLAGS="-O3" tests/run.sh # use custom cflags
NOSANS=1 tests/run.sh # do not use sanitizers
VALGRIND=1 tests/run.sh # use valgrind on all tests
CC="emcc" tests/run.sh # Test with Emscripten (webassembly)
CC="zig cc" tests/run.sh # Test with the Zig C compiler
```

## Benchmarks
Expand Down

0 comments on commit 190f4a6

Please sign in to comment.