Jason Pepas

Results 33 comments of Jason Pepas

On a related note, here is a script to build and install janet into /opt. ``` #!/bin/bash set -e -o pipefail version=1.8.1 url=https://github.com/janet-lang/janet/archive/v${version}.tar.gz mkdir -p $HOME/dist if [ ! -e...

By the way, the above script works on Windows 7 / MSYS2 if you make the following modifications to the `Makefile`: - remove `-rdynamic` from the `LDFLAGS` line - swap...

I ran into issues on OS X (Tiger, PowerPC) due to missing `clock_gettime`, `arc4random_buf` and `posix_spawn`.

Startup time is fantastic! `time janet -e '(+ 1 1)'` - i7 3280 *2.7GHz*: **7ms** - i3 2350 *2.3GHz*: **8ms** - Core 2 *1.86GHz*: **5ms** (lol, faster???) - Atom *1.6GHz*:...

(sorry for the thread hijack!) A while back I used a trivial (non-tail-recursive) fibonacci benchmark to compare startup latency and raw function-call throughput of some scheme interpreters: https://gist.github.com/cellularmitosis/aa3001c8d5a961f7b382f6576978b644 Today I...

`tiger.patch`: ```diff diff -urN janet-1.10.1/Makefile janet-1.10.1.tiger/Makefile --- janet-1.10.1/Makefile 2020-06-18 19:24:17.000000000 -0500 +++ janet-1.10.1.tiger/Makefile 2020-06-25 21:37:26.000000000 -0500 @@ -259,17 +259,17 @@ cp -rf $(JANET_HEADERS) '$(DESTDIR)$(INCLUDEDIR)/janet' mkdir -p '$(DESTDIR)$(JANET_PATH)' mkdir -p '$(DESTDIR)$(LIBDIR)'...

`build-janet-tiger.sh`: ```bash #!/bin/bash # Build and install janet-lang on OS X Tiger, as a user, # into ~/opt/janet-x.x.x, and symlink into ~/local/bin or ~/bin. # Note: this does not build...

> Why would macos ever be missing posix_spawn? This page seems to have some insight into the history of `posix_spawn` on OS X: > _It was present in 10.5 but...

I'd like to agree, but in truth, popular is a stretch 🤣 But among the PowerPC Mac crowd, nearly all of them will be running either Tiger or Leopard. Tiger...