dddddd has quit [Ping timeout: 264 seconds]
<MrMobius> everything?
<MrMobius> depends on what youre looking at
boru` has joined #forth
boru has quit [Disconnected by services]
boru` is now known as boru
<tabemann> hey guys
Rakko has joined #forth
dave0 has joined #forth
<tp> MrMobius, everything
<tp> hey tabemann
<tabemann> hey tp
<tp> tabemann, how goes things ?
<tp> tabemann, you wouldnt belIeve how hard it is to get CTS working under C in a stm32f103
<tp> if I was cool on C before, I hate it now
<tabemann> C abstracts the hardware away more than forth does
<tp> doing it in Forth is dead easy. easy to impliment, easy to instrument
<tabemann> forth, well, you take the address, and you @ or ! it
<tabemann> C, well, you could do that, but usually everything is hidden away in layers of structs
<tp> Ive decided that Forths mission is information hiding
<tp> Ive been working on the blackmagic probe source, written in C using libopencm3, and it's a nightmare to me
<tp> I think people who have to do that stuff for a living must hate their lives
<tp> I know the hardware, I know Forth well enough, but searching thru layers and layers of doxygen doc is frustrating
<tp> Embedded C should have been drowned at birth, it's the stillborn mutant spawn of the devil
<tp> system C is fine, I use it for pc software
<tp> it's probably one of the best choices there
<tabemann> the thing is that for embedded programming by necessity you are close to the hardware
<tabemann> and C acts to abstract that away
<tp> it sure does
<tp> deliberately, on purpose
<tp> it's just insane
<tp> USART2 becomes "USART" as tho there four other usarts dont exist on the chip
<tp> the abstraction is a gigantic foobar in itself, then you get the contortions and machinations the C system does to provide all that abstraction and the pages of useless comp generated documentation to provide 'apis' with scant info
<tp> Forth doesnt have to have any of that
<tp> Id have implemented CTS a day ago with Forth
<tabemann> in Forth it's look up the registers, copy them from the svd2forth or just write them directly, then plug in the values
<tabemann> it's all registers and bitfields
<tp> yep
<tp> as far as config goes
<tp> after that you can start on the hll stuff
<tabemann> but ultimately, if you need to, you just look at your original words, and everything's there as is
<tabemann> whereas with C you have to decipher layer upon layer of structs
<tp> I'm still not there getting CTS handshaking on a blackmagic probe
<tp> code, flash, try, repeat
<tp> it's about 20x longer than my Forth dev cycle
<tabemann> and there's like major abstracting things away
<tp> yeah
<tp> you have to dig thru #defines etc
<tp> i'll have to start using GDB to find out what the registers have
<tp> one guy on a forumn runs Forth as a RTOS task to debug his C programs!
<tabemann> which RTOS?
<tp> dunno, probably freertos
<tp> it's a good idea
<tabemann> going to the freertos site is weird
<tabemann> because on one hand their product seems über-commercial
<tp> it seems to be very popular in oss embedded
<tabemann> but on the other it's free software
<tp> it's pretty much M4 territory tho
<tp> too big for a F0
<tabemann> yeah, somehow I imagine it's hard to fit something like anything beyond a minimal IP stack on an F0 (of course, then, Contiki managed to fit an IPv6 stack on machines like the C64)
<tp> unlike the f4 the f0 has no ethernet peripheral
<tp> if someone wanted ethernet, theyd use a m3 or m4
<tp> the f0 isnt designed for any of that stuff
<tp> STMicro has hundreds of different model cortex-m, theyre all similar so the designer can just use the one that best suits
<tp> no need to make the f0 do stuff beyond it's design
kevin` has joined #forth
<tabemann> back
<MrMobius> heh I heard a podcast where they said you need at least 100k for a tcp stack :P
<MrMobius> guessing they werent on a c64
<tabemann> my bad
Rakko has quit [Quit: Leaving]
<MrMobius> I mean Im saying the guys on the podcast were not 100% accurate
<tabemann> Contiki provides multitasking and a built-in Internet Protocol Suite (TCP/IP stack), yet needs only about 10 kilobytes of random-access memory (RAM) and 30 kilobytes of read-only memory (ROM).[1] A full system, including a graphical user interface, needs about 30 kilobytes of RAM.[5]
<tp> I have a PIC chip here with tcp facilities, it makes a very slow webserver
<tabemann> okay, I should get to bed
<tabemann> (I'm falling asleep anyways)
<tabemann> g'night guys
<tp> tabemann, night
jsoft has joined #forth
kevin` has quit [Remote host closed the connection]
gravicappa has joined #forth
jedb has quit [Ping timeout: 260 seconds]
mtsd has joined #forth
jedb has joined #forth
xek has joined #forth
andrei-n has joined #forth
<andrei-n> Do Forth programmers typically write programs without using a debugger?
<tp> andrei-n, Forth is 'interactive' so it has it's own debugger built in
<tp> thats why I find C so hard, no interactivity
<andrei-n> But what if you use linked lists and so on? I mean things that are not easy to initialize?
<tp> I'm an embedded technician, to me debugging is all about hardware
<tp> I ahve no idea what a linked list is or where it would be useful. My devices have little ram and flash, they control things like a washing machine etc
<tp> I can easily use a buffer or an array in Forth tho
<andrei-n> Well, I'm writing a text editor. And a text editor on Linux, ed, uses linked lists to store lines. So I wanted to do the same...
<tp> thats programer stuff ;-) Im just a technician
<tp> there are two classes of Forth I think, one is for a PC, the other for small embedded and they are used quite differently
<tp> for instance, my editor is on the PC, it's called GVIM ;-)
jedb has quit [Ping timeout: 260 seconds]
gravicappa has quit [Ping timeout: 256 seconds]
gravicappa has joined #forth
gravicappa has quit [Ping timeout: 246 seconds]
gravicappa has joined #forth
jedb_ has joined #forth
jedb_ has quit [Quit: Leaving]
proteus-guy has quit [Ping timeout: 264 seconds]
jsoft has quit [Ping timeout: 256 seconds]
X-Scale has quit [Ping timeout: 260 seconds]
X-Scale has joined #forth
koisoke has quit [Ping timeout: 256 seconds]
koisoke has joined #forth
gravicappa has quit [Ping timeout: 264 seconds]
jedb has joined #forth
mtsd has quit [Quit: Leaving]
gravicappa has joined #forth
dddddd has joined #forth
dave0 has quit [Quit: dave's not here]
iyzsong has joined #forth
TCZ has joined #forth
iyzsong has quit [Quit: ZNC 1.8.0 - https://znc.in]
TCZ has quit [Quit: Leaving]
jedb_ has joined #forth
Lord_Nightmare has quit [Remote host closed the connection]
Lord_Nightmare2 has joined #forth
Lord_Nightmare2 is now known as Lord_Nightmare
jedb has quit [Ping timeout: 256 seconds]
Zarutian_HTC has quit [Ping timeout: 240 seconds]
tp has quit [Ping timeout: 260 seconds]
tp has joined #forth
jedb_ has quit [Ping timeout: 256 seconds]
Zarutian_HTC has joined #forth
Zarutian_HTC has quit [Ping timeout: 256 seconds]
andrei-n has quit [Quit: Leaving]
Zarutian_HTC has joined #forth
gravicappa has quit [Ping timeout: 240 seconds]
jimt[m] has quit [*.net *.split]
APic has quit [Ping timeout: 256 seconds]
APic has joined #forth
jimt[m] has joined #forth
dave0 has joined #forth
jimt[m] has quit [*.net *.split]
presiden has quit [*.net *.split]
klys has quit [*.net *.split]
siraben has quit [*.net *.split]
phadthai has quit [*.net *.split]
fiddlerwoaroof has quit [*.net *.split]
diginet2 has quit [*.net *.split]
veltas has quit [*.net *.split]
lonjil has quit [*.net *.split]
Chobbes has quit [*.net *.split]
jhei has quit [*.net *.split]
APic has quit [*.net *.split]
rpcope has quit [*.net *.split]
mjl has quit [*.net *.split]
catern has quit [*.net *.split]
arrdem has quit [*.net *.split]
proteusguy has quit [*.net *.split]
crc_ has quit [*.net *.split]
tabemann has quit [*.net *.split]
irsol has quit [*.net *.split]
dave0 has quit [*.net *.split]
koisoke has quit [*.net *.split]
boru has quit [*.net *.split]
rprimus has quit [*.net *.split]
cmtptr has quit [*.net *.split]
xek has quit [*.net *.split]
WilhelmVonWeiner has quit [*.net *.split]
Keshl_ has quit [*.net *.split]
C-Keen has quit [*.net *.split]
dzho has quit [*.net *.split]
pointfree has quit [*.net *.split]
Zarutian_HTC has quit [*.net *.split]
neuro_sys has quit [*.net *.split]
rann has quit [*.net *.split]
bluekelp has quit [*.net *.split]
djinni has quit [*.net *.split]
nonlinear has quit [*.net *.split]
clog has quit [*.net *.split]
cp- has quit [*.net *.split]
ornxka has quit [*.net *.split]
cantstanya has quit [*.net *.split]
tangentstorm has quit [*.net *.split]
jackdaniel has quit [*.net *.split]
pareidolia has quit [*.net *.split]
tolja has quit [*.net *.split]
crc has quit [*.net *.split]
crest has quit [*.net *.split]
guan has quit [*.net *.split]
ecraven has quit [*.net *.split]
jn__ has quit [*.net *.split]
heredoc has quit [*.net *.split]
tp has quit [*.net *.split]
Lord_Nightmare has quit [*.net *.split]
X-Scale has quit [*.net *.split]
Vedran has quit [*.net *.split]
yunfan has quit [*.net *.split]
patrickg has quit [*.net *.split]
ovf has quit [*.net *.split]
dddddd has quit [*.net *.split]
MrMobius has quit [*.net *.split]
remexre has quit [*.net *.split]
Kumool has quit [*.net *.split]
KipIngram has quit [*.net *.split]
ecraven has joined #forth
guan has joined #forth
C-Keen has joined #forth
rprimus has joined #forth
boru has joined #forth
koisoke has joined #forth
tp has joined #forth
dave0 has joined #forth
klys has joined #forth
crc has joined #forth
pareidolia has joined #forth
tolja has joined #forth
jackdaniel has joined #forth
irsol has joined #forth
presiden has joined #forth
tabemann has joined #forth
crc_ has joined #forth
proteusguy has joined #forth
arrdem has joined #forth
dzho has joined #forth
Keshl_ has joined #forth
WilhelmVonWeiner has joined #forth
jhei has joined #forth
bluekelp has joined #forth
crest has joined #forth
heredoc has joined #forth
jn__ has joined #forth
nonlinear has joined #forth
djinni has joined #forth
cmtptr has joined #forth
xek has joined #forth
Zarutian_HTC has joined #forth
neuro_sys has joined #forth
pointfree has joined #forth
catern has joined #forth
mjl has joined #forth
rpcope has joined #forth
APic has joined #forth
KipIngram has joined #forth
Kumool has joined #forth
remexre has joined #forth
MrMobius has joined #forth
dddddd has joined #forth
Chobbes has joined #forth
lonjil has joined #forth
veltas has joined #forth
phadthai has joined #forth
fiddlerwoaroof has joined #forth
diginet2 has joined #forth
_whitelogger has joined #forth
siraben has joined #forth
ovf has joined #forth
jimt[m] has joined #forth
Guest25670 is now known as tp
tp is now known as blannnn
blannnn has quit [Changing host]
blannnn has joined #forth
blannnn is now known as tp