00:00:00 --- log: started forth/19.04.14 00:15:34 --- quit: dddddd (Remote host closed the connection) 00:40:43 --- quit: proteusguy (Ping timeout: 255 seconds) 00:41:54 --- join: dddddd (~dddddd@unaffiliated/dddddd) joined #forth 02:03:04 --- quit: ashirase (Ping timeout: 255 seconds) 02:06:16 invert is a bitwise not 02:06:21 not is a logical not 02:07:11 I think seeing `not` as a bitwise invert is just a programmer bias 02:07:23 --- join: ashirase (~ashirase@modemcable098.166-22-96.mc.videotron.ca) joined #forth 02:31:10 i did: not is a bitwise not =0 is a logical not invert is removed 02:32:02 depends on how you define the logical data 02:32:26 "not" is way more common than "invert" 02:43:12 --- join: rdrop-exit (~markwilli@112.201.166.63) joined #forth 02:45:37 IMHO NOT is a bitwise operator, just like AND OR XOR etc... 02:46:13 It can be used as a logical operator if you feed it a well-formed flag, i.e. -1 or 0 02:46:47 As can AND OR etc... if you feed them well-formed flags 02:48:05 To convert an arbitrary value to a well-formed flag we also have 0= and 0<> 02:53:36 INVERT is just an awkward ANS Forth compromise 02:54:43 ofc invert and not should've been swapped 02:55:19 "invert the boolean truth value" is a valid statement 02:55:25 but yeah, 0= 02:57:10 Don't need INVERT, I don't think of 0= as inverting a truth value, I think of 0= and 0<> as converting arbitrary values to well-formed flags 03:00:09 i.e. 5 is not a truth value, but -1 and 0 are because they are well-formed flags 03:03:19 AND, OR, XOR, NOT can be used as both your bitwise and your logical operators. 03:03:55 With arbitray input they're bitwise, with well-formed flags they're "logical" 03:04:47 Avoids the ^ | & ~ && || ! situation of C 03:05:58 Notice that C has a bitwise XOR but no logical XOR. 03:10:24 In Forth when you create a new bitwise operator, you're automatically getting its logical counterpart for free. 03:12:11 e.g. : nand and not ; 03:12:48 : eqv xor not ; \ aka xnor 03:14:52 : cor ( x1 x2 -- ~x1|x2 ) swap not or ; \ aka logical implication 03:16:52 COR above is both a bitwise complement-then-or operation aka IMP and can be used as a logical implication operator 03:18:39 That's something that Forth-83 did right, switching to -1 and 0 as the well-formed flags. 03:19:52 SWMBO is calling, gotta go :) 03:19:59 --- quit: rdrop-exit (Quit: Lost terminal) 03:33:37 --- join: proteusguy (~proteusgu@202.58.193.235) joined #forth 03:33:37 --- mode: ChanServ set +v proteusguy 08:02:48 --- join: gravicappa (~gravicapp@h109-187-43-215.dyn.bashtel.ru) joined #forth 09:34:11 https://softwareengineering.stackexchange.com/questions/70454/can-memristors-change-programming-paradigms-in-what-way 09:34:11 How might the use of memristance (e.g. memristors, memcapacitors, meminductors, memdiodes, etc) througout circuits change the design of a forth system? 09:34:11 I'm not sure memristors can be called a fundamental passive components alongside resistors, capacitors, inductors, transformers, and gyrators but that doesn't make them any less interesting. 09:34:11 https://twitter.com/lowfatcomputing/status/1116817239397658624 <-- build a memristive circuit out of other passive components. 09:34:11 Zarutian: afaik STT-MRAM is a form of memristive memory https://www.memristor.org/reference/295/types-of-memristors 09:57:17 A forth running on a memristive circuit could do away with explicit @ and ! 09:57:17 That could shift the balance of power away from highly integrated cpus. 09:57:17 Event driven triggers could run for years without polling by accruing a memristance from a slow trickle. 11:30:24 --- join: reepca (~user@208.89.170.37) joined #forth 11:31:52 --- quit: gravicappa (Ping timeout: 255 seconds) 12:08:06 --- quit: X-Scale (Quit: HydraIRC -> http://www.hydrairc.com <- Would you like to know more?) 12:34:40 --- quit: dave0 (Quit: dave's not here) 16:28:43 --- quit: john_cephalopoda (Ping timeout: 268 seconds) 16:29:19 --- quit: dddddd (Read error: Connection reset by peer) 16:41:38 --- join: john_cephalopoda (~john@unaffiliated/john-cephalopoda/x-6407167) joined #forth 17:48:21 --- join: mark4 (~mark4@12.41.103.244) joined #forth 19:50:27 --- join: gravicappa (~gravicapp@h109-187-43-215.dyn.bashtel.ru) joined #forth 19:51:18 --- join: rdrop-exit (~markwilli@112.201.166.63) joined #forth 19:52:41 Greetings Forthlings :) 20:42:44 --- join: Keshl_ (~Purple@207.44.70.214.res-cmts.gld.ptd.net) joined #forth 20:44:42 --- quit: Keshl (Read error: Connection reset by peer) 21:32:10 greeting 21:33:06 Hi presiden 21:35:41 --- quit: mark4 (Ping timeout: 264 seconds) 21:36:18 --- join: mark4 (~mark4@12.41.103.244) joined #forth 23:57:34 --- join: dave0 (~dave0@108.060.dsl.syd.iprimus.net.au) joined #forth 23:59:45 --- join: dddddd (~dddddd@unaffiliated/dddddd) joined #forth 23:59:59 --- log: ended forth/19.04.14