WickedShell has quit [Remote host closed the connection]
proteus-guy has quit [Ping timeout: 258 seconds]
mtsd has joined #forth
proteus-guy has joined #forth
gravicappa has quit [Ping timeout: 258 seconds]
gravicappa has joined #forth
Zarutian_HTC1 has quit [Read error: Connection reset by peer]
Zarutian_HTC has joined #forth
xek has joined #forth
dave0 has joined #forth
kori has joined #forth
jsoft has quit [Ping timeout: 256 seconds]
kori has quit [Ping timeout: 260 seconds]
mtsd has quit [Quit: Leaving]
Zarutian_HTC has quit [Read error: Connection reset by peer]
Zarutian_HTC has joined #forth
Zarutian_HTC has quit [Ping timeout: 264 seconds]
phadthai has quit [Remote host closed the connection]
dave0 has quit [Quit: dave's not here]
Zarutian_HTC has joined #forth
lisbeths has left #forth ["ERC (IRC client for Emacs 26.3)"]
phadthai has joined #forth
kori has joined #forth
lisbeths has joined #forth
<lisbeths>
I am working on my tokenized forth in c still. I am not ready to move it over into asm.
<APic>
A big Problem of Forths is Stack Overflow 😉
<lisbeths>
My three biggest problems: c doesn't want to work in words of memory, it is hard to make a syntax where every feature of forth is one letter, and also the runtime to c on my system is 16 kilobytes but the rest of my code is only 360 bytes
<APic>
Good Luck
<lisbeths>
I wish there was something a bit more minimal than c in order to put my forth in. I have considered fortran which might be faster but it isn't any smaller. I want something that is portable.
<lisbeths>
The way I am handling my stack is that it is a character array and if I pop an int I pop sizeof(int) bytes and if I push a void* I push sizeof(void*) bytes. Although this means I can not use swap.
<APic>
☹
<APic>
Probably You need a union?
<lisbeths>
I have been told unions are slower under the hood.
<APic>
You cannot say that generally. Just get Your Project to work, then profile, then optimize