00:00:00 --- log: started forth/15.05.21 00:09:50 --- quit: atommann (Ping timeout: 252 seconds) 00:31:53 --- nick: darkf_ -> darkf 00:48:36 --- quit: bjorkintosh (Ping timeout: 256 seconds) 00:52:07 --- join: atommann (~atommann@58.251.2.94) joined #forth 00:52:56 --- join: bjorkintosh (~bjork@ip68-13-224-81.ok.ok.cox.net) joined #forth 00:55:27 --- quit: proteusguy (Remote host closed the connection) 01:27:44 --- quit: atommann (Ping timeout: 244 seconds) 01:29:10 --- join: atommann (~atommann@58.251.2.94) joined #forth 01:59:53 --- join: mtsd (~mtsd@h-79-136-49-171.na.cust.bahnhof.se) joined #forth 02:21:51 --- quit: atommann (Ping timeout: 245 seconds) 02:24:39 --- join: nighty^ (~nighty@hokuriku.rural-networks.com) joined #forth 02:28:06 --- quit: regreg (Remote host closed the connection) 02:46:00 --- join: cataska (uid12717@gateway/web/irccloud.com/x-yjmngplgfqppfbiz) joined #forth 03:18:15 --- join: GeDaMo (~GeDaMo@dyn-62-56-76-198.dslaccess.co.uk) joined #forth 03:22:44 --- quit: dys (Ping timeout: 272 seconds) 03:50:18 --- join: regreg (~regreg@85.121.48.218) joined #forth 04:05:19 --- quit: mnemnion (Remote host closed the connection) 04:17:23 --- join: vsg1990 (~vsg1990@cpe-67-241-148-119.buffalo.res.rr.com) joined #forth 04:44:58 What are the tradeoffs between different threading styles? Direct threading makes the most sense intuitively, but the other day this asforth came around claiming subrouting threading was orders of magnitude faster than indirect threading. 04:45:53 --- quit: Vendan (Ping timeout: 265 seconds) 04:45:54 https://github.com/nfz/asforth 04:46:05 Converted amForth from indirect threaded code to subroutine threaded. This resulted in a speed up of 4 to 8 times faster than indirect threaded code. 04:48:55 --- join: Vendan (Vendan@2600:3c03::f03c:91ff:fe70:5b6b) joined #forth 04:49:16 Soubroutine threading involves generating native code so it removes the interpreter overhead and some CPUs can do clever stuff like reordering too 04:50:00 Indirect may be faster than direct threaded on e.g. modern x86 which have separate instruction / data caches 04:51:42 Hmm ... I doubt AVR does instruction reordering and suchlike but you'd still get an improvement due to removing the interpreter overhead 04:52:26 --- quit: cataska (Quit: Connection closed for inactivity) 04:55:23 Have you done any "pinhole" optimizations? 04:56:54 Chuck did some in colorForth, for example '+' would look at the previous thing compiled and if it was pushing a value to the stack, a literal add version was generated instead of the generic add top two stack items 04:58:01 Hmmm 04:59:55 So CALL/RET is faster than a chain of INC & JMP? 05:00:49 It depends a lot on the CPU 05:01:26 I haven't don any optimisations, I have not even written a proper Forth yet. I did some Forth-ish toy thing and I'm now reading asforth. 05:02:02 But yea, I was thinking you could eliminate needless stack bashing a lot of the time with some optimisations. 05:04:12 Especially in a "typed" forth where you can reason about stack effects. 05:04:29 Even for an indirect threaded Forth, I thought you might do a similar sort of thing 05:04:29 You could have a 'LIT+' word and replace LIT; 5; + with LIT+; 5 05:05:46 I guess I better ask in #avr, but why does asforth not work with a bootloader? 05:06:49 Don't know, presumably it replaces that functionality 05:07:41 I think it has to to with the interrupt table, which has to be in a specific location, but I have no clue how this works normally. 05:26:48 --- join: mnemnion (~mnemnion@c-24-23-168-196.hsd1.ca.comcast.net) joined #forth 06:39:33 --- join: cataska (uid12717@gateway/web/irccloud.com/x-kgovnexmngxwgbjz) joined #forth 06:50:42 --- quit: darkf (Quit: Leaving) 07:05:04 --- join: dys (~andreas@2a01:1e8:e100:8296:f66d:4ff:fec1:4421) joined #forth 07:06:25 --- join: TheLemonMan (~lemonboy@unaffiliated/thelemonman) joined #forth 07:06:32 --- quit: mtsd (Quit: leaving) 07:14:02 --- join: johnmark_ (~johnmark@24.1.223.32) joined #forth 07:14:32 --- nick: johnmark_ -> JohnMarkM 07:40:25 --- quit: mnemnion (Remote host closed the connection) 07:41:00 --- join: mnemnion (~mnemnion@c-24-23-168-196.hsd1.ca.comcast.net) joined #forth 07:45:11 --- quit: mnemnion (Ping timeout: 245 seconds) 07:57:51 --- join: mnemnion (~mnemnion@c-24-23-168-196.hsd1.ca.comcast.net) joined #forth 08:05:59 --- quit: TheLemonMan (Quit: "It's now safe to turn off your computer.") 09:35:02 --- join: ASau` (~user@176.4.57.3) joined #forth 09:39:11 --- quit: ASau (Ping timeout: 264 seconds) 09:47:31 --- join: kumul (~mool@adsl-64-237-238-168.prtc.net) joined #forth 10:22:51 --- nick: ASau` -> ASau 10:23:45 --- join: mark4 (~mark4@38.122.200.194) joined #forth 12:28:39 --- join: ionthas_ (~ionthas@95.85.1.209) joined #forth 12:28:56 --- quit: ionthas (Ping timeout: 265 seconds) 12:47:27 --- quit: kumul (Ping timeout: 250 seconds) 12:52:26 --- quit: cataska (Quit: Connection closed for inactivity) 12:59:04 --- quit: impomatic (Ping timeout: 264 seconds) 13:07:00 --- join: impomatic (~impomatic@31.185.153.201) joined #forth 13:07:03 --- quit: vsg1990 (Quit: Leaving) 13:15:36 --- quit: impomatic (Ping timeout: 252 seconds) 13:30:56 --- join: Zarutian (~Adium@168-110-22-46.fiber.hringdu.is) joined #forth 13:36:29 --- quit: nighty^ (Quit: Disappears in a puff of smoke) 13:43:22 --- join: nighty^ (~nighty@hokuriku.rural-networks.com) joined #forth 13:43:25 --- join: kumul (~mool@adsl-64-237-236-104.prtc.net) joined #forth 13:45:30 --- join: t4nk141 (0232cfea@gateway/web/freenode/ip.2.50.207.234) joined #forth 13:45:36 Hello 13:45:47 hey t4nk141 13:46:16 I'm reading http://www.forth-ev.de/repos/CF430G2553/Glossary.pdf 13:46:30 and finding ;C ;X ;Z 13:46:56 i do understand the meaning of stack comments, but the first part 'comma-char' is unclear for me 13:47:52 --- quit: kumul (Ping timeout: 252 seconds) 13:48:43 hey bluekelp 13:51:17 I was assuming (but still not sure) ;C for char/or/byte, ;U for unsigned, ;Z ;X is for pointer/or/xt execution token 14:00:26 --- join: impomatic (~impomatic@31.185.153.201) joined #forth 14:08:08 --- quit: t4nk141 (Ping timeout: 246 seconds) 14:10:40 --- quit: GeDaMo (Remote host closed the connection) 14:23:37 --- join: vsg1990 (~vsg1990@cpe-67-241-148-119.buffalo.res.rr.com) joined #forth 14:57:05 --- quit: joneshf-laptop (Read error: Connection reset by peer) 14:57:25 --- join: joneshf-laptop (~joneshf@98.208.35.89) joined #forth 15:15:10 --- quit: Zarutian (Quit: Leaving.) 15:35:22 --- quit: true-grue (Read error: Connection reset by peer) 17:46:11 --- quit: nighty^ (Quit: Disappears in a puff of smoke) 18:02:00 --- quit: vsg1990 (Quit: Leaving) 18:08:33 --- join: darkf (~darkf___@unaffiliated/darkf) joined #forth 18:37:43 --- quit: mark4 (Ping timeout: 240 seconds) 19:03:22 --- join: atommann (~atommann@58.251.2.94) joined #forth 19:15:26 --- join: mark4 (~mark4@cpe-68-203-183-182.tx.res.rr.com) joined #forth 19:49:35 --- join: xyh (~user@2001:250:3002:5550:6ea1:cc0f:bcb2:b187) joined #forth 19:49:48 --- join: proteusguy (~proteusgu@ppp-110-168-230-78.revip5.asianet.co.th) joined #forth 19:49:48 --- mode: ChanServ set +v proteusguy 20:04:13 --- join: cataska (uid12717@gateway/web/irccloud.com/x-fydatjqoumsrqzjd) joined #forth 20:22:24 http://www.reddit.com/r/Forth/comments/36u3ss/need_your_help_to_do_a_better_wiki_page_about/ 20:31:16 --- quit: proteusguy (Ping timeout: 272 seconds) 20:43:43 --- join: proteusguy (~proteusgu@ppp-110-168-230-78.revip5.asianet.co.th) joined #forth 20:43:43 --- mode: ChanServ set +v proteusguy 21:04:37 --- quit: JohnMarkM (Quit: Leaving) 21:17:54 --- join: true-grue (~grue@95-27-134-240.broadband.corbina.ru) joined #forth 21:35:14 --- quit: dys (Ping timeout: 272 seconds) 21:54:07 --- quit: ASau (Ping timeout: 256 seconds) 22:23:19 --- quit: mnemnion (Remote host closed the connection) 22:23:53 --- join: mnemnion (~mnemnion@2601:9:4300:438:b0cd:1f19:370a:5080) joined #forth 22:24:23 --- quit: atommann (Ping timeout: 265 seconds) 22:28:44 --- quit: mnemnion (Ping timeout: 265 seconds) 22:41:27 --- quit: xyh (Read error: Connection reset by peer) 23:13:13 --- join: atommann (~atommann@58.251.2.94) joined #forth 23:59:59 --- log: ended forth/15.05.21