dave0 has joined #forth
jedb has quit [Remote host closed the connection]
jedb has joined #forth
dave0 has quit [Quit: dave's not here]
boru` has joined #forth
boru has quit [Disconnected by services]
boru` is now known as boru
proteus-guy has joined #forth
sts-q has quit [Ping timeout: 256 seconds]
sts-q has joined #forth
gravicappa has joined #forth
_whitelogger has joined #forth
hosewiejacke has joined #forth
WickedShell has quit [Remote host closed the connection]
xmc is now known as astrid
dysprosaic has joined #forth
zzalpha has joined #forth
zzalpha is now known as canabalt
canabalt has quit [Quit: zzz]
gravicappa has quit [Ping timeout: 265 seconds]
xek has joined #forth
cheater has joined #forth
astrid has quit [Ping timeout: 256 seconds]
astrid has joined #forth
proteus-guy has quit [Ping timeout: 264 seconds]
iyzsong has quit [Quit: ZNC 1.7.5 - https://znc.in]
iyzsong has joined #forth
hosewiejacke has quit [Ping timeout: 272 seconds]
dave0 has joined #forth
dysprosaic has quit [Ping timeout: 272 seconds]
dave0 has quit [Quit: dave's not here]
gravicappa has joined #forth
cheater has quit [Ping timeout: 265 seconds]
cheater has joined #forth
iyzsong has quit [Quit: ZNC 1.7.5 - https://znc.in]
iyzsong has joined #forth
WickedShell has joined #forth
cheater has quit [Ping timeout: 265 seconds]
cheater has joined #forth
cheater has quit [Ping timeout: 240 seconds]
X-Scale` has joined #forth
X-Scale has quit [Ping timeout: 265 seconds]
X-Scale has joined #forth
X-Scale` has quit [Ping timeout: 256 seconds]
cheater has joined #forth
X-Scale` has joined #forth
<veltas> cheater: You mean like 'BASIC's implemented in forth?
X-Scale has quit [Ping timeout: 240 seconds]
X-Scale` is now known as X-Scale
<veltas> There might be some, probably not many though, they were popular back when if you wanted a BASIC then you implemented a BASIC in machine code, not anything else.
<cheater> hi
<cheater> yes
<veltas> The ZX Spectrum's BASIC had a calculator stack VM it used for storing its mathematical functions
<veltas> I think that's probably stolen from something like an old HP BASIC
<cheater> so the basic is implemented on top of that vm?
<veltas> And really, most interpreted languages boil down to a stack-based VM, like most JS implementations are a just-in-time optimised version of that, and the JVM
<veltas> No just the maths functions
<veltas> The BASIC was implemented in assembly, and some maths functions used the calculator stack. Well I think any numerical operations used it
<cmtptr> is that true? i thought a lot of vms are register machines
<veltas> It was a convoluted floating point representation
<veltas> I say 'VM' but really it was just a bunch of functions that operated on a stack containing numbers
<cheater> ok
<veltas> Page 190 is the start of the table of operations that the internal stack-based calculator supports
<veltas> Like 'exchange' is the SWAP
Vedran has quit [Read error: Connection reset by peer]
<veltas> stack-based VMs are often found in small systems just to save space
Vedran has joined #forth
gravicappa has quit [Ping timeout: 272 seconds]
Vedran has quit [Read error: Connection reset by peer]
Vedran has joined #forth
X-Scale` has joined #forth
iyzsong- has joined #forth
X-Scale has quit [Ping timeout: 256 seconds]
iyzsong has quit [Ping timeout: 256 seconds]
iyzsong- is now known as iyzsong
X-Scale` is now known as X-Scale
Vedran has quit [Ping timeout: 256 seconds]
Vedran has joined #forth
dave0 has joined #forth
<cheater> veltas: save space compared to what?
<MrMobius> a register based system for example
xek has quit [Ping timeout: 265 seconds]
<cheater> what would the difference be? sorry
<cheater> why does a register based impl not save space like a stack based one does?
<MrMobius> depends on the system but in general, a register based system has to have some way of specifiying source and destination
<MrMobius> while in a stack based its always stack relative so there is less information to encode
inode has quit [Quit: ]