12:58 |
billymg |
!!ticker btc usd |
12:58 |
deedbot |
$28,140 |
| |
~ 16 minutes ~ |
13:14 |
asciilifeform |
http://logs.bitdash.io/pest/2023-04-05#1025417 << waiwat?! ( post the src ? ) |
| |
↖ |
13:14 |
bitbot |
Logged on 2023-04-05 22:24:35 jonsykkel: reader works, next problem is that it takes 9sec to consoom 7gb ram reading its own 500line "boot code", lol |
| |
~ 1 hours 16 minutes ~ |
14:31 |
asciilifeform |
in entirely unrelated noose, asciilifeform finally found orig inventor of this ancient algo. updated page. |
14:42 |
jonsykkel |
http://logs.bitdash.io/pest/2023-04-06#1025422 << good question, evry loop is implemented in terms of recursion so theres a couple calls in total (37mil) |
14:42 |
bitbot |
Logged on 2023-04-06 13:14:34 asciilifeform[4]: http://logs.bitdash.io/pest/2023-04-05#1025417 << waiwat?! ( post the src ? ) |
14:42 |
jonsykkel |
and evry function call is 7+2*arg_n conses, evry cons is 16byte |
14:42 |
jonsykkel |
and i have no tail recursion optimization yet, but according to 5am calculations that can at most cut ram in half or so |
14:42 |
jonsykkel |
http://zzz.st/code/smalisp/tree/src/c99 && http://zzz.st/code/smalisp/tree/src/boot.scm |
14:43 |
jonsykkel |
(compiled with tmp bootstrap compiler in here http://zzz.st/code/smalisp/tree/tools) |
14:43 |
jonsykkel |
boot.scm written in careless way partly to see wat hapens if "just write some code" |
14:43 |
jonsykkel |
and that is, ur pc explodes |
| |
↖ |
14:43 |
jonsykkel |
but i will try to figure out exactly why its so fuking bad |