2024-01-28 00:53:11 re malloc, you could also malloc big chunks and if you run out of memory, copy the current word to a new malloc'd chunk 2024-01-28 00:54:05 caveat being the word can't reference itself while being defined and you lose the end of the last chunk as wasted space 2024-01-28 00:58:06 modern systems tend not to be memory starved 2024-01-28 00:58:14 well unless Chrome 2024-01-28 01:28:25 oh that's cool. i'm sure tbe moment i got it working, some unexpected corner case would rear its ugly face though 2024-01-28 01:30:13 i'll just realloc for now and pay the penalty for copies. grow geometrically and it shouldn't happen too often. plus, i'm getting attached to the virtual addressing thing 2024-01-28 02:00:14 someone here was saying every executable in their forth system allocates 4gb ram at startup 2024-01-28 02:01:34 pretty sure WASM wanted a 16G slab 2024-01-28 02:08:37 the truth is that until those pages are faulted by writing to them, they aren't resident. but still, it feels dirty 2024-01-28 02:10:23 on linux, anyway. i would expect windows to work similarly but microsoft is so f'n stupid i wouldn't be surprised if it doesn't 2024-01-28 02:11:43 rumors have it NT has elegant internals 2024-01-28 02:17:07 is modern linux still nt, or did they do a big overhaul in some version since then? 2024-01-28 02:17:28 i mean windows 2024-01-28 02:43:16 at least through win10, still derived from NT, though with more in the kernel than NT had (e.g., parts of three video drivers) 2024-01-28 02:57:58 interesting 2024-01-28 02:58:27 and they still can't delete a file while it's open 2024-01-28 15:58:28 I read an article years ago about how the major OS's were "converging." It's not all together nonsensical - one would think there would be a "best way" for a lot of things. 2024-01-28 15:58:56 https://www.bbc.com/news/world-europe-68121654 2024-01-28 16:04:18 I can't quite get past the irony of that - complaining about too little food by wasting food. You'd think giving that soup to a hungry person would have made more sense. 2024-01-28 16:04:25 And thrown paint or something instead. 2024-01-28 16:04:56 That's above and beyond the irony of tying a centuries old work of art to something like that. 2024-01-28 16:05:55 serving the poor is less newsworthy 2024-01-28 16:16:29 On top of that, the painting is behind bullet-proof glass, so... you'd think they'd have known that too. 2024-01-28 16:17:49 Some of the geopolitical stuff I've been watching explains the fuel cost rise pretty well. The war in Ukraine, the Houthi disrupting Red Sea shipping, etc. 2024-01-28 16:18:24 I didn't realize before the war how much of European energy came from Russia.