Shinmera@alien.topB to LispEnglish · 1 year agoMy Lisp physics engine for Trial is finally working!mastodon.tymoon.euexternal-linkmessage-square6fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkMy Lisp physics engine for Trial is finally working!mastodon.tymoon.euShinmera@alien.topB to LispEnglish · 1 year agomessage-square6fedilink
minus-squareShinmera@alien.topOPBlinkfedilinkEnglisharrow-up1·1 year agoIf you’re on Linux or Windows you can try it out yourself with SBCL: (ql-dist:install-dist "http://dist.shirakumo.org/shirakumo.txt") (ql:quickload :trial-examples) (trial-examples:launch :scene-loader)
minus-squarecorbasai@alien.topBlinkfedilinkEnglisharrow-up1·1 year ago (ql-dist:install-dist “http://dist.shirakumo.org/shirakumo.txt”) (ql:quickload :trial-examples) (trial-examples:launch :scene-loader) mine stall at [package org.shirakumo.machine-state]; ; caught ERROR: ; READ error during COMPILE-FILE: ; ; Symbol “*GC-REAL-TIME*” not found in the SB-EXT package. ; ; Line: 66, Column: 33, File-Position: 2176 ; ; Stream: # debugger invoked on a UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread #: COMPILE-FILE-ERROR while compiling #
minus-squareShinmera@alien.topOPBlinkfedilinkEnglisharrow-up1·1 year agoNot sure when that was introduced into SBCL, but suffice to say your version is too old.
minus-squaretheangeryemacsshibe@alien.topBlinkfedilinkEnglisharrow-up1·1 year agoIt was introduced in SBCL 2.3.7 as (= *gc-real-time* *gc-run-time*) (approximately, timer precision is weird) holds for serial GC, but not for parallel GC.
If you’re on Linux or Windows you can try it out yourself with SBCL:
mine stall at
[package org.shirakumo.machine-state];
; caught ERROR:
; READ error during COMPILE-FILE:
;
; Symbol “*GC-REAL-TIME*” not found in the SB-EXT package.
;
; Line: 66, Column: 33, File-Position: 2176
;
; Stream: #
debugger invoked on a UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread
#:
COMPILE-FILE-ERROR while
compiling #
Not sure when that was introduced into SBCL, but suffice to say your version is too old.
It was introduced in SBCL 2.3.7 as
(= *gc-real-time* *gc-run-time*)
(approximately, timer precision is weird) holds for serial GC, but not for parallel GC.